ext4 (fourth extended filesystem) is a journaling file system for Linux, developed as the successor to ext3.

learn more… | top users | synonyms

0
votes
2answers
15 views

Reinstalling Debian: ext4 partition is not primary

I previously had a grub bootloader with crunchbang and win7. Since then I reinstalled win7 which now boots it automatically. I stuck in a Debian install CD that brings me to the stage in the above ...
0
votes
1answer
57 views

7-Zip slows down over time on Ubuntu but not Windows

I have a directory called Pages of 2.2 million HTML files (about 80 GB) on an Ubuntu server. I compressed it with 7-Zip using this command: 7z a -mx=9 Pages.7z Pages It took around 5-6 hours to ...
2
votes
1answer
43 views

Mark an ext4 filesystem as read-only

I want to create an ext4 filesystem, and add some files to it, then "freeze" it so it is henceforth read-only. I know it's possible to use the ro mount option. But is there some way to indicate in ...
2
votes
1answer
43 views

What should I consider when choosing a filesystem for a personal disk archive / cold storage?

I have a few TB of media files that never changes and that I need to store safely. Since it's a personal business it's overkill to set up a disk server et cetera, so I use the simple solution of ...
2
votes
4answers
88 views

any large inode size benefits? (ext4)

From some foggy memories I thought I would "improve" the default settings when creating a Linux partition and increased the inode size to 1024, and also turned on -O bigalloc ("This ext4 feature ...
3
votes
1answer
83 views

ext4: Can a clean filesystem need journal recovery?

I always thought "clean" is a synonym of does not need journal recovery. However that does not seem to be the case $ sudo file -s /dev/sdc4 /dev/sdc4: Linux rev 1.0 ext4 filesystem data, ...
0
votes
0answers
32 views

e2fsck repairing an ext4 file system - how to enforce ext4 features?

I have a huge (1.5 TB) corrupted disk with an ext4 fs. The master superblock (and journal) are corrupt, so I am trying to repair it using e2fsck -f -b 7962624 -y /dev/sdb1 Now, the first thing ...
2
votes
1answer
42 views

do I need fsck.ext4 before mounting a filesystem?

I have a script that mounts /dev/sdc1 to /home. I do not know the state of /dev/sdc1 in advance, it could possibly be "dirty". Do I need to run fsck.ext4 before mounting the filesystem, or has mount ...
1
vote
1answer
33 views

Help about CentOS 7 apps & Driver [closed]

I'm using pc for several years but never tried Linux so I'm quite noob in this field. I'm using Autodesk maya, Nuke & will learn houdini very soon. I found that linux works faster for this apps so ...
17
votes
2answers
470 views

Why are these files in an ext4 volume fragmented?

I have a 900GB ext4 partition on a (magnetic) hard drive that has no defects and no bad sectors. The partition is completely empty except for an empty lost+found directory. The partition was formatted ...
1
vote
2answers
62 views

ext4 file system tuning for storage partition

I searched the Internet, but I was not able to find a satisfying answer to my problem. The Problem I'm encountering currently is, that I'm transitioning my data from a NTFS Partition to a ext4 ...
1
vote
0answers
19 views

Mapping a physical sector to a filename

I just finished using ddrescue to recover the contents of a failing hard drive. It was able to recover everything but two sectors. How do I figure out which files (if any) occupied those sectors? ...
0
votes
0answers
61 views

Repeated Ext4-fs error with comm psad: invalid block. Does it mean the SSD is dying?

Configuration : Debian Jessie with SSD. /dev/sda1 is root filesystem, /dev/sda6 is home filesystem. Errors occurs only on /dev/sda1. For the third time, I've got software errors because the root ...
0
votes
2answers
37 views

Precaching the list of files of the filesystem

I was wondering where and in what form a list of files and directories is stored on the ext4 filesystem. The problem is that whenever I try to access a certain directory for the first time since boot ...
0
votes
1answer
75 views

Lvreduce online on RHEL 6 or centos 6 with ext4 file systems

Is it possible to reduce a mounting lv safely at RHEL6/CentOS6 with ext4 file system? If it is, how can I do that?
0
votes
1answer
16 views

testdisk partition recovery

Looking to recover data/partition index from this disk.. ⚡ root@jg  ~  ls /dev/disk/by-label lrwxrwxrwx. 1 root root 10 May 4 21:06 4tb1 -> ../../sde1 drwxr-xr-x. 7 root root 140 May 4 21:06 .. ...
2
votes
0answers
42 views

ext4 - An entire directory disappeared?

Okay, this has me totally stumped. Background: I'm working on a cryptanalysis homework, trying to break a vigenere cipher with a 26 character key (a shuffled alphabet). Even though there are some 403 ...
0
votes
0answers
42 views

can I boot ext4 usb stick with xubuntu on from a Mac laptop?

is there a way to boot my ext4 formatted "xubuntu" USB memory stick from a Mac laptop? The laptop can identify FAT32 usb memory sticks with ubuntu at boot time, but it cannot identify mine, which is ...
1
vote
1answer
40 views

Backup Files on ext4 to external NTFS drive

Would there be any problems in copying files on my Linux system with ext4 filesystem to an external drive that is formatted in NTFS? I'm reinstalling my OS and intend to copy these files back to my ...
2
votes
4answers
266 views

Prevent file corruption

I have an application that write files into a specific directory at the FS. This system, under no circumstances, can lose a single written file. When I have some problem at the HD, like badblocks or ...
0
votes
0answers
29 views

Difference between fsarchiver and dump

What is the difference between dump and fsarchiver? Are there features in dump which are not covered by fsarchiver? Can both backup to tape storage for example?
1
vote
0answers
51 views

ETX4-fs error on startup

Hi everybody, today I run dmesg and at the bottom I found some error lines about the device mmcblk0p2. Everything works fine even with those errors but I'd like to understand the problem. I've ...
1
vote
1answer
165 views

ext4 disk space not reclaimed after deleting files

I recently got a "device full" warning for a 2 Tb external ext4 drive. I deleted a bunch of files, about 90-100 Gb of old system backups, and since I did not want to empty all trash, I deleted the ...
2
votes
1answer
63 views

How to use the new Ext4 Inline Data feature ? (storing data directly in the inode)

If I read the Ext4 documentation correctly, starting from Linux 3.8 it should be possible to store data directly in the inode in the vase of a very small file. I was expecting such a file to have a ...
1
vote
1answer
32 views

Is it possible to store data directly inside an inode on a Unix / Linux filesystem?

According to this Red Hat bug report (which I am trying to reproduce) it looks like the Netapp filer is able to store data directly in the inode, in case of very small files. Considering I had a FS ...
1
vote
1answer
40 views

Can't write on recently created EXT4 partition

On a new external hard drive (Intenso 05-1204-18A), I made (with GParted) two partitions : Disk /dev/sdc: 931.5 GiB, 1000204883968 bytes, 1953525164 sectors Units: sectors of 1 * 512 = 512 bytes ...
0
votes
1answer
32 views

writing to ext4, 8GB partition vs 512MB partition

I have a question which is slightly programming related, but it mostly relates to how ext4 works. I have a program which writes 128MB to a file with changing random aligned offsets. I write 256KB ...
1
vote
3answers
71 views

Deleting an Impossible File

A picture is worth a thousand words, so I want to start with that: From the image you can see that I have a ~500GB hard drive. The filesystem is ext4. On this 500GB hard drive, I have a file that ...
3
votes
0answers
64 views

Problems with file system

I created a partition with EXT4 file system and when I'm writing in this partition frequently the Kernel return the following error: Jan 01 01:17:54 infobuffer360 kernel: r7:c0561280 Jan 01 01:17:54 ...
0
votes
1answer
40 views

Accidentally ran mkfs.vfat on my backup drive [duplicate]

I ran mkfs.vfat /dev/sdb (whole device, not just one partition) on my backup drive, ironic, right. Is there any way to recover my files.
3
votes
3answers
55 views

Can I mount half an ext4 partition

I had a hardware raid array, a disk failed during migration and the controller flipped out and is unable to recover. I've written a small python script which has correctly mapped out the state of the ...
0
votes
0answers
53 views

find the cause of file corruption when copying files to a network share on an Ubuntu machine

I am copying files from my SD card to my Ubuntu server via Windows 7 using a network drive. The problem is that sometimes, 2 files out of 150, are corrupted during transfer. See here 2 example files ...
0
votes
0answers
64 views

Debian..Can't format and mount external HDD

I have been trying to format my 640GB external Hard Drive in command-line and can't seem to get it working. I have done the following in order: sudo fdisk /dev/sda (Deleted any partitions, created ...
0
votes
1answer
109 views

du and ls commands reporting wrong directory size

I'm used to the du command. I often use it with -h option. I report the result in a text file which I use to track space consumers. But I was wondered today to see a directory being reported as using ...
2
votes
0answers
126 views

Understanding ext4/jbd2 transactions

I'm trying to debug a bit of trouble I'm having with I/O latency on a system using ext4, but I'm a bit stumped in that I don't understand its journalling as well as I'd like to. What I'm wondering in ...
0
votes
1answer
35 views

Smallest file block size (ext 3, 4)

I'm curious, what is the smallest size a file can really be on Linux? (Assuming Ext3 fs, so why not ext4 fs as well). Sure you can write a file that only contains one byte, or maybe even less; but ...
1
vote
0answers
93 views

Red Hat Enterprise Linux 6.5 remounts root filesystem read-only after hibernating

I have a Lenovo ThinkPad T430 running Red Hat Enterprise Linux 6.5, kernel 2.6.32-431.30.1.el6.x86_64, and my filesystem structure consists of a master LUKS partition holding two logical volumes, one ...
0
votes
2answers
155 views

Which file system is better for Ceph?

I've read the Ceph OS recommendations document, but still I have a question. Which file system is better for Ceph? XFS, ext4, or something else?
3
votes
0answers
50 views

Have I destroyed data on drive?

I stupidly ran the following command on an external ext4 USB disk, typing /dev/sdb instead of /dev/sda which was the new disk I was setting up: dd if=/dev/zero of=/dev/sda bs=512 count=100 These ...
0
votes
0answers
57 views

Restoring data from NTFS formatted pre-ext4 partition

MS recovery just formatted my 1TB Backup disk to NTFS which was ext4 before. It was an MBR disk before but now it's a GPT one. Now I'm on SystemResqueCD and can check with the testdisk. What is the ...
29
votes
3answers
1k views

Why doesn't my exactly 100 MiB partition at 1 KiB block size have the corresponding available blocks/space?

I have a very high density virtualized environment with containers, so I'm trying to make each container really small. "Really small" means 87 MB on base Ubuntu 14.04 (Trusty Tahr) without ...
0
votes
0answers
23 views

Recover Data from EXT2 (previously EXT4) partition [duplicate]

When trying to repair "group descriptors" on my EXT4 2TB drive, I have made a mistake. Instead of use this command: e2fsck -b block_number /dev/xxx (using the block number of a backup superblock) ...
2
votes
3answers
294 views

Why creating partitions in linux is good solution for easy recovery?

I have heard if you don't make partitins in linux it is so hard to recovery your data. And if you make some partitions it would be easy to recovery. for example if you make /par1 /part2 /part3 it is ...
1
vote
2answers
108 views

15 GB of unaccounted-for space in filesystem

[nathanb /mnt/work] sudo du -hs . 23G . [nathanb /mnt/work] df -h . Filesystem Size Used Avail Use% Mounted on /dev/sdb1 40G 38G 6.4M 100% /mnt/work Where is the other 15 GB? ...
2
votes
5answers
139 views

Why can't I delete my files?

I copied some files from a data DVD to /home/emma (ext4), and all of the files are read only. This is what all of the files are like: emma@emma-W54-55SU1-SUW:~$ stat cd/Drivers/Drivers_List.rtf ...
1
vote
1answer
143 views

ext4 corruption found in superblock, but filesystem can be mounted

After a crash, I've got an Ext4 filesystem (on an LVM LV) that gives the following error when running fsck.ext4 -nf: e2fsck 1.42.12 (29-Aug-2014) Corruption found in superblock. (blocks_count = 0). ...
1
vote
1answer
44 views

What is this data that keeps reappearing after partition delete + new partition creation?

I deleted a big extended partition containing an ntfs logical partition with high percentage of occupied space and from that extended partition I made a new, smaller extended part. In it I ...
1
vote
1answer
155 views

Recovering from bad superblock on external drive

read a few similar questions/posts and tried the solutions, still stuck. My scenario is simple, external ext4 drive was powered off (via cat) while operating, and failed to mount on boot. As I dug ...
1
vote
1answer
87 views

Write to ext4 filesystem hang while lazyinit in background

I am running SUSE 12 on a node that has 6TB disks attached with EXT4 filesystem initialized. Lazyinit in the background takes atleast 24 hrs to complete. Write performance to the disk is significantly ...
1
vote
1answer
203 views

“First orphan inode” in tune2fs output

I ran tune2fs -l /dev/sda on my production server today and got the following output: tune2fs 1.42.9 (4-Feb-2014) Filesystem volume name: <none> Last mounted on: / Filesystem UUID: ...