[Bug 344761] Re: XFS corrupts data when filesystem full (on sw-raid5)
Dave Chiluk
344761 at bugs.launchpad.net
Mon Mar 5 21:41:29 UTC 2018
Closing Won't fix as this version has end of lifed.
** Changed in: xfsprogs (Ubuntu)
Status: New => Incomplete
** Changed in: xfsprogs (Ubuntu)
Status: Incomplete => Won't Fix
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to xfsprogs in Ubuntu.
https://bugs.launchpad.net/bugs/344761
Title:
XFS corrupts data when filesystem full (on sw-raid5)
Status in xfsprogs package in Ubuntu:
Won't Fix
Bug description:
My file server is using Ubuntu 8.04.2 and has a software raid5 volume (mdadm) that is formatted with XFS. The volume is ~1TB (4x320GB).
The root-partition is mounted from a USB-flashdrive (1GB large).
The volume got full by mistake and a program tried repeatedly to write
to the full volume (not as root), and succeeded. This resulted in the
server began to behave strangely. The server load was up for about
7.00 despite the fact that "top" showed that both cores was idling.
After a reboot, the XFS volume could not be mounted, error message:
XFS: log mount / recovery failed: error 5
XFS: log mount failed
mount: /dev/md0: can not read super block
After I run "# xfs_repair -L /dev/md0" the files that were written
when the disk was full ended up in "lost+found", and when I tried to
run "# xfs_check /dev/md0" the whole system freezed after about 20min.
I could make a hard reset and mount the file system, but not use
xfs_check without freezing the system again.
If you need more details, tell me what commands to run.
I have four main questions/problems:
1) Why a non-root program could write to the full volume.
2) Why xfs_check freeze my whole system.
3) Could the problems be caused by a corrupted USB-flashdrive (corrupted binaries)?
4) How do I check the USB-drive for corruption (so I can exclude it from this bug)?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xfsprogs/+bug/344761/+subscriptions
More information about the foundations-bugs
mailing list