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
vote
2answers
879 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
275 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
733 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
365 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
375 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
162 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
656 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
813 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
151 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
520 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 ...
6
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
411 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 ...
11
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
992 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
511 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
534 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
5k 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
186 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
281 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
226 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
650 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
569 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
318 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
192 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.
4
votes
1answer
4k 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
3k 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
8k 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 ...
13
votes
7answers
3k 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
530 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
297 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
4k 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 ...