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

-1
votes
1answer
145 views

Cloning my hard drive as a backup [closed]

At the moment, I have an Ubuntu 11.04 installation on a single 500GB hard drive in my laptop. The hard drive is partitioned into four parts: 500MB for the boot information, 2GB for the swap ...
-2
votes
2answers
412 views

fsck an active disk provides different results than fsck on an unmounted disk

I have a VM running ubuntu LTS with an ext4 filesystem. We had performance problems that were related to IO tasks. I checked the filesystem with fsck.ext4 -nv /dev/sda1 e2fsck 1.41.11 ...
1
vote
1answer
231 views

Rescue ISO with e4fsck

I've got an Oracle Enterprise Linux system, on which I want to convert an ext3 to ext4 partition. This is also the root partition - and I can't unmount it and run e4fsck in the same session. Is there ...
1
vote
2answers
204 views

where on disk is space allocated for new files inside LVM lv with ext4 file system?

I run a multi-disk server with LVM2. Several large disks serve as LVM2 physical volumes for one volume group, containing one logical volume formatted with ext4. Nothing fancy, just your standard ...
1
vote
3answers
477 views

Rebooting a linux server correctly to avoid fsck

Is there a correct way to reboot a server to avoid FSCK and just avoid getting FSCK in general? I have been using the reboot command to reboot servers.
0
votes
1answer
4k 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
2k 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
742 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
4k 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
3k 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
102 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
346 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 ...
1
vote
1answer
2k 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 ...
2
votes
2answers
3k 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 ...
18
votes
7answers
4k 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
2answers
537 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
2answers
1k 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
187 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
1k 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
6k 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.
28
votes
1answer
2k 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
255 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
2answers
2k 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
2k 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
104 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
3answers
4k 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
519 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
2k 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: ...
3
votes
2answers
500 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 ...
17
votes
4answers
22k 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 ...
3
votes
2answers
8k 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?
15
votes
4answers
988 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 ...
1
vote
1answer
412 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
8k 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
2k 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
6k 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. ...
5
votes
1answer
3k 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
1k 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: ...
10
votes
2answers
29k 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
808 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
1k 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
1k 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
637 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
2k 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 ...
5
votes
5answers
8k 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
1k 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
341 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
1k 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 ...
3
votes
1answer
5k 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.