Red Hat Bugzilla – Bug 426573
relatime no longer a mount option at boot
Last modified: 2008-07-14 17:24:50 EDT
Description of problem:
In my fstab, I have my local partitions (/ and a storage) set to mount with
relatime. New releases of the kernel have since my currently running version
(kernel-18.104.22.168-49.fc8) have failed to mount the partitions due to relatime
no longer being recognized as a mount option. Has support for the option been
dropped and if so, why?
Version-Release number of selected component (if applicable):
$ rpm -q kernel
kernel-22.214.171.124-49.fc8 // Works here (what I'm using now)
kernel-126.96.36.199-63.fc8 // Stopped working here
kernel-188.8.131.52-85.fc8 // Still doesn't work
Steps to Reproduce:
1. Have a partition mount with relatime in fstab.
2. Use new kernel
Fails to boot.
$ cat /etc/fstab
LABEL=/1 / ext3 relatime 1 1
LABEL=/boot /boot ext3 noatime 1 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
LABEL=SWAP-sda2 swap swap defaults 0 0
LABEL=storage /mnt/storage ext3 relatime 0 0
relatime is now the default in Fedora.
This is a mkinitrd bug.
I removed relatime from fstab and I still get the "relatime is not a valid
mount option" message with the newest kernel. The interesting thing is that
the kernel that works with it was then unable to mount / in read-write mode. I
would guess that this means that after doing relatime, you can't go without
(it's my guess at least).
*** This bug has been marked as a duplicate of 296361 ***