Hi!
When remounting XFS filesystem read-only it causes xfs_force_shutdown and
filesystem is unreadable. After umount/mount it is back again. I have
2 partitions with xfs. Both of them are affected. Problem does not occur
when using Debian's stock kernel. xfs_check does not report any error.
This impacts Debian shutdown script, so that system cannot shutdown
properly. Shutdown process just hangs until reset button pressed.
To repeat it, just do "mount -o remount,ro /mnt".
System
------
* Debian Sarge AMD64
* gcc version 3.4.4 20050314 (prerelease) (Debian 3.4.3-13)
* Tyan 2882 Dual Opteron 240
* 8 x Maxtor Maxline 300GB SATA
* 1 x Maxtor 40GB PATA
Tested kernel versions:
* 2.6.17-rc1
* 2.6.17-rc1-mm2
* 2.6.17-rc1-git5
dmesg
-----
I/O error in filesystem ("md0") meta-data dev md0 block 0x7a483000
("xlog_iodone") error 5 buf count 131072
xfs_force_shutdown(md0,0x2) called from line 959 of file fs/xfs/xfs_log.c.
Return address = 0xffffffff80317568
Filesystem "md0": Log I/O Error Detected. Shutting down filesystem: md0
Please umount the filesystem, and rectify the problem(s)
xfs_info
--------
meta-data=/mnt isize=256 agcount=32, agsize=16026176 blks
= sectsz=512
data = bsize=4096 blocks=512836800, imaxpct=25
= sunit=32 swidth=224 blks, unwritten=1
naming =version 2 bsize=4096
log =internal bsize=4096 blocks=32768, version=2
= sectsz=512 sunit=32 blks
realtime =none extsz=917504 blocks=0, rtextents=0
- Onion
|