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
645 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
3k views

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

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 ...
2
votes
2answers
3k 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
234 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
3k 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
16k 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
428 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
1k 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
7k 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
565 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 ...
0
votes
2answers
605 views

Ext4 corrupted after RAID failure and fsck taking too long to run

I am completely lost :( I got software RAID10 with 4 drives, one of them failed yesterday, right before or after the failure system crashed and restarted. It started data rebalancing and completed it ...
0
votes
1answer
215 views

Unable to write to root partition

For some reason, we are unable to write to my root ext4 partition. Unfortunately I don't have physical access to the computer, and I can't reboot or do anything because it's read only? How can we fix ...
4
votes
2answers
3k views

Failed MDADM Array With Ext.4 Partition - “e2fsck: unable to set superblock flags on /dev/md0”

Had a power failure and now my mdadm array is having problems. sudo mdadm -D /dev/md0 [hodge@hodge-fs ~]$ sudo mdadm -D /dev/md0 /dev/md0: Version : 0.90 Creation Time : Sun ...
2
votes
2answers
1k views

Questions for Ext3/4 Features ( dir_index,filetype) and XFS File system Performance

I am developing an applications which reads huge list of directories and check file types using file command and using ext4 file system. When i look into Ext4 , i see it have two interesting features ...
1
vote
1answer
14k views

Restoring data from corrupted ext4 partition under LVM - fsck or repair bad blocks first?

I am using Linux on my notebook. My notebook recently fall on ground and now I am trying to save as much data from my damaged hdd as possible. I can boot notebook from Linux live CD. Long story ...
2
votes
3answers
2k views

Can I unformat an NTFS volume that was formatted as ext4?

No data was written to it. Is there a tool that will allow me to do it? I would prefer a free tool, but please recommend non-free if only such software can do the job.
0
votes
1answer
1k views

Ubuntu 10.04 with ext4 gets repeated IO errors

we installed a new DELL server with the (not supported) Ubuntu 10.04 LTS. We configured a hardware RAID (I think RAID 1) with the DELL tools before installing Ubuntu. The server is not under load at ...
3
votes
2answers
515 views

ext4 fs breaking after power outages

I am experiencing quite a typical but strange problem: the hdd is going bust after power cuts on my server. I can feel it huge work done by fsck on startup after the crash, and then my subversion ...
2
votes
2answers
6k views

changing filesystem format from xfs to ext4 without losing data

I have a fresh Lucid Lynx (Ubuntu 10.04) running on a laptop. where I defined the filesystems as: mount point / on ext4 (46 Gb) mount point /home on jfs (63 GB) swap as 3 Gb I left the machine ...
2
votes
1answer
1k views

Where to get comprehensive list of tune2fs/tune4fs options per filesystem?

tune4fs can use many undocumented (I mean they are not yet in man tune4fs) options for ext4 filesystem. For example, huge_file, flex_bg, dir_nlink, extra_isize and some others. Is there a ...
8
votes
2answers
5k views

Linux: Why change inode size?

Tune2fs allows to change inode size from default 128 bytes to almost anything, but it should be power of two. What are the reasons for changing default inode size? Here it's written that this can be ...
1
vote
2answers
3k views

CentOS 5.5 ext4 conversion problem - ext4 partition is recognized as ext3

I had 5.4 machine. Upgraded to 5.5 today via yum upgrade. All went fine. Rebooted. Wanted to convert root partition to ext4 (I have three partitions: /boot, / and swap). All of them on software RAID 1 ...
0
votes
2answers
2k views

Running resize2fs on /

I'm trying to resize an ext4 filesystem on a Fedora 11 box. Using fsdisk and lvm, I was able to grow the partition and logical volume containing the filesystem. When I try to run resize2fs on the ...
3
votes
3answers
757 views

Immutable hard links on ext3/4?

In my research on file versioning at the fs level, snapshotting, and related ideas, I took a look at hard-links and exactly what they are and how they behave. Using rsync you can get a pretty slick ...
6
votes
3answers
913 views

Best way to 'harden' embedded ext4 file server against unexpected loss of power?

First, a little background: my company makes an audio streaming device that is a headless, rack-mounted Linux box with a Solid State e-SATA drive attached. The drive is formatted with ext4. The ...
3
votes
2answers
1k views

What are the merits of ext3 over ext4?

Specifically want to use the storage for music/video files but with a smattering of usual doc/xls/etc) - wondering if there is a concrete reason to go for one over the other. Thanks
6
votes
4answers
2k views

Which “features” of ext4 existing ext4 partition uses?

When I create ext4 filesystem, there are many "features", which I can enable and disable - like has_journal, extent, huge_file and so on. Is there any way to know, which options were used while ...
2
votes
3answers
1k views

ext4 in debian 5 (2.6.26)

Is ext4 ready for production usage in debian 5 (with linux kernel version 2.6.26) ? Will it be stable, oops-free and bug-free?
15
votes
3answers
18k views

What is the maximum number of files a file system can contain?

Given the current structure of a directory entry on a ext4 file system on Ubuntu, what is the maximum number of files a file system can contain? What is the general method of calculating the maximum ...
1
vote
1answer
1k views

Restoring a smaller partition image to larger partition using dd

I recently backed up an 11GB ext4 partition to a file using dd, repartitioned, and restored the file to a 40GB partition. parted now shows the partition as 40GB, Nautilus reads it as 11GB, and both ...
2
votes
1answer
844 views

Ext4 Sub directory scalability

According to http://ext4.wiki.kernel.org/index.php/Ext4%5FHowto says: Right now the maximum possible number of sub directories contained in a single directory in Ext3 is 32000. Ext4 breaks that ...
2
votes
2answers
3k views

Why should I switch to ext4 when upgrading to Ubuntu 9.10?

I'm going to upgrade from Ubuntu 9.04 to Ubuntu 9.10 in a near future and wanted to know if I should migrate my existing ext3 partitions to ext4 during the process and, if yes, why?
0
votes
4answers
1k views

Best filesystem for storing photos on Linux

I have 200+G of photos I usually keep on my main computer so that they are always available. File sizes range from 2-3MB JPGs to 10-12MB RAW files. I thought the nice old ext3 could be abandoned in ...
1
vote
3answers
359 views

How to diagnose erratic disk behavior?

I have a web site with users lighttpd and CGI scripts. After upgrading to Fedora 11 (ext4) the disc access became erratic. The timing of python -c 'import cgi' varies between 0.1 to almost 10 ...
2
votes
7answers
1k views

Filesystem for an external drive that'll only connect to Linux

I just bought a new 500GB external harddrive. Most of the time I only store operating system ISO's on those things and some movies. Large files anyway, well over 4GiB sometimes, so FAT is out of the ...
1
vote
3answers
2k views

Slow ext4 fsck

Why fsck is so slow on ext4 filesystem? I was always using reiserfs or xfs and with those systems fsck was really fast, just few seconds. Now i decided to give a try ext4 but i'm dissapointed that ...
11
votes
6answers
20k views

What are the differences between ext3, ext4 , ReiserFS?

And why should I pick one instead of the other?
14
votes
6answers
2k views

Is the F.U.D. about ext4 justified? Or would it be safe to use in some production systems?

I am wondering if ext4 is safe to use on my servers. But I've heard so much FUD about it that I am concerned. Our system could lose some data, and it would not be too big a deal. Even a full days ...