James Klaas wrote:
> I've been struggling to recover/repair an XFS partition that is on a
> Linux software raid. This is on Ubuntu Feisty (7.04) with xfsprogs
> v2.8.18.
>
> When I try to mount the system, it attempts a recovery:
>
> [127094.470809] Filesystem "md0": Disabling barriers, not supported by
> the underlying device
> [127094.471954] XFS mounting filesystem md0
> [127094.613551] Starting XFS recovery on filesystem: md0 (logdev: internal)
> [127094.858897] Filesystem "md0": XFS internal error
> xfs_btree_check_sblock at line 334 of file fs/xfs/xfs_btree.c. Caller
> 0xf8eda9fb
The simplest approach, though perhaps not the least prone to data loss,
is to run xfs_repair with the -L option to zero out the log before
proceeding.
You could also mount -o ro,norecovery first to back up as much critical
data as possible, beforehand.
-Eric
|