Questions tagged [ext4]

Use this tag for all questions about the ext4 (fourth extended) file system, which has been the default file system in Ubuntu since 2009.

ext4 (fourth extended filesystem) is a backward compatible journaling file system for Linux, developed as a direct successor to ext3.

ext4 has a number of improved features over ext3, such as:

  • Faster filesystem checking
  • Delayed and multi-block allocation
  • Journal and metadata checksumming
  • Transparent encryption
  • Maximum 16 Terabyte file size
  • Maximum 1 Exabyte volume size
726 questions
384
votes
10 answers

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 to the space allocated to the root partition…
BonboBingo
  • 3,942
96
votes
3 answers

df -h - Used space + Avail Free space is less than the Total size of /home

As the output of df -h shows here, something is eating up 5GB of free space. So, it's not available to use. I'm also noticing sometimes that the hard disk gets filled up to 100% sometimes. So, I had to restart the machine or delete some unncessary…
89
votes
2 answers

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 that with the Ext4 filesystem, which is now default…
Decio Lira
  • 8,154
82
votes
4 answers

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 to figure out why, and the only oddity I notice is…
David Parks
  • 2,586
63
votes
2 answers

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

What are the big differences between ext3 and ext4 from a generic user's perspective? I heard that sticking with ext3 is wiser. Is that true? EDIT: One thing I want to note is that I am a dual OS user (Windows & Ubuntu), so not being able to mount a…
60
votes
10 answers

How to read ext4 partitions in Windows?

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?
htorque
  • 66,086
52
votes
2 answers

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 utilities, a summary of some command-line sequences…
gth
  • 1,443
  • 1
  • 12
  • 15
41
votes
6 answers

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 up and reformatting?
wim
  • 13,088
37
votes
2 answers

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

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% / ... /dev/sda1 1008M 62M 896M 7% /boot …
30
votes
3 answers

How do I resize an ext4 partition beyond the 16TB limit?

When attempting to resize and old ext4 Partition that was created without the 64bit flag, resize2fs 1.42 will fail if the new size is or exceeds 16TiB. $ resize2fs -p /dev/mapper/target-device resize2fs: New size too large to be expressed in 32…
anx
  • 2,457
  • 2
  • 26
  • 38
28
votes
3 answers

New ext4 partition and used space

I have a 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 effect. I'm using LVM but I don't think that LVM…
Samuel
  • 383
26
votes
5 answers

EXT4-fs error after Ubuntu 17.04 upgrade

I have a Dell XPS 15 9550. I've been running Ubuntu 16.10 on it for four months with no dramas. Two days ago, I upgraded to Ubuntu 17.04. About an hour after upgrading, my hard-drive remounted into read-only mode. When I jumped to a tty screen, this…
Ben B
  • 681
  • 1
  • 6
  • 10
26
votes
1 answer

Format external hard drive to ext4 in command line

How do you format an external hard drive to ext4 via the command line in ubuntu?
26
votes
1 answer

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 where I need to expand the size of the virtual…
ysap
  • 7,191
25
votes
5 answers

How can I prevent Windows 10 from corrupting the ext4 superblock every time?

I have a pc with dual-boot Ubuntu/Windows since more than 5 years. The last working configuration was : windows 10 and Ubuntu 16.04 LTS. I install Ubuntu 16.10 on the Linux partition and have some problems: If I only boot on Linux, no problems, it…
f35
  • 944
1
2 3
48 49