xfs root paniced and 2.6.18-1.2239.fc5 (initrd passing invalid logbufs option to mount)
Clem Taylor
clem.taylor at gmail.com
Wed Dec 6 01:54:12 UTC 2006
I just tried to reboot a fileserver box running fc5, previously with
2.6.17-1.2187 to 2.6.18-1.2239.
The kernel paniced remounting the root filesystem. With:
XFS: logbuf size for version 1 logs must be 16K or 32K
mount: error mounting /dev/root on /sysroot as xfs: Invalid argument.
My /etc/fstab had:
LABEL=/ / xfs logbufs=8,logbsize=64k 1 1
So I changed this to:
LABEL=/ / xfs defaults 1 1
which results in the same error, as does:
LABEL=/ / xfs logbufs=8,logbsize=32k 1 1
$ xfs_info /
meta-data=/dev/root isize=2048 agcount=16, agsize=481950 blks
= sectsz=512
data = bsize=4096 blocks=7711200, imaxpct=25
= sunit=0 swidth=0 blks, unwritten=1
naming =version 2 bsize=4096
log =internal bsize=4096 blocks=3765, version=1
= sectsz=512 sunit=0 blks
realtime =none extsz=65536 blocks=0, rtextents=0
running strings on initrd-2.6.18-1.2239.fc5smp shows:
mkrootdev -t xfs -o logbufs=8,logbsize=64k,ro sda3
initrd-2.6.18-1.2200.fc5smp.img does:
mkrootdev -t xfs -o logbufs=8,ro sda2
And this line doesn't show up in 2.6.17-1.2187. FC5 by default is
creating a version 1 xfs log, so trying to mount with a 64k logbsize
won't work.
Other then upgrading to a version 2 (the tools weren't available the
last time I tried) any ideas how to fix this?
Any ideas?
Clem
More information about the fedora-list
mailing list