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

6
votes
3answers
7k 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
192 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
292 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
237 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
702 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
613 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
332 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
203 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
271 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.
4
votes
1answer
5k views

fsck.ext4: How to force to check the whole file system?

It seems fsck.ext4 quit very soon, I guess it only checks the journal logs, and do nothing if the journal is clean. Is it? How to force it to check the whole file system? I've tried the -f option, but ...
1
vote
3answers
4k views

Convert an ext4 partition to ext3 without formatting the HDD

I would like to convert an ext4 partition to ext3 partition without formatting the HDD. Is this possible and recommended?
1
vote
2answers
9k views

Resize ext4 partition without losing data in virtual server

We have a virtual Linux server (Fedora Core 2.6.35.6-45.fc14.x86_64) running on VMWare vSphere. Initially it had 3 SCSCI drives 32Gb each. Now we have extended a disk that was mounted under "/home" to ...
14
votes
7answers
4k views

Is btrfs production ready?

I've seen a lot of information on btrfs lately. I have been considering ext4 for my next filesystem, but am tempted by btrfs instead. How widely used is btrfs? What are the pro's and con's?
16
votes
2answers
7k views

Production-ready, highly reliable filesystems on Linux: ext4 ext3 XFS or JFS (or ZFS)?

The last real question I've seen on this topic is from about two years ago (is ext4 ready for production usage). In the intervening time, how has ext4 improved? XFS, JFS, and ext3 are the standby ...
2
votes
3answers
2k views

disk space overhead in ext4

I'd like to know if there's some rule (or formula) I can apply to find out how much of disk space will be used by the filesystem in an ext4 partition. for example, in a partition of 100 GB, how much ...
0
votes
1answer
595 views

BackupPC back-up has not been finished in 12 hours(!)

I installed BackupPC toda on a server and set it to do a back-up 12 hours ago... while it's been backing up since, it seems very very slow and it's not completed yet. It's just backing up a testserver ...
3
votes
1answer
300 views

ACL's on Sci Linux 6 ext4 not behaving like I think they should

I've got a fresh install of Scientific Linux 6, and am playing a bit with acls. All filesystems are ext4. In this particular case, I think have set up the acl's so that any user in the admin group ...
2
votes
4answers
5k views

How to clean up an unprocessed orphan inode list?

I tried to mount a formerly readonly mounted filesystem read-writeable: mount -o remount,rw /mountpoint Unfortunately it did not work: mount: /mountpoint not mounted already, or bad option dmesg ...
25
votes
12answers
4k views

Storing and backing up 10 million files on Linux

I run a website where about 10 million files (book covers) are stored in 3 levels of subdirectories, ranging [0-f]: 0/0/0/ 0/0/1/ ... f/f/f/ This leads to around 2400 files per directory, which is ...
0
votes
2answers
537 views

Recover ext4 file

How to recover recently deleted file from ex4 partition? Mashine hosts Open SUSE 11.2 (kernel 2.6.31)
6
votes
4answers
342 views

How do I find a file on Linux in an ext4 filesystem that's being written to frequently?

I've got a Ubuntu system which is writing a block to disk every 1-2 seconds. Some kind of log accruing an error. How do I find which file it is? I've been poring over lsof output and tailing ...
5
votes
2answers
5k views

Ext4 superblock corrupted after successful(?) mdadm grow and resize2fs

Some system details AMD Phenom II X6 1090T, 16GB DDR3 1600 running 11.04 natty, 2.6.38-8-server Raid in question consists of 5 SATA drives; 4 Samsung, 1 Western Digital; 500 GB each Drives are ...
0
votes
1answer
196 views

[Fedora 14][LVM2&EXT4] Overwritten partition config

Accidentally, I deleted my '/etc' & '/bin' folder (I know, my fault). Then, I boot liveCD and tried to copy or fix this issue. And then when I can't figure nothing to fix it, I don't know why, I ...
0
votes
1answer
909 views

how to make ext4 more reliable? [closed]

As ext4 introduced more reliability than ext3 with block journals, is there any chance to suppose it 100% reliable? What if enabling block journaling on it, which is disabled by default? I have an ...
6
votes
2answers
3k views

Ext4 partition bigger than 2TB?

Is there a way to make partition bigger than 2 TB on ext4 file system ?? Im trying to do that on debian but get message Partition size can not exceed 2TB ...
4
votes
3answers
2k views

On linux, what does it mean when a directory has size 0 instead of 4096?

Here's a strange thing I haven't seen before -- a directory whose size is reported by ls as 0 instead of 4096, and I can't create any files within it. # ls -ld lib home drwxr-xr-x. 2 root root 0 ...
2
votes
1answer
916 views

25TiB for /home from 16TiB, what to do with ext3?

I have recently lvextend my logical volume (where /home is) from 16TiB to 25TiB. However, when I try to run extend2fs on my /dev/vtrak/home, it complains that resize2fs 1.41.12 (17-May-2010) ...
11
votes
4answers
4k views

SSD TRIM (discard) problems with ext4 on Crucial C300 SSDs with CentOS 5.5

Playing around with using a modern kernel (2.6.37 currently) on an older OS (CentOS 5.5) so we can get TRIM (discard) working on our SSDs (Crucial C300s). The most recent hdparm (9.37) concurs that ...
1
vote
2answers
83 views

Partitioning an External HDD

I have an external hdd and i want to partion it into 2 partitions which are ext4 and ntfs. Is that OK with this kind of partitioning and Is there a problem with partitioning an external hdd rather ...
0
votes
1answer
1k views

Mystery stack traces in /var/log/messages

I am seeing the following messages in my server's /var/log/messages. They look like stack traces and are not preceded by any narrative (e.g. "such-and-such has gone wrong"). I am almost certain they ...
0
votes
2answers
2k views

Can't fsck From Live CD

I'm trying to run fsck from a Linux Mint Julia live CD, but something seems to be going wrong. When I run: sudo fsck /dev/sda5 I get the response fsck from util-linux-ng 2.17.2 e2fsck 1.41.12 ...
3
votes
1answer
1k views

Is it really necessary to call /bin/sync twice before an unmanaged power-off?

My company sells an "embedded device" which is implemented as a headless Linux box with ext4 on an internal SSD. Some of our users have a habit of doing a "save current settings" on this box, and ...
3
votes
2answers
589 views

Is data=journal on a separate device on Ext4 as good as using a RAID controller with battery backed cache for file system consistency?

It seems to me that data=journal prevents file system inconsistency in the case of power failure. Using it with a dedicated journal device mitigates the performance penalty of writing the data twice. ...
3
votes
3answers
698 views

Files on ext4 on Drobo with corrupt, zero-ed out blocks

I have a 2TB ext4 file system (Ubuntu running Linux kernel 2.6.31-22-server x86_64). This file system is the second drive on a Drobo box plugged in via USB. We've not had problems on the first drive ...
0
votes
2answers
547 views

Can't Mount Remote Share From RHEL 6

I'm trying to upgrade some Linux systems to RHEL 6, but I cannot mount the home directories. I'm using EXT4 for the RHEL 6 system and EXT3 on the RHEL 5 server, which I'm mounting the directory from. ...
0
votes
1answer
690 views

Can't configure quota on CentOS 5.5. Strange behaviour of quotacheck and other quota commands

I have Centos 5.5 linux with quota enabled in fstab [root@drone3 ~]# mount | grep usrquota /dev/sda4 on /storage type ext4 (rw,noatime,nodiratime,usrquota) When I tray to activate quota on ...
8
votes
3answers
4k views

Causes of sudden massive filesystem damage? (“root inode is not a directory”) [closed]

I have a laptop running Maverick (very happily until yesterday), with a Patriot Torx SSD; LUKS encryption of the whole partition; one lvm physical volume on top of that; then home and root in ext4 ...
5
votes
4answers
6k views

exportfs: Warning: /home/user/share does not support NFS export

'exportfs -r' returns me this error when I'm trying to export /home/user/share (ext4): exportfs: Warning: /home/user/share does not support NFS export. /etc/exports: /home/user/share ...
0
votes
2answers
2k views

mdadm lvm and ext4 slowness - How can I speed it up?

I can't figure out why I'm getting such terrible times out of my mdadm and in particular the lvm partitions in it. I made the raid: mdadm --create --verbose /dev/md0 --level=5 --chunk=1024 ...
0
votes
1answer
275 views

Mac Fonts stored on Ext (Linux File System)

I currently have a PowerPC g5 running Mac OSx. I've network shared one of the external hard drives (which is mac formatted, hfs+ journalled i believe). I'm now upgrading this to an ubuntu computer, ...
2
votes
3answers
2k views

Ubuntu 10.10 Maverick Server makes system locks up at random intervals (i7 930; 12GB RAM)

To introduce: I have a machine with the following specs: Intel Core i7 930 12GB Ram Corsair 2xSamsung HDD 320gb (No Raid, just partitions) Asus P6TD Deluxe The machine has been at Datacenter just ...
1
vote
1answer
4k views

Should use EXT4 or XFS to be able to 'sync'/backup to S3?

It's my first message here, so bear with me... (I have already checked quite a few of the "Related Questions" suggested by the editor) Here's the setup, a brand new dedicated server (8GB RAM, ...
4
votes
3answers
17k views

Mount a ext4 partition on Mac OS X

Is it possible to mount a Linux ext4 partition on Mac OS X? Please describe the procedure - risk free - thanks. Edit Aug 2012 The best solution I found was to use a 2nd machine with Linux, mount ...
4
votes
1answer
2k views

Does increasing the journal size improve performance for ext4 filesystems?

There is an article on linux-mag which says that increasing the size of the journal on ext4 filesystems actually improves filesystem performance for very large partitions. I'm wondering if anyone ...
1
vote
1answer
500 views

Does anybody have experience with Dump(8) and the ext4 fs

I have done some research online and some people claim dump/restore have good ext4 support and others claim the system is broken and restores come back corrupt. My question is, do they work well ...
1
vote
1answer
2k views

How can I disable ext4 has_journal option on dedicated server?

I have Ubuntu 10.04 dedicated server with SSD drive. Hence I want to disable the file system journal. Normally this can be done like this "tune2fs -O ^has_journal /dev/md2". However the root file ...
1
vote
1answer
1k views

How to make partition, raid5 and filesystem on 6x2TB WDC-drives in Linux

I'm getting confused by this "Advanced Format" (4KB sectors) talk of bigger (2TB) drives - and I am wondering about how I would resolve this if I'm building a new software (mdadm) RAID-5 array. The ...
2
votes
2answers
10k views

How to check (fsck) a filesystem on a md device (linux/mdadm)

I have a partition lying on a software raid device, /dev/md4 On boot, fsck fails and the partiton cannot be mounted. Trying to fsck manually, I get an error: sudo fsck /dev/md4 fsck from ...
1
vote
1answer
674 views

Why does this loopback device creation malfunction?

The stackoverflow people thought this was more appropriate here, I put it there as it is part of a program but I can see their POV, so here it is: At the bottom of the code you can see it failing. In ...