Questions tagged [ext4]

The ext4 or fourth extended filesystem is a journaling file system for linux/*nix developed as the successor to ext3.

469 questions
3
votes
1 answer

Does ZFS, using default settings, use more physical space than ext4 for the same amount of data?

I'm currently considering a switch from ext4 to ZFS and am having trouble finding information about whether or not it uses more or less space to store the same amount of data as ext4. My understanding is that it uses checksums for data integrity,…
Curtis
  • 503
  • 2
  • 9
3
votes
1 answer

18TB with ext4 filesystem

I have the server with 4 disks 6TB each. At start disks were configured as RAID 10 and I had 11TB partition with ex4 filesystem on it. I grew up RAID from level 10 to 5 and now it’s 17.9TB. After reconfiguring RAID I used resize2fs for resize…
3
votes
2 answers

How to pass multiple options to `tune2fs -E mount_opts`?

According to the manual: mount_opts=mount_option_string Set a set of default mount options which will be used when the file system is mounted. Unlike the bitmask-based default mount options …
lvella
  • 314
  • 2
  • 13
3
votes
0 answers

What could go wrong with ext4 on LVM on a hardware RAID6?

Intro Recently one of my systems using ext4 on LVM on hardware RAID6 experienced a disastrous failure. To name some of the disasters: several filesystems failed beyond repair, at least one was granted ladders to heavens. It really took me by…
PF4Public
  • 219
  • 2
  • 13
3
votes
0 answers

fstrim vs. mount -o discard: How come discard.... doesn't?

I've noticed from time-to-time that running fstrim on mounted ext4 filesystems yields massive amounts of trimmed space even when these filesystems are mounted with the discard option. I thought the discard mount option was supposed to trim ext4…
Server Fault
  • 3,714
  • 12
  • 54
  • 89
3
votes
1 answer

EXT4 filesystem corruption

I have a CentOS 6x server and running a Java application on it, the application is using a mount point /javapp which is an EXT4 filesystem. suddenly I got the following error in the system logs: kernel: attempt to access beyond end of device …
Zach
  • 131
  • 2
3
votes
1 answer

Ext4 Sub directory scalability

According to http://ext4.wiki.kernel.org/index.php/Ext4_Howto says: Right now the maximum possible number of sub directories contained in a single directory in Ext3 is 32000. Ext4 breaks that limit and allows unlimited number of sub…
spot
  • 63
  • 1
  • 5
3
votes
1 answer

Create KVM storage pool using a ext4 formatted drive

I have a secondary hdd that I would like to use as a storage pool for my KVM host. Here is the xml file I use to create the storage pool, guest_images_disk
user2887201
  • 223
  • 1
  • 2
  • 5
3
votes
2 answers

Is it possible to update stripe-width on an existing, and used, ext4 fs?

I have a RAID 5 with 5 3TB drives (8 in few weeks), on a Debian. There is only one ext4 partition on it, using all the space available. Actually, due to origins of the RAID (4 drives), the ext4 fs stripe-width is set to 384. But with 5 drives, it's…
Moff Tigriss
  • 33
  • 1
  • 4
3
votes
3 answers

centos 6.3 increase disk size on /

I have a VM running CentOS 6.3. LVM is not installed. From the VM side, I have increased the underlying disk from 15GB to 40GB, so I now need to expand the partition and file system. I've managed to boot into "Rescue Mode" so no file systems are…
woter324
  • 233
  • 1
  • 3
  • 10
3
votes
3 answers

How can I modify the wtime of ext filesystem

How can I modify the superblock of an ext filesystem so that I can set the field wtime (Last write time)? I've tried with debugfs: debugfs 1.42.9 (4-Feb-2014) debugfs: open /dev/sdd2 -w debugfs: ssv wtime "@0x64000000" debugfs: show_super_stats…
bat_ventzi
  • 201
  • 2
  • 5
3
votes
1 answer

How do I replace the root filesystem (ext4) with a new one in LVM with one which has more inodes?

I have a few systems which have been running over a decade in a cluster on SLES 10 (now long past EOL). We're migrating to CentOS 6 64-bit. I got everything done but the final data syncs, and lo and behold, surprise, I ran out of disk…
Fairlight
  • 33
  • 2
3
votes
2 answers

How to increase inodes?

How can I increase the maximum amount of inodes available on a dedicated server running CentOS 6.5 and ext4? The websites we are hosting create and use millions of small files. We are already hitting the limit, and had to remove several sites to get…
user1155594
  • 177
  • 1
  • 1
  • 6
3
votes
2 answers

FS for many small files, mostly reads?

I need a direction since all the blogs/benchs seems to contradict. Goal: Having a lot of small files on FS in a directory tree fashion similar to this AB/CD/EF... Two size groups : G1 : 10-20 kB G2 : 100-500kB I need really fast access to server…
Larry
  • 145
  • 1
  • 8
3
votes
1 answer

ext2 to ext4: Convert/upgrade or create new

We have a filesystem, on LVM, created as ext2 - and in daily use running 8-10 webservers (software, tempfiles, logfiles). The discs are "local" to the OS, but are really SAN disks provided to the VmWare ESX server. Our "server" is a virtual server…
sastorsl
  • 362
  • 2
  • 15