Hi.
Recently I found weird behaviour of xfs on my root filesystem.
Kernel version is 2.6.0-test11-xfs, 2.6.2-rc3, 2.6.3-rc4. The last one wrote
this message on boot:
SGI-XFS CVS-2004-02-17_06:00_UTC with ACLs, realtime, no debug enabled
SGI XFS Quota Management subsystem
Steps to reproduce:
1. I booted the computer.
2. Immediately after boot I logged to text console. I used vi to edit
/boot/grub/menu.lst.
3. I ended vi and reboot machine with 'reboot' command. During reboot
process I saw "/dev/hda1 unmouted" (hda1 is my root partition).
During next boot I saw:
XFS mounting filesystem hda1
Ending clean XFS mount for filesystem: hda1
VFS: Mounted root (xfs filesystem) readonly.
But file menu.lst is filled with zeros.
After this I did next test.
1. I booted the computer.
2. I copied file /boot/grup/menu.lst~ to /boot/grup/menu.lst, /root/menu.lst,
/home/menu.lst.
3. Rebooted with 'reboot' command.
/boot/grup/menu.lst and /root/menu.lst were filled with zeros.
/home/menu.lst was OK. /home is different partition.
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 2094240 1326768 767472 64% /
/dev/mapper/system-test
519488 269464 250024 52% /home
If the computer is running for longer time, I can edit menu.lst and reboot and
everything is OK.
But if I just boot, edit a file on root partition and reboot, the file is every
time zeroed.
I think this isn't expected behaviour. Should I do more testing? Which one?
jan
--
|