We recently have been upgrading our development environment to Fedora Core 12.
We ran into a known issue with mysql on an EXT4 partition and I need to find out how to edit my fstab to boot correctly and to optimize mysql.
First off the issue we see.
When we are running on the same OS with the same mysql, and on the same hardware. The only difference is that the fast server's database is located on an EXT3 partition and the slow server has the database on an EXT4 partition.
I have done some research on the issue and it seems the cause is EXT4 and many people have given their opinion about settings for mounting the drive.
Below I attached my fstab configuration. When I tried to make these additions to the fstab the server didn't come back up.
attr 0 1
The drives are Hardware RAID 1 mirror.
Fedora sees the drives and an LVM
it is formatted with EXT4.
Question: How should my fstab read for the / to utilize the barrier=0 and noatime settings.
Question: How should I best mount EXT4 drives in fstab.
# Created by anaconda on Thu Apr 28 08:57:26 2011
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
/dev/mapper/vg_webdev3-lv_root / ext4 defaults 1 1
UUID=26fbbb79-a246-4d88-a22d-f9ec726d9772 /boot ext4 defaults 1 2
/dev/mapper/vg_webdev3-lv_swap swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0