Re: Question regarding XFS crisis recovery

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/15/21 11:14 AM, Sean Caron wrote:
I guess, after blowing through four or five "Hope you have a backup,
but if not, you can try this and pray" checkpoints, I just want to
check with the developers and group here to see if we did the best
thing possible given the circumstances?

Overall I suppose that what you did sounds reasonable, unless I'm missing
something about the MD raid state. Having that many drives failing out
sounds bad.  Any idea how many blocks got skipped with your dd clone?

Xfs_repair is it, right? When things are that scrambled, pretty much
all you can do is run an xfs_repair and hope for the best? Am I
correct in thinking that there is no better or alternative tool that
will give different results?

well ... from the xfs POV, yes, but xfs_repair is not a data recovery tool,
it is designed to make the filesystem consistent again, not to recover
all data.  (that might sound a bit glib, but while repair obviously tries
to salvage/correct what it can, in the end, the goal is consistency.)

There's not much xfs_repair can do if the block device has been severely
scrambled beneath it.

Can a commercial data recovery service make any better sense of a
scrambled XFS than xfs_repair could? When the underlying device is
presenting OK, just scrambled data on it?

maybe? :) not sure, personally. I have never used a data recovery service.

Sorry for your data loss. I'd suggest asking these questions of the
md raid folks as well, because I think that's where your problems started,
and frankly xfs / xfs_repair may have been handed an impossible task.

(Not blaming md; perhaps the hardware failure made this all inevitable,
but maybe they md devs thoughts on your recovery attempts.)

-Eric



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux