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

learn more… | top users | synonyms

21
votes
9answers
55k 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
10answers
41k 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?
84
votes
7answers
280k 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 ...
9
votes
4answers
20k 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. ...
6
votes
2answers
13k 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). ...
7
votes
3answers
11k 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
3answers
19k 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 ...
8
votes
3answers
10k 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 ...
12
votes
2answers
48k 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% / ...
5
votes
1answer
21k views

How do I create and tune an ext4 partition from the command-line?

PARTITIONING (e.g. fdisk) What are some useful commands used for partitioning an additional hard drive from the command-line? Since most published guides steer towards GParted and other graphical ...
15
votes
4answers
32k 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 ...
7
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 ...
1
vote
1answer
375 views

Suspending with root on USB

I have a laptop running Ubuntu 14.04 from a root file system on USB storage. This is not working well, because after wake up from suspend, ext4 will frequently try to write to the root file system ...
9
votes
4answers
6k 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 ...
12
votes
1answer
9k 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 ...
7
votes
1answer
21k views

How do I enable extended attributes on ext4?

I want to experiment with Ceph, and it needs extended attributes enabled. How do I mount my filesystem with this support?
2
votes
2answers
4k views

How to extend ext4 with gparted?

I am having short in disk space in my ubuntu /dev/sda6 and i have 11.08 GB of free space unallocated in the sense.I have followed different article about the repartition but they are not working here ...
3
votes
1answer
9k views

Recover EXT4 partition

I was trying to resize my EXT4 partition and something went wrong. I lost it. The space in once consumed is now being represented as Unallocated. How do I recover the partition?
51
votes
2answers
50k 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 ...
5
votes
4answers
38k 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.
8
votes
3answers
23k 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 ...
6
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 ...
4
votes
2answers
1k views

How to resize an ext4 encrypted home partition?

Which is the best way in order to resize an encrypted (ecryptfs) ext4 home partition ? Pros nad Cons of each method are greatly appreciated. $ fdisk -l Disk /dev/sda: 256.1 GB, 256060514304 bytes ...
12
votes
4answers
49k 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 ...
8
votes
2answers
8k 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?
8
votes
3answers
12k 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.
3
votes
5answers
7k views

Move ext4 partition

I have an ext4 partition at the end of an hard drive, and want to resize it to the full disk size (the rest of the disk is empty). It's not the root partition, just a data partition, so it's no ...
2
votes
2answers
16k views

GParted merge unallocated space to ext4 partition

Here I want to merge unallocated space to ext4 partition. But during running in Ubuntu it is not allowed. Am I right? It has key picture. I must do that Ubuntu DVD booting from it and selecting try ...
2
votes
2answers
2k views

How to make a drive NTFS from EXT4?

I want to know how to make a drive ( non-system ) from EXT4 to NTFS. Can anyone help me out?
26
votes
2answers
16k 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 ...
9
votes
7answers
24k 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
2answers
27k 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 ...
5
votes
1answer
5k 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 ...
2
votes
1answer
1k views

File recovery after reformattig ext3/4 partition — extract old journal/superblock?

I seem to have reformatted my /home partition (previously ext4) as ext3 during an Ubuntu installation. It took me a couple of mounts to figure that out. Which, of course, is a bad thing. I've tried ...
9
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 ...
3
votes
1answer
4k views

Cannot mount disk at all. Detailed explanation, Need help

I can no longer mount an extra internal hard drive on my Ubuntu 11.04 64-bit system. I could up until a few days ago. I think this has something to do with the problem ---- I had added a line at the ...
2
votes
2answers
6k views

Why is disk usage greater than the size of all files on it?

I have a 3TB HDD. In the properties screen of the HDD, it says that I have used 471.4GB, but when I select all the files in nautilus, it says that 321.0GB is selected. If I only have 321.0GB of ...
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 ...
5
votes
2answers
239 views

How can I create an EXT4 partition with an extra large number of inodes?

About inodes In Ubuntu, each file and directory is a so-called inode. You can use df -i to check the number of inodes in use and available for all mounted filesystems. Question If you create a new ...
5
votes
2answers
8k views

Do I use ext4 for all partitions (such as / and /boot)? What are the other formats used for?

I'm installing ubuntu onto a new laptop with 24gb SSD and a 500gb HDD. I wanted to put / and swap onto the SSD and /home onto the HDD. Is there anything I shouldn't use ext4 for? I do not ever intend ...
3
votes
3answers
228 views

Amount of data written on a partition

Is there any way to find out how much data have been written on the partition since it was created? Talking about ext4 fs.
3
votes
2answers
1k views

Is it possible (aka safe) to resize a partition while the system is running?

I'm talking about resizing my root partition (/), while the system is on (I know that's usually impossible, but I'm just hoping there is some way to do it). I want to know if there is some way I can ...
2
votes
2answers
2k views

Copying to ntfs from ubuntu slower than ext4 - why?

Is copying to ext4 faster than copying to ntfs, because I was making new containers today on ext4 speed was 45Mb on ntfs same container size speed 14Mb, both containers where madden from ubuntu with ...
2
votes
1answer
18k views

How to check a mounted filesystem for errors in a reliable way

Following this question: Force fsck.ext4 on reboot, but really "forceful" Apparently the output of e2fsck -n is not reliable when you use it on a mounted filesystem, so its output should not be ...
1
vote
1answer
22k views

How to recover data from Ext4 partitions?

I've removed an old HDD from a computer and to install in another computer to use for data storage (personal files, specifically tv series episodes, not system files) and the file system that I've ...
1
vote
0answers
4k views

Recovering deleted ext4 Ubuntu partitions using TestDisk (None partition media table type) [closed]

All screenshot images in one album: http://imgur.com/a/gqPio#0 (updated: added deep search results) Question How do I write (recover) found partitions from [None] None partition media table ...
0
votes
1answer
881 views

/dev/sda2 contains a filesystem with error after partitioning (updated)

I just wanted to create a separate home partition on my Ubuntu 12.10 system. I booted the liveDVD, resized the sda2 partition (28gb of data resized to 30gb based on MiB [originally on a 100gb ...
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 ...
2
votes
2answers
89 views

What does the grey slice in disk usage represent?

When I right click on Properties for my ext4 partition I get the following pie chart: The meaning of the blue and white slices are fairly obvious, since they are in the legend to the right, but ...