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
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
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 ...
13
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
571 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
299 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 ...
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
530 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
195 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
890 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
914 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
581 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
681 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
533 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
684 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
272 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
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
498 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
663 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
662 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 ...
1
vote
1answer
229 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
2k 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
17k 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
3k 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
539 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 ...