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

learn more… | top users | synonyms

62
votes
8answers
210k views

How can I resize an ext root partition at runtime?

How can I increase the size of the root partition of a system at runtime? I have a partition that is not allocated after the root partition (which is also ext4), how can I add that unallocated space ...
48
votes
2answers
40k views

Is it worth to tune Ext4 with noatime?

With previous versions of Ubuntu (using Ext3 filesystem) I used to tune it for better performance with noticeable results by setting the noatime parameter in /etc/fstab. Is it still worth it to do ...
20
votes
10answers
32k views

How to read ext4 partitions in Windows? [closed]

I have two questions on ext4: Is there currently a way to mount an ext4 partition in Windows (XP/Vista/7) to get basic read support? If not, are there any plans to support this someday?
20
votes
9answers
46k views

How do I repartition with GParted? [duplicate]

I wanted to create more space for Ubuntu on my hard disk in favor of my Windows partition. I booted the livecd and resized the NTFS partition to 100 GB. Then I wanted to resize my Ubuntu (ext4) ...
20
votes
1answer
10k views

Can I disable updatedb.mlocate?

On ubuntu server here and I'm trying to unpack 300M image files from a compressed file format using Java. My unpack rate is 0.5Mbytes/sec, abysmal (34 days to unpack 1.5TB at this rate). I'm trying ...
18
votes
2answers
41k views

What is the difference between ext3 & ext4 from a generic user's prespective

What are the very big differences between ext3 and ext4 from a generic user's perspective? I heard, sticking with ext3 is wiser. Is it true? EDIT: One thing I want to note that, I am a dual user ...
14
votes
1answer
16k views

How to expand the ext4 primary partition size in a VMware Player virtual disk?

I have a VMware Player virtual machine setup, running Ubuntu 10.04 as the a guest OS. The VM was created on a 20GB virtual drive, with a single partition for working space. Finally I got to the point ...
13
votes
3answers
24k views

Convert filesystem NTFS -> EXT4?

I have 2 TB of data on an NTFS drive which I would like to convert to EXT4 filesystem. My OS runs on a (comparatively) small 60GB SSD. Is there any way to convert the filesystem, apart from backing ...
11
votes
4answers
16k views

Solving permission problems when using external EXT4 hard disk with multiple linux installs

Hello I have a external hard drive and since I only use Ubuntu and Fedora I decide to format my hard drive to ext4 everything is fine. The problem is when i mount the drive i need to change the ...
11
votes
3answers
12k views

Should I use btrfs or Ext4 for my SSD?

Should I use btrfs (with discard, compress=lzo and space_cache options) or Ext4 (with discard option) for the SSD for my Ubuntu 11.10 (Oneiric) amd64 desktop root partition of my office machine? ...
10
votes
4answers
36k views

Force fsck.ext4 on reboot, but really “forceful”

One of my Ubuntu 10.04 servers is giving me trouble. When I run fsck.ext4 -n /dev/sda5 it tells me there are errors in the free inode count, free block count, and more. I have tried: touch ...
10
votes
1answer
8k views

Reasonable size for “filesystem reserved blocks” for non-OS disks?

When creating a file system ( mkfs ...) the file system reserves 5% of the space for its own use because, according to man tune2fs: Reserving some number of filesystem blocks for use by ...
9
votes
6answers
19k views

Which tool to backup an ext4 partition?

I'm searching for a tool to backup a whole ext4 partition to an image. I tried the latest version of mondo, which is not working. What are good alternatives?
9
votes
4answers
14k views

Is there any recovery software available for ext4?

Well, I have accidentally deleted my Ubuntu drive. I just want to recover all the contents of /home. Is there a way to do it? I referred to foremost, where I need to specify the extensions of files. ...
9
votes
4answers
2k views

NTFS -> EXT4 migration, where did 120 GB go?

wim@wim-ubuntu:~/Desktop$ mount | grep media /dev/sdc1 on /media/data type ext4 (rw,nosuid,nodev,uhelper=udisks) /dev/sdb1 on /media/wd type fuseblk ...
9
votes
1answer
7k views

Is e4defrag ready for use?

I want defragment my root ext4 partition after upgrade to 10.10. But I can't find e4defrag in standart repos. May I build it from source? And is it safe for use? UPD: Now in 12.04, we have e4defrag ...
8
votes
2answers
6k views

How do I create an encrypted file system inside a file?

Recently i've found this interesting tutorial: http://flossstuff.wordpress.com/2011/08/07/using-a-file-as-a-storage-device/ It explains how to create an empty file, format it as ext4, and mount it ...
8
votes
2answers
35k views

Automount ext4 partition with user permission/ownership (fstab?) [duplicate]

I just installed Lubuntu 12.10 "Quantal Quetzal" on my Acer Aspire One D257, creating the partitions: $ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda5 15G 2.1G 12G 15% / ...
8
votes
4answers
11k views

Mounting ddrescue image after recovery (in over my head)

I'm having problems mounting the recovery image. I've tried to mount the image multiple ways. quark@DS9 ~ $ sudo mount -t ext4 /media/jump1/1recover/sdb1.img /mnt mount: wrong fs type, bad option, ...
8
votes
1answer
6k views

Is SSD TRIM support still automatic in 12.10?

Folks I had automatic TRIM working on my laptop running Ubuntu Precise. As in the TRIM guide I added discard to mount options in /etc/fstab, and hdparm --read-sector read 0s immediately after a rm ...
7
votes
3answers
38 views

Why do ext2 and successors not need defragmentation?

The ext2/ext3/ext4 filesystem family does not need defragmentation. What underlying design help this filesystem in not getting fragmented?
7
votes
4answers
3k views

What are benefits of upgrading filesystem from ext2?

I have ext2 filesystem installed on my work machine. I talk with my friend who knows linux a lot better and he said its very old and its very weird that I use so old filesystem. I'm now trying to get ...
7
votes
2answers
8k views

New ext4 partition and used space

I have fresh ext4 partition, which means I just formated it with mkfs.ext4 -m 0.1 /dev/mapper/abak-home, and there's already 27G space used. Setting reserved root space (-m) to 0 didn't have any ...
7
votes
2answers
3k views

How can I optimise ext4 for reliability?

As ext4 was introduced as more reliable 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? As ...
7
votes
3answers
17k views

How can I check if a particular partition ext4 is journaled?

I need to know this because of this: Add the data=writeback mounting option if you formatted the disk without journaling. Otherwise add data=ordered which sould be a good compromise between full ...
7
votes
2answers
2k views

ext4 to btrfs conversion: how long can it take? space requirements?

I started btrfs-convert for my ext4 partitioned hdd. I did a fsck first which was fine. So since it is running over 4 hours now (1.) I wonder if it will ever finish ? I read multiple articles ...
7
votes
2answers
6k views

How to convert ext2 to ext4?

I installed Ubuntu 12.10, and I don't know why, I have an ext2 partition. How can I convert this ext2 file system to an ext4? Will I lose all my data?
6
votes
3answers
2k views

Why do I get more free space than ext4 after formatting in XFS?

I've bought a 1TB external hard drive and after formatting the entire drive in ext4 Nautilus says there are 934.3 GB of free space. I've also tested formatting the drive in XFS, and in this case ...
6
votes
2answers
10k views

Share Ext4 Partition Over Network

I have an Ext4 partition (not auto-mounted) that I would like to share (entirely) in my home that contains Mac OSX, Windows and Linux machines (currently the most important is sharing with the Mac). ...
6
votes
4answers
4k views

rsync not working between NTFS/FAT and EXT

I have music that I play in my car, from an FAT32 USB stick. The folder which I use to put songs on is stored on my EXT4 hard drive. I add/remove/retag songs regularly and occassionally want to ...
6
votes
3answers
13k views

undelete files on ext4

My mother has placed some important files on her /tmp per accident. Now, of course, they are gone. This happened yesterday (2 boots of the machine since) I want to try to undelete the files. They ...
6
votes
3answers
10k views

ext4 partition size / free space discrepancies

While creating a 250GiB backup partition for my data, I have noticed lots of discrepancies between reported partition size and free space in Nautilus, gParted, df, tune2fs, etc. At first I thought it ...
6
votes
1answer
9k views

Is it safe to defrag ext4 file system using e4defrag?

My file system partition is 90GB, and now 75% of the space is free after removing 53GB of recovered files using photorec from my home directory. I just want to know, is it safe to defrag the whole ...
6
votes
2answers
9k views

What are these files like Zone.Identifier:$DATA and how to prevent them?

I have an ext4 drive which is available to my windows XP VirtualBox as a shared folder. When working with files across ubuntu and windows I sometimes see these autogenerated files with ...
6
votes
2answers
9k views

How can I convert my root partition from BTRFS to EXT4?

Is it possible to convert btrfs to ext4 without losing data? I'm experiencing a very low speed on read/write operations on btrfs.
6
votes
4answers
2k views

Drive reporting incorrect free space

So I swapped my shiny SATA SSD for an even shinier PCI-E SSD. I run my core OS on the SSD because it's silly-fast. I did this on my old SSD so I created a new EXT4 partition and then just dded the ...
6
votes
2answers
17k views

How could I mount an ext4 partition and have write permission?

I've set the /etc/fstab file so that I can mount an ext4 partition on startup and I did it with the following options : rw, auto, nouser, exec, sync. The problem is that I can't create or delete any ...
6
votes
1answer
16k views

How do I enable extended attributes on ext4?

I want to play around with Ceph and it needs extended attributes enabled. How do I mount my filesystem with this support?
5
votes
3answers
3k views

The best choice of linux file system and software that can be accesed from Windows

I am curently having ubuntu and win 7 dual boot and I want to delete my windows 7 and format all my partitions to use a linux file system. But I want to leave a door open in case I have any problems ...
5
votes
2answers
2k views

tmpfs vs. ext4 ramdisk

I would like to know which of both is faster; a tmpfs or a ext4 ramdisk. If someone knows a good way to benchmark disk perfomance on ubuntu, I will gladly do the test myself and post the results. ...
5
votes
1answer
5k views

Default file system on ubuntu 12.10

Why does ubuntu 12.10 default to ext2 file system? Is ext4 not stable enough?
5
votes
1answer
368 views

My home directory just goes away. Why?

I'm running an older Dell GX280, with a new 500GB drive and 2GB RAM. Fresh install with my ~ directory copied from an older HD I got the 500GB to replace. I think I'm running ext4 on both my / and ...
5
votes
2answers
612 views

What is the default behaviour of atime?

I have an Ubuntu 11.04 installation. The /home directory is on a partition which uses the ext4 filesystem. I haven't changed the default configuration so the filesystem is mounted at boot time with ...
5
votes
1answer
4k views

ext4 jbd2 journaling active even on empty filesystem

I have been having several issues with my ext4 file-systems that seem to be due to jbd2 journaling. I made a related post here and am rephrasing it with the hope that someone may be able to help. For ...
5
votes
2answers
3k views

What's wrong with my ext4 partition?

What is wrong with this picture? Top is output from "df -h", bottom is gparted. I suspect I'm missing a lot of free space. No problems other than that (yet). Can somebody suggest the best ...
5
votes
2answers
163 views

ext4 File System got damaged due to improper write

This is what happened, I inserted my (important) external HDD into a RedHat 6 machine, did my task's, unmounted the drive via Nautilus, and physically detached the drive from the machine (and now I ...
5
votes
1answer
233 views

What algorithm is used by Disk Utility encryption?

What encryption algorithm is used by the partition encryption function of Disk Utility?
4
votes
5answers
2k views

Moving 11.10 complete system to a new bigger Harddisk

I would like to move my current installation of Ubuntu 11.10 to a bigger harddisk, since the old one is failing. I would like to avoid solutions like dd block copying (since there would be unused ...
4
votes
4answers
28k views

How to set permissions so that I can read and write to another partition?

I m using Ubuntu 12.04 and i have to partitions part1 and part2, both are ext4. I want to transfer media files to and from them freely through programs.
4
votes
2answers
7k views

df reports an ext4 partition is full, but there is no data

I recently received a warning, that my home-partition is full. It is an Ext4-Partition mounted on /home, /dev/sda is a 240 GB SSD: hannes@XFLR6 ~> df -h Filesystem Size Used Avail Use% ...