The ext4 or fourth extended filesystem is a journaling file system for Linux, developed as the successor to ext3.

learn more… | top users | synonyms

86
votes
7answers
98k views

How to read ext4 partitions on Windows?

Is there a way to read ext4 partitions from Windows? If so, what can I do?
20
votes
6answers
55k views

Modify fstab entry so all users can Read and Write to an EXT4 Volume

I have an Ubuntu 10.04 box with an EXT4 partition. This partition is set to automatically mount in /etc/fstab. For the purposes of this post, we'll call it: /media/foo. Unfortunately, only root ...
16
votes
5answers
8k views

Major practical differences between ext3 and ext4 - if any?

Assuming there's no need to worry about compatibility with older systems, I expect it's always better to use the latest stabile linux file system, which currently seems to be ext4. However it seems ...
15
votes
3answers
791 views

Moving 2TB (10 mil files + dirs), what's my bottleneck?

Background I ran out of space on /home/data and need to transfer /home/data/repo to /home/data2. /home/data/repo contains 1M dirs, each of which contain 11 dirs and 10 files. It totals 2TB. ...
14
votes
3answers
35k views

How to mount read-write an ext4 partition on Windows?

I want to use ext4 on my external HDD, but it must be cross-platform. (At least Linux, Win7 & WinXP). Unfortunately, I haven't found any proper driver allowing Windows to WRITE to ext4. I've ...
13
votes
1answer
642 views

After deleting lots of large files, free space increases with a large delay

Yesterday, I have deleted 71 GB of files on my home/media server. Free Space before: 117 GB Free space after: 126 GB So, instead of having 71 GB of additional free space, I only had 9 GB. I have ...
9
votes
5answers
2k views

Windows with a better filesystem

From my observations as a Java developer working on Windows workstations, NTFS is slow compared to Linux filesystems. Question is, is there anything in the NTFS driver that can be manually tuned, for ...
9
votes
2answers
21k views

How can I mount an EXT4 USB drive on Windows 8?

I have a USB drive formatted as EXT4. How can I mount it in Windows 8? Ideas on other workarounds are appreciated as well!
9
votes
2answers
7k views

Why is an Ext4 disk check so much faster than NTFS?

I had a situation today where I restarted my computer and it said I needed to check the disk for consistancy. About 10 minutes later (at "1%" complete), I gave up and decided to let it run when I go ...
8
votes
3answers
63k views

How do I format a drive as EXT4 on Windows 7?

I'm trying to create an ext4 file system on an external drive. The partition manager I usually use, EASEUS Partition Master, doesn't support ext4. What are some free alternatives? Edit: It turns out ...
8
votes
2answers
5k views

SSD: NTFS vs EXT4

Always when I read about SSD usage under Linux, the advice is to disable journalling in Ext4 (or use Ext2), since it's too bad for your SSD. But in all articles about SSD tweaks for Windows, I never ...
8
votes
5answers
3k views

Is ext4 more expensive than ntfs?

I have just converted an NTFS partition to ext4, however the total space seems reduced from 421G to 415G. Where did the 6G go? And, the reserved space is grown to 199M in ext4, much larger compared to ...
7
votes
3answers
12k views

How can I recover/undelete files from an ext4 partition?

Has anyone had success recovering deleted files from an ext4 partition? I've tried various utilities, but none have worked yet. I'd be grateful if someone can share a success story!
7
votes
5answers
6k views

Linux file system for a big file server

I would like to know, from more experienced people, what would be the best choice of file system to use for a file server having more than 20TB of hard disks. Personally I always used EXT3 (back in ...
7
votes
2answers
6k views

Do ext4 filesystems need to be defragmented?

Do ext4 filesystems need to be defragmented? If so, how do I defragment them? If not, could you post a simple explanation of why they do not need to be defragmented?
7
votes
5answers
9k views

Stuck choosing between ext4 and ext3 for the file system

I was in the process of installing Ubuntu 11.10, but got stuck choosing which file system to use. ext3 and ext4; which is better for a personal desktop? If ext4 is better, will it work well on my ...
7
votes
2answers
220 views

Which ext4 features are missing on an upgraded filesystem?

Which ext4 features will be missing on a filesystem upgraded from ext3 to ext4 using the instructions here? The text explains: There are additional ext4 features, such as flex_bg and > 16TB ...
6
votes
2answers
20k views

Online, “Smart” Partition Manager with Full Ext4 Support?

Is there any partition manager for Windows that can manage (resize, move, etc.) ext4 partitions? Caveats: Resize must be smart when resizing from the beginning of the partition. Many partition ...
6
votes
2answers
3k views

View bad blocks on mounted ext2/ext3/ext4 filesystem

I've ran fsck -c on the (unmounted) partition in question a while ago. The process was unattended and results were not stored anywhere (except the bad block inode). Now I'd like to get bad block ...
6
votes
3answers
3k views

Fastest booting desktop linux distro? [closed]

I'm currently running Ubuntu 9.04 on my laptop and I'm very happy with it. But boot times aren't great... So I'd like to have a second distribution on my hard disc that I can boot to quickly check my ...
5
votes
1answer
3k views

Does an ext4 writer for Windows exist?

Are there any applications that can write to ext4 file systems from Windows?
5
votes
2answers
331 views

ext4 on mdadm reverting data

I have a problem with my home server setup. The problem is that sometimes, but really rarely, it reverts (for a lack of a better term) all my data back to an earlier state (somewhere between months ...
5
votes
2answers
9k views

How can I get access to EXT2, EX3 and EXT4 partitions on Windows 7?

I tried all programs recommended to mount Linux partitions like EXT2 or EXT3 or even EXT4 but no one can do well on Windows 7 32 bit. I want to access read-write, is there a program that can do this? ...
5
votes
2answers
581 views

stat and ls show wrong file size (terabytes wrong)

Ok, I have a bunch of vCard files, all about 200 to 300 Bytes in size. While trying to get them archived, I wondered why that takes so long and discovered that there is one file with a wrong size. ...
5
votes
1answer
356 views

Linux shows several folders with the exact same name

I recently used a mac to copy several files and folders to a USB drive (ext4 through ExtFS), and now in Linux (Xbian) two folders in the root of the drive are shown four times. The output of "ls ...
5
votes
1answer
436 views

A weird issue relate to ext4/lvm/raid-5 after partition recovery

I have 3 hard disks, in the following paragraphs named /dev/sda, /dev/sdb and /dev/sdc, newest came first. Note: /dev/sdc has one primary partition /dev/sdc1, one extended partition /dev/sd2, and 3 ...
4
votes
2answers
21k views

Creating ext4 partition from console

I have a volume /dev/sda1 (1.2 TB) containing an NTFS partition using 0.6 TB space. I want to make an ext4 partition in the remaining 0.6 TB space. I have not tried anything yet because I don't want ...
4
votes
3answers
891 views

Pros and cons of ext4 for Ubuntu?

I've just converted another of my machine to Ubuntu. Should I consider using ext4?
4
votes
2answers
3k views

how to convert NTFS to ext4 in windows?

I want to convert one partition of my windows which is NTFS (or can be FAT32) to a linux file system partitioning? I'm looking for some tools or ways to do it for me!
4
votes
4answers
8k views

Is there a way to mount an EXT4 volume image in Windows 7?

Made with ddrescue. I'm guessing not.
4
votes
1answer
921 views

Why are the sizes of 2 directories different if the data within the directories is identical? They are identical ext4 partitions and disks

root@phoenix:~# ls -ld /backups/external?/var/subsonic/thumbs/110 drwxr-xr-x 2 root root 73728 Mar 4 15:35 /backups/external3/var/subsonic/thumbs/110 drwxr-xr-x 2 root root 69632 Mar 4 15:35 ...
4
votes
3answers
211 views

Can a large number of (small) files degrade the performance of a filesystem?

I'm working on an archival project and currently I'm storing 514600 images (ranging from 200kb to 2mb) on my 4TB NAS drive. The drive itself is formatted as ext4 and I'm writing the files over the ...
4
votes
1answer
746 views

What filesystem should I use for a large amount of disk space in Linux (>32TB)?

I am trying to make a large file system in linux, but have run into problems with many of the common file systems. JFS has a bug that does not allow expansion over 32TB. XFS has a bug in the fsck ...
4
votes
1answer
3k views

resize2fs seems stuck at pass 3 (scanning inode table) - what to do?

I have a machine running Arch Linux (2010, I believe) with a 6TB RAID-5 array hooked up to a Highpoint RocketRaid 2320. I've been having issues with the RAID controller's drivers and the latest Linux ...
4
votes
1answer
615 views

script to convert ext4 filenames to ntfs

ext4 allows certain chars in filenames which ntfs doesn't. Is there a script to replace those chars in filenames?
4
votes
2answers
6k views

MacFUSE + ext4fuse = No luck

So I'm trying to mount my ext4 (with extents) partition on Mac OS X using MacFUSE (from MacPorts) and ext4fuse (compiled from git), but I just can't manage to do it. I'm trying to do it like this: ...
3
votes
1answer
8k views

Disable journaling on ext4 filesystem partition

I'm running Linux Mint on an SSD. I've read how one optimization is to disable journaling. However, when I run the command: sudo mke2fs -t ext4 -O ^has_journal /dev/sda1 I get an error saying that ...
3
votes
2answers
360 views

Invalid size displayed for SSD

I have an 80GB Intel X25-M SSD drive installed on a Linux box running Debian 5.0. The file system on the SSD is ext4. I've had no problems with the drive, and have been using it for quite some time ...
3
votes
3answers
4k views

How to access the ext4 file system on Windows

How to access the ext4 file system on Windows XP ? I've tried the ex2explorer but I can't copy the files.
3
votes
3answers
6k views

Fastest way to convert an ext4 formatted disk to LVM with ext4 on it?

I'm currently doing cp -aR to copy data from my (99% full) 1TB ext4 formatted disk to a new LVM-with-ext4-on-it disk. It's taking forever. Is there any way to attempt to "convert" the disk in place? ...
3
votes
2answers
237 views

Is there anything faster than `find . | wc -l` to count files in a directory?

Not uncommonly I have to count the number of files in a directory, sometimes this runs into the millions. Is there a better way than just enumerating and counting them with find . | wc -l ? Is there ...
3
votes
3answers
648 views

Recover ext4 filenames

I have a corrupted ext4 file system that had ~7 TiB of data on it. Using photorec, I was able to recover usable data, but all the filenames are gone. Is there a tool that would let me recover the ...
3
votes
3answers
3k views

Linux File system for a 1 TB External Hard drive

I have a 1TB external seagate hard drive that i use it with my dell inspiron 1525 laptop running UBuntu 9.04. I dont intend to share my hdd with anyone, so my laptop is the ...
3
votes
2answers
5k views

How long can file system writes be cached with ext4?

A while ago, there has been some discussion about ext4 potentially leaving empty files after an unclean unmount, summed up pretty well in this article. Basically, because of delayed allocation, writes ...
3
votes
2answers
6k views

Filesystem config for 4k sector drive that reports 512 byte sectors [duplicate]

Possible Duplicate: Western Digital Green drive from 512 byte sectors (jumpered) to 4k byte sectors (removal of jumper) I have just purchased two Western Digital WD20EARS disks and ...
3
votes
3answers
490 views

Are there any reasons why I wouldn't want to format a USB flash drive in HFS+ for Linux/Mac usage?

There have been other questions regarding the use of HFS+ formatted drives on Linux (e.g. this); however, I am specifically interested in knowing if this is a good idea for a particular purpose. I ...
3
votes
1answer
3k views

linux change ext4 block size to 8192 now can't mount it

I've done that: mkfs.ext4 -j -b 8192 /dev/sda3 Now I'm trying to mount it with: sudo mount -t ext4 /dev/sda3 foo But I'm getting this error: mount: wrong fs type, bad option, bad superblock on ...
3
votes
2answers
2k views

How do I access files inside a Wubi virtual ext4 Ubuntu partition from within Windows?

I just installed Ubuntu 10.04 using Wubi on a PC that has Windows XP and Windows 7 installed. I was working in it for a while and everything is just fine. However, when I booted back into Windows 7, ...
2
votes
2answers
1k views

Will a EXT4 Samba Share be readable by Windows/Mac OS X users?

If I share my ext4 drive by SMB will a Windows/OSX user be able to read/write to it WITHOUT installing additional drivers to their machine?
2
votes
2answers
9k views

How do I read the Ext4 partition of my SD card on Windows? [duplicate]

I have a 32 GB SD card with one FAT32 partition and one Ext4 partition. If I mount the SD card to the computer I can read the FAT32 partition in Windows just fine. But how do I read the Ext4 ...