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

0
votes
1answer
1k views

EXT4-fs error (device loop0): ext4_lookup: deleted inode referenced:

EXT4-fs error (device loop0): ext4_lookup: deleted inode referenced: Is this a serious issue? Just noticed it after doing a 15GB CPanel Account Restore.
5
votes
2answers
1k views

e2fsck extremely slow, although enough memory exists

I've got this external USB-Disk: kaefert@blechmobil:~$ lsusb -s 2:3 Bus 002 Device 003: ID 0bc2:3320 Seagate RSS LLC As can be seen in this dmesg output, there is some problem that prevents that ...
8
votes
1answer
529 views

How do you create large, growable, shared filesystems on Linux at AWS?

What are acceptable/reasonable/best ways to provide large, growable, shared storage at AWS, exposed as a single filesystem? We're currently making 1TB EBS volumes ~biweekly and NFS exporting with ...
1
vote
1answer
1k views

Can I lvreduce after lvextend without losing the ext4 partition inside it?

In a botched attempt to move my root partition from one disk to another I have done the following: added new disk partitioned it with parted (part #3 is now almost totally filling the disk) ...
5
votes
2answers
1k views

Disk (EXT4) suddenly empty without any sign of why

I have a Ubuntu 10.04 server with several disks in it. The disks are setup with a union filesystem, which presents them all as one logical /home. A few days ago, one of the disks appears to have ...
0
votes
2answers
1k views

ext4: error loading journal [closed]

I have an external hard drive with two partitions: A small FAT32 which is mostly empty and works fine and a large ext4 with tons of data, most of which isn't backed up. The ext4 is visible, but can't ...
1
vote
1answer
95 views

File system prefer to write low LBA first?

Maybe the title is confusing, but let me explain a little... Our mysql servers (on xen virtual machine) sometimes generate huge tmp files on disk. So we need a big tmpdir to store them. And we decide ...
1
vote
2answers
198 views

Optimal directory structure for keeping millions of files on an ext4 system

I need to keep millions of files on an ext4 system. I understand that having a structure with multiple subdirectories is the general accepted solution. I wonder what would be the optimal approach in ...
0
votes
1answer
808 views

Solaris support for ext4/ext3/btrfs

Does anyone know if Solaris 11 (Sparc version) supports mounting ext3/ext4 or even better Btrfs volumes ? Most of the topics I find on the web are quite outdated (2006/2007) and reference old ...
1
vote
2answers
1k views

Resize2fs at 81h and counting

Setup: 12x 1TB drives in a RAID6 (MDADM) crypt-setup running ontop of MDADM LVM running on the crypted drives EXT4 on the LVM Background: I added a new drive to the RAID (increasing from 11 to 12 ...
16
votes
6answers
2k views

Which filesystem for large LVM of disks (8 TB)?

I have a Linux server with many 2 TB disks, all currently in a LVM resulting in about 10 TB of space. I use all this space on an ext4 partition, and currently have about 8,8 TB of data. Problem is, I ...
0
votes
1answer
238 views

running mke2fs with limited memory

I'm working on a computer with very little memory (128MB) - for my application I need to format large drives (4TB) I'm able to format greater than 2TB disks, up to about 2.5TB, but beyond that I'm ...
1
vote
1answer
705 views

Testdisk won’t list files for an ext4 partition inside a LVM inside a LUKS partition

I have accidentally deleted a file that I want to recover. The partition is an ext4 partition inside an LVM partition that is encrypted with dm-crypt/LUKS. The encrypted LUKS partition is: /dev/sda2 ...
0
votes
1answer
158 views

rsnapshot ext4 to ext2 input output error

When making a rsnapshot backup from a ext4 to a ext2 filesystem, about 90% of the files cannot be opened and produce Input/Output errors. When the target is ext4 too, it works flawless. Any ideas ...
3
votes
4answers
519 views

How can I reduce inode utilization on an ext4 filesystem?

Summary of My Need We put a large amount of files on a filesystem for analysis at a later time. We can't control how many files we're going to have, and this one box needs access to all of them. ...
2
votes
1answer
4k views

Recommended filesystem for MySQL (xfs vs ext4)

Setting up a MySQL 5.5 server, and wondering what the recommended filesystem is? ext4 or xfs? Running InnoDB and 40% writes 60% reads. Thanks.
23
votes
1answer
1k views

Why does deleting a big file take longer?

My understanding is that running rm on a file simply unlinks it, marking the space as free in the filesystem. It should then follow that deleting one file always takes roughly the same amount of time ...
0
votes
1answer
213 views

file read performance degrades as number of files increases

We're observing poor file read IO results that we'd like to better understand. We can use fio to write 100 files with a sustained aggregate throughput of ~700MB/s. When we switch the test to read ...
0
votes
1answer
672 views

Ext4 self errors after some time on CentOS 5.8 64-bit

I get such warnings in dmesg: EXT4-fs error (device md2): mb_free_blocks: double-free of inode 0's block 602619328(bit 15808 in group EXT4-fs error (device md2): mb_free_blocks: double-free of inode ...
3
votes
2answers
1k views

Rebalance CentOS / RHEL Ext4 LVM assignment

Our corporate standard is CentOS (which seems to prefer LVM), and I come from primarily a non-LVM background, so I'm treading new ground with this issue. I inherited an older machine as a log-server ...
0
votes
1answer
100 views

Can I Install ext4 via Debian 6.0.2 and update for stability?

I am installing Debian 6.0.2.1 (because that's the CD I found in my CD wallet and I don't want to wait to download a newer version [6.5 is newest at time of writing]). I am choosing ext4 for my FS; ...
4
votes
2answers
2k views

Can't resize2fs - combination of flex_bg and !resize_inode

I recently set up my first software raid with mdadm and after adding more disks to the raid I am unable to resize the filesystem to the full size of the raid. I created a single (~16TB) filesystem on ...
1
vote
1answer
289 views

Linux Ext4 to Ext4 rsync recopying some files

I have a backup script setup to copy various files from one machine to another over ssh. Both ends are using Ext4, though the receiving end is using it on a USB mass storage device (if that makes a ...
6
votes
2answers
1k views

How to find biggest (in entries, not size) ext4 directory?

Ubuntu 10.04.3 LTS x86_64, I am seeing the following in /var/log/messages: EXT4-fs warning (device sda3): ext4_dx_add_entry: Directory index full! Relevant info from dumpe2fs: Filesystem features: ...
1
vote
1answer
195 views

optimizing ext[234] for small file throughput

I have a system that has a high throughput of small files on disk, i.e. a huge number of small files are created, written and deleted within seconds. Are there any reasonable ext2/ext3/ext4 mount ...
10
votes
4answers
9k views

is there such a thing as a 'quick' format for ext4?

in Windows it's very fast to format with NTFS. I have a low powered Linux machine, with little RAM. formatting a 2TB volume to ext4 takes a long long time is there anything I can do to speed up ...
2
votes
2answers
5k views

Does CentOS 5.x support ext4?

I believe the default OS file system in CentOS 5 is ext3. Is it possible to use ext4 on Centos 5.x, or only on 6.x? Can I upgrade an existing ext3 filesystem to ext4?
14
votes
3answers
503 views

Ensuring a repeatable directory ordering in linux

I run a hosted continuous integration company, and we run our customers' code on Linux. Each time we run the code, we run it in a separate virtual machine. A frequent problem that arises is that a ...
0
votes
1answer
288 views

Linux Container conversion to Vagrant and back

The situation is the following: we have an lxc (linux-container), which contains a Debian Squeeze distribution, built up with a preseed file. We wanted to add some extra packages (packages for the OMF ...
6
votes
2answers
4k views

Best options to create and mount an ext4 volume containing > 10M files in one directory

What are the appropriate options to mkfs and mount for an ext4 filesystem with a folder containing >10 million files for read access? What I have so far: umount /media/dirsizetest mkfs.ext4 -L ...
3
votes
3answers
943 views

Journaled filesystems and power failure

I heard that even a journaled filesystems such as EXT3/EXT4 might corrupted during power failure, e.g. from wikipedia [1]: In the event of a system crash or power failure, such file systems are ...
1
vote
3answers
3k views

Possible to mount an ext4 partition image via FUSE?

I'm attempting to mount an ext4 partition image in userspace. (no sudo, no special config/permissions modification to /dev/loop0 or /etc/fstab etc). So I'm hoping FUSE will come to the rescue. ...
2
votes
1answer
1k 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
649 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
11k 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
522 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 ...
2
votes
3answers
726 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
739 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
446 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
894 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
4k 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
689 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
247 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
574 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
2k 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
348 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 ...
2
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
336 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
160 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 ...