The ext4 or fourth extended filesystem is a journaling file system for linux/*nix developed as the successor to ext3.

learn more… | top users | synonyms

4
votes
1answer
2k views

Linux ext4 “extents” attribute

I noticed the e attribute on several files/directories on Linux machines installed on ext4 filesystems. [kelly@p2820887.pubip.serverbeach.com ~]$ lsattr -d /bin -------------e- /bin According to ...
1
vote
0answers
818 views

ext4 loopback device, Buffer I/O Error on reboot

I am trying to mount a loopback device on my ext4 formatted ssd drive. I get these errors when I reboot on Linux kernel 2.6.38.8 Buffer I/O error on device loop1, logical block 0 Here is what I do: ...
6
votes
2answers
17k views

ext4 file-system max inode limit - can anyone please explain?

Recently we had a problem where one of the ext4 file-systems seemed unable to handle very large number of files, more than 6mln in this case, in spite of having enough space. Is it 6mln the max ...
-3
votes
1answer
651 views

12.04 ext4 - cannot create regular file/No space left - with a lot of space and inodes

This seems similar: EXT4 "No space left on device (28)" incorrect but there is no explanation I created an ext4 filesystem on a RAID 1 array with: mke2fs -t ext4 -T small /dev/md0 ...
3
votes
3answers
917 views

different uuid from blkid and tune2fs

I copied (dd) a partition from /dev/sdb3 (GPT partition) to /dev/vg0/lv0_sys (lvm2 lv) Sure to be required to adjust the uuid on one of them, I found that blkid shows me two different uuid's for the ...
1
vote
3answers
916 views

Can ext4 fs be completely unrecoverable broken due to power loss while disk is writing?

Suppose you are doing a full speed write to disk in a linux pc box with ssd or mechanical disk (OS also on the same disk, there is no battery/UPS): cat /dev/urandom > omg.txt If the power losses ...
1
vote
0answers
512 views

Heavy disk write on a Debian VPS gives “ata1: lost interrupt (Status 0x50)”

I have a new Debian VPS that appears to fail almost every time I run a heavy disk write test on ext4 filesystem. The filesystem goes to read-only mode and "ata1: lost interrupt (Status 0x50)" is ...
1
vote
2answers
1k views

CentOS: Set number of inodes in ext4 on Install

During installation of CentOS 6 I would like to set the number of inodes created on the ext4 partitions. Is there a way to do this? I have been unable to locate a solution. Example use case: I know ...
3
votes
5answers
5k views

EXT4 “No space left on device (28)” incorrect

I have been through the other questions/answers regarding inode usage, mounting issues and others but none of those questions seem to apply... df -h /dev/sdd1 931G 100G 785G 12% ...
1
vote
2answers
926 views

Limit total size of a directory in linux

I have a service daemon that creates a lot of temp files. Recently my server died, because a malicious user managed to flood /tmp and fill up the disk. I have taken some measures to actively clean up ...
2
votes
2answers
279 views

Does dm-crypt support journaling filesystem transactional guarantees?

I'm considering using ext4 on encrypted LVM (which uses LUKS and dm-crypt). Will the transactional guarantees in ext4's journaling be preserved? Bonus: where may I find authoritative information ...
1
vote
2answers
806 views

bind (hardlink) one directory to many places

I need to "bind" one directory to many chrooted places. I know that I can do "mount -o bind", but this requires special processing on startup each time (run the mount). Is there a way to do it on the ...
2
votes
1answer
3k views

MySQL is VERY slow on my ext4 file system [closed]

I have a normal hardware, I just installed Ubuntu 11.04 anew. But something's completely wrong. PHPunit tests are REALLY slow. I have no idea what's wrong. With ext3 all was normal. Thanks.
1
vote
0answers
378 views

e2fsck miserably aborts: memory allocation failed on 64 bit OS and scratch directory

After an unsuccessful Virtualbox VDI drive resize following the instructions here, the primary ext4 partition became of unknown type. I fixed this with testdisk and then boot-repair, which made it be ...
3
votes
3answers
2k views

RAID6 mdraid -> LVM -> EXT4 root with GRUB2?

2012-03-31 Debian Wheezy daily build in VirtualBox 4.1.2, 6 disk devices. My steps to reproduce so far: Setup one partition, using the entire disk, as a physical volume for RAID, per disk Setup a ...
1
vote
2answers
386 views

Relabeling of filesystems (SELinux) fails

After compiling the policy modules and re-compiling my core packages (Gentoo 32bit) I wanted to relabel the filesystems (via rlpkg -a -r) and packages but I get these error messages: Relabeling ...
0
votes
1answer
165 views

Trade reliability for speed in a slow filesystem

On my box running Ubuntu Server 11.10 I have a rather slow soft RAID6 array on four USB sticks (and no other means for persistent storage). I want a faster filesystem on that box. I'm OK if I'd lose ...
0
votes
2answers
1k views

ext4 filesystem broken

I have a synology nas with an internal hdd (a 2TB wd ears). This drive has SMART errors. I took the drive and build it in a external USB case. Then i booted Linux mint and tried to mount the data ...
5
votes
2answers
1k views

PERC 6/i | ext4 | raid5 | 4 disks - improve write performance

I am running several fileservers using this controller, filesystem and disk setup. All of them are suffering from poor write performance, once the 256MB BBU Write Cache is full i get really high ...
0
votes
3answers
723 views

How many subdirectories does the XFS filesystem support within a given directory?

EXT3 supports 32,000 subdirectories. EXT4 supports 64,000... I've read about people having millions of subdirectories on the XFS filesystem, but can't find an exact value referenced anywhere. How ...
10
votes
10answers
839 views

How does the number of subdirectories impact drive read / write performance on Linux?

I've got an EXT3 formatted drive on a Linux CentOS server. This is a web app data drive and contains a directory for every user account ( there are 25,000 users ). Each folder contains files that ...
0
votes
1answer
152 views

Problems with degraded RAID arrays

My Ubuntu backup server was recently upgraded in storage space to a RAID 10 array... now it consists of 8T of raw drive space which was before 2T of space. But I have been having trouble when it ...
17
votes
4answers
3k views

“safe” ext4 configuration for systems running unattended

I have a system running linux that must run unattended for long periods of time. The system uses industrial CF card for storage. Most of the time there are no writes to flash, although every now and ...
1
vote
1answer
549 views

Iozone record sizes and real-life purpose

I am puzzled about Iozone record sizes. My questions are: how to find out what record size my application uses?; what is the correlation between Iozone record size and the filesystem Block Size?; ...
1
vote
1answer
1k views

EXT3 vs EXT4 vs XFS

Recently I read a lot about "new" file systems. I checked some benchmarks that show MySQL working faster on EXT4 or XFS (and some other FS). I also "found" that XFS and EXT4 are included in CentOS ...
7
votes
1answer
2k views

Whats “Birth” field in stat command output

I'm using Fedora-16 with ext4.Suddenly with stat command I can see something called "Birth". # stat history_file1.txt File: `history_file1.txt' Size: 8944 Blocks: 24 IO ...
1
vote
1answer
412 views

On-line backing up Xen virtual machines running on Ext4fs

What methods exist for backing up Xen virtual machine contents? I have some virtual servers running on LVM / Ext4 disks. Preferably a method which can be directly executed over SSH / network ...
2
votes
1answer
1k views

Proper way to remap a partition to a new disk?

I currently run a webserver running Debian. I have a 1GB disk with a single ext4 partition mapped to / and an 8GB disk with a single ext4 partition mapped to /var/www. The 1GB disk is at 70% full ...
12
votes
3answers
4k views

max files per directory in ext4

I manage an application that contains a filestore in which all the files are stored with the filenames equal to their md5 sums. All files are stored in one directory. Currently there are thousands, ...
2
votes
1answer
1k views

Turn off write barriers on ext4 whiche FS is mounted

I am doing some IO intensive DB imports that run for several days now and the IO performance has dropped tremendously over times. The DB data files (log files) are on an ext4 formatted logical volume ...
3
votes
2answers
4k views

ext4 filesystem corruption — maybe hardware error?

I'm getting these errors in dmesg after about half an hour after I turn on the computer: [ 1355.677957] EXT4-fs error (device sda2): htree_dirblock_to_tree: inode #1318420: (comm updatedb.mlocat) ...
2
votes
1answer
2k views

Setting up quotas on 64-bit RHEL6 OS with ext4 filesystem

Setting up a new 64 bit RHEL 6 server with ext4 FS. Have only worked with ext3 and 32bit RHEL5 before. No matter what I try, I cannot get it to work. Current settings for mount (from "mount" ...
2
votes
4answers
1k views

Store and backup 200 million small files

My disk are 10x1TB SAS 7200 RPM in a RAID 10 with a MegaRaid 9260 hardware controller with cache/BBU. This results in a 4.6TB RAID 10 volume. hdparm -t (when device is empty) results in 500MB/s. RAID ...
5
votes
1answer
1k views

5.5GB written daily to 1.2GB root volume - 4 times previous levels

Problem: I recently revamped one of my servers, it was tested prior to use, and functions well, however, a few days ago, I noticed approximately 4 times the usual amount of writes to the root volume. ...
0
votes
2answers
3k views

Not able to mount ext4 file-system in Debian Lenny

I am trying to mount ext4 EBS volume in to my EC2 instance in Debian OS, whenever I try to mount I get the following error: mount: unknown filesystem type 'ext4' I googled around and found a ...
4
votes
2answers
2k views

Any way to recover ext4 filesystems from a deleted LVM logical volume?

The other day I had a proper brain fart moment while expanding a disk on a Linux guest under Vmware. I stretched the Vmware disk file to the desired size and then I did what I usually do on Linux ...
1
vote
2answers
528 views

Fedora: I deleted a log file 32GB big and could not confirm it through “df” command

I am having a disk space problem on the root partition, so I went through unimportant logs and deleted what could be deleted. One of the files "mysql-slow.log" was 32GB big, but when I deleted it, it ...
1
vote
1answer
537 views

Debian Squeeze using ext4

Does anyone know of any major issues with running debian squeeze using ext4 as the filesystem rather than ext3? Any known performance or corruption problems? I need support for files bigger than ...
5
votes
3answers
2k views

Convert a software raid volume from ext3 to ext4 (or ext2)?

I have an mdadm created software raid volume in my ubuntu linux 11 machine. It is NOT the boot drive. It is a software raid 5 configuration made from 3 large sata drives. When I created it ...
0
votes
3answers
4k views

Convert ext4 partition to NTFS

Is there a tool or command to achieve it? I did some search around here I didn’t find the answer. Is that possible? I must mention that my ext4 drive that I want to convert have data so it must just ...
5
votes
3answers
6k views

df reports wrong free space for an Ext4 partition

My system is CentOS 6 x86_64 with root partition formatted as ext4. df reports around 3Gb as used space: Filesystem 1K-blocks Used Available Use% Mounted on /dev/md1 ...
-1
votes
1answer
188 views

Help, ive just corrupted my ext4 partition

After troubleshooting problems with my mdadm config and kernel settings for about a week now i got careless and left my data drives plugged in after a successful boot test. i was attempting to change ...
0
votes
2answers
286 views

Convert Ext3 to Ext4 Filesystem failed because I cannot umount drive

I want to convert my Filesystem from Ext3 to Ext4 because of 32000 directory limit of Ext3. But when I want to umount the drive I get this error: umount: /: device is busy umount: /: device is busy ...
5
votes
1answer
229 views

upgrading ext3 fs on ubuntu 8.04

so we are stuck with this closed source system that keeps on adding folders to one directory, and it's going to hit the 32k limit soon because it's ext3. and that folder is expected to have +100k ...
0
votes
1answer
676 views

Mounting ext4 in CentOS5.6 on EC2

I've been unable to successfully mount an ext4 formatted drive to any of my EC2 instances. All are running CentOS 5.6 (32 and 64-bit mix) all successfully yum upgraded from one of public RightScale ...
1
vote
1answer
588 views

qcow2: Safe to use guestfish zerofree option on ext4 on top of LVM?

Is it safe to use guestfish's zerofree option on ext4 which is inside an LVM volume? If not, what is the best approach - rebooting (inside the VM) into recovery mode and using the regular zerofree ...
1
vote
1answer
327 views

sharing an ext3/ext4 partition on external drive

is there a way of sharing an ext3/ext4 formatted partition on an external USB drive between different users (uids) on different Linux machines without creating a group for this purpose, setting the ...
1
vote
1answer
196 views

ext4 filesystem damaged with strange “Not a directory” messages?

It's strange but after filesystem damage some folders/directories are now shown as files instead of directories ? I would be very grateful if someone was able to help me to correct the filesystem ...
0
votes
1answer
270 views

Appropriate Linux (ubuntu 10.04) FS type for rapid FS management many small files and directories [duplicate]

Possible Duplicate: Linux's best filesystem to work with 10000's of files without overloading the system I/O I have an 240gb image store of approximately 1.5 million entries. About ...
3
votes
3answers
2k views

how do I convert a live root ext3 filesystem to ext4?

I have a root filesystem thats live and mounted and I'd like to convert it to ext4. All the howto's i've read deal with booting off a live CD but thats not an option.