The ext4 or fourth extended filesystem is a journaling file system for linux/*nix developed as the successor to ext3.
Questions tagged [ext4]
469 questions
4
votes
3 answers
Does CentOS 5.x support ext4?
I believe the default OS file system in CentOS 5 is ext3.
Is it possible to use ext4 on Centos 5.x, or only on 6.x? Can I upgrade an existing ext3 filesystem to ext4?

edotan
- 1,876
- 13
- 39
- 57
4
votes
3 answers
different uuid from blkid and tune2fs
I copied (dd) a partition from /dev/sdb3 (GPT partition) to /dev/vg0/lv0_sys (lvm2 lv)
Sure to be required to adjust the uuid on one of them, I found that blkid shows me two different uuid's for the two. Surprised I looked for other ways to display…

Ingo
- 51
- 4
4
votes
1 answer
MySQL is VERY slow on my ext4 file system
I have a normal hardware, I just installed Ubuntu 11.04 anew. But something's completely wrong. PHPunit tests are REALLY slow.
I have no idea what's wrong. With ext3 all was normal.
Thanks.

valk
- 497
- 2
- 9
- 20
4
votes
3 answers
how do I convert a live root ext3 filesystem to ext4?
I have a root filesystem thats live and mounted and I'd like to convert it to ext4. All the howto's i've read deal with booting off a live CD but thats not an option.

incognito2
- 935
- 4
- 13
- 17
4
votes
1 answer
ACL's on Sci Linux 6 ext4 not behaving like I think they should
I've got a fresh install of Scientific Linux 6, and am playing a bit with acls. All filesystems are ext4.
In this particular case, I think have set up the acl's so that any user in the admin group has rwx access to /usr/src.
# setfacl -R -m…

user52874
- 829
- 2
- 12
- 26
4
votes
4 answers
Mount a ext4 partition on Mac OS X
Is it possible to mount a Linux ext4 partition on Mac OS X?
Please describe the procedure - risk free - thanks.
Edit Aug 2012
The best solution I found was to
use a 2nd machine with Linux,
mount on Linux the ext4 FS,
install NFS on Linux and…

Déjà vu
- 5,546
- 9
- 36
- 55
4
votes
2 answers
Failed MDADM Array With Ext.4 Partition - "e2fsck: unable to set superblock flags on /dev/md0"
Had a power failure and now my mdadm array is having problems.
sudo mdadm -D /dev/md0
[hodge@hodge-fs ~]$ sudo mdadm -D /dev/md0
/dev/md0:
Version : 0.90
Creation Time : Sun Apr 25 01:39:25 2010
Raid Level : raid5
…

Matthew Hodgkins
- 240
- 5
- 8
4
votes
2 answers
What are the merits of ext3 over ext4?
Specifically want to use the storage for music/video files but with a smattering of usual doc/xls/etc) - wondering if there is a concrete reason to go for one over the other.
Thanks

Jon
- 2,121
- 2
- 13
- 13
4
votes
1 answer
mkfs.ext4 error with option -O ^64bit
When I run /sbin/mkfs.ext4 -O ^64bit /dev/app/mysqldata command in a script it gives me below error:
nd(): null: With return code "1", Output from: "/sbin/mkfs.ext4 -O ^64bit /dev/app/mysqldata"
mke2fs 1.42.9 (20-Jan-2014)
mkfs.ext4: Size of device…

dbNovice
- 153
- 4
3
votes
1 answer
Best block size for fio when reading a file
To pre-warm an ext4 EBS volume I'm using fio as follows:
fio --name --filename --rw read --direct 1 --ioengine libaio --bs k
and I'm trying to understand what the optimal block size should be.
I know that I can 'stat' and…

XCore
- 177
- 2
- 7
3
votes
1 answer
EXT4 : journaling or not for embedded Nand
We've developed an app for embedded Linux clients (similar to raspberry Pi) and we are using 64 GB MLC Nand for storage. On our tests devices we see significant failure rate of 1/3 approximately. The SSDs reach max capacity of R/W after 6-8 months…

Gerry
- 31
- 2
3
votes
1 answer
how to get kubernetes to mount ext4 volumes over iscsi in journaled mode instead of ordered
I'm running kubernetes on Ubuntu 18.04.1, running some of my pods with mounts via ISCSI. I've noticed recently (maybe due to improperly unmounting the iscsi volume or for other reasons) that at least one of the iscsi extents (ext4 fs) is sometimes…

Evan R.
- 191
- 1
- 9
3
votes
2 answers
Partitioning - Is 5% reserved blocks required/recommended?
I'm performing a new Ubuntu Server installation, on hardware RAID 10, 6 x 1.72TB SSD, total space to partition is 5.8TB. The server is going to be used for KVM virtualisation.
I've allocated 500MB for /boot ext4
2GB for swap
Leaving 5.8T for /…

epea
- 406
- 1
- 9
- 19
3
votes
1 answer
rsync file size discrepancies
I have a few PC's with an ext4 filesystem that I want to backup to a file server which is also ext4. Problem is there are some discrepancies in file sizes when using rsync, and I have noticed this is due to sparse files.
The problem is I want to…

Brandon
- 31
- 1
3
votes
2 answers
How does SSD meta-data corruption on power-loss happen? And can I minimize it?
Note: This is a follow-up question to Is there a way to protect SSD from corruption due to power loss?. I got good info there but it basically centered in three area, "get a UPS", "get better drives", or how to deal with Postgres reliability.
But…

Yehosef
- 1,295
- 2
- 9
- 10