[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Mount option "relatime" doesn't work on kernel-2.6.23.1-21.fc7



On Tue, 2007-11-06 at 23:15 -0500, Todd Zullinger wrote:
> Georg Wittig wrote:
> > kernel-2.6.23.1-21.fc7 doesn't boot when I use the mount option
> > "relatime" for the root filesystem in /etc/fstab. It complains about
> > an unknown mount option when trying to mount the root filesystem.
> > Finally booting stops with kernel panic.
> > 
> > kernel-2.6.23.1-10.fc7 works fine.
> 
> Does https://bugzilla.redhat.com/296361 (nash mount should support
> relatime) shed any light on the problem you're having?  Particularly
> this comment[1]:
> 
>     Comment #4 From Stu Tomlinson on 2007-10-30 21:40 EST
> 
>     This is not directly dependent on kernel version, but on the mount
>     options specified in /etc/fstab *at the time a kernel update is
>     installed*.
> 
>     I now know that relatime is actually the default now, so anyone
>     encountering this can remove relatime from their /etc/fstab and
>     rebuild the initrd for their kernel to avoid this bug (I still
>     think the patch should be applied for safety), and still have /
>     mounted using relatime.
> 
>     To rebuild your initrd you can run:
>      /sbin/new-kernel-pkg --package kernel --mkinitrd --depmod --install 2.6.23.1-10    
>     after removing the relatime flag from /etc/fstab. (This is
>     probably an overkill way of rebuilding the initrd, it may be
>     sufficient to run:
>      mkinitrd /boot/initrd-2.6.23.1-10.fc7.img 2.6.23.1-10.fc7
>     but I know the 1st command is what kernel rpm installs use).

Make sure you specify the "-f" flag to mkinitrd if you don't delete the
old initrd image first.

> 
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=296361#c4
> 
> -- 
> fedora-list mailing list
> fedora-list redhat com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
----------------------------------------------------------------------
- Rick Stevens, Principal Engineer             rstevens internap com -
- CDN Systems, Internap, Inc.                http://www.internap.com -
-                                                                    -
-          Consciousness: that annoying time between naps.           -
----------------------------------------------------------------------


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]