Wednesday, March 14, 2018

[fedora-arm] Re: Changing / from xfs to ext4 ?

On 3/13/18 10:36 PM, linux guy wrote:
>
> ​I'm not sure what the error is exactly.  I just know that a) it is happening and b) this process is more than I want to get into.  https://serverfault.com/questions/777299/proper-way-to-deal-with-corrupt-xfs-filesystems.

If you can provide relevant information about what you are actually
encountering (as opposed to unvetted howtos on the internet) I'd be
more than happy to help.

In general, though the howto is not far off but covers more than you
need. Just:

1) run xfs_repair
2) if repair tells you you have a dirty log to replay, mount/unmount & rerun
3) if mount fails with a corrupt log, run xfs_repair -L to clear it

This isn't much different from ext4 other than the fact that repair
can't replay a dirty log and it requires a mount/umount cycle.

Again, all of this indicates a deeper problem; xfs is the victim of some
other flaw if power loss requires repair.

Thanks,
-Eric
_______________________________________________
arm mailing list -- arm@lists.fedoraproject.org
To unsubscribe send an email to arm-leave@lists.fedoraproject.org

No comments:

Post a Comment