Jump to content

What would a filesystem check look like if there's errors on a disk?


Recommended Posts

I was told there might be corruption on disk 4 and to check the filesystem. I followed all the tips but disk 4 barely had any files on it and at the time it took like 10 seconds. I didn't see anything saying ERROR or giving me any corrections to do. I ran the -nv command for the check. Can someone tell me what I should be looking for to know if there's something I need to fix?

Link to comment

With -n nothing will be done, also the xfs_repair output doesn't always make it clear that corruption was found, unless the fs has a lot of issues, a way to check is to first run with -n and look at the exit code, 0 means no corruption detected, 1 means corruption detected, if the latter case run it again without -n.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...