Help! 2 disk with "Wrong or no file system"


Go to solution Solved by trurl,

Recommended Posts

Hello,

 

Today I received a message that disk 4 had errors on it. I looked at the smart report and it had a bunch of UDMA CRC errors, so I thought it was just a bad connection and was no big deal. I tooked the array down, to take it out, but it got stucked, so I did a normal reboot (with the GUI). When it came back online it now shows that another disk has an unmontable file system, and the errors of the first one disappeared.

 

As you can see both drives are Seagate drives. All the other drives are connected to a HBA card, but those two where having problems with it so I connected them directly with sata cables.

What's the best approach I can take dealing with this situation? Do I try changing the cables, the port and just start rebuilding? I cannot understand why another drive went unmontable.

Thank you!

firefox_Qxl9OtBdgA.png

Link to comment
9 minutes ago, JorgeB said:

Did you re-start the array in normal mode? If yes post new diags.

Restarting in normal made made disk8 come back! Thanks!

I now have disk4 disabled with the wrong filesystem. Do I try the same procedure? Or I format it and start a rebuild?

Link to comment
4 minutes ago, jcarre said:

Or I format it

Never format, that's not part of a rebuild.

 

First run xfs_repair and depending on the result decide if you rebuild on top or not, i.e., if the emulated disk is fixable and contents look correct and there's nothing or not much in a lost+found folder.

Link to comment
57 minutes ago, jcarre said:

Or I format it and start a rebuild?

If you format the only thing it can rebuild is a formatted disk. Parity is updated on all write operations, write, move, copy, delete, format are all write operations. Format writes an empty filesystem to the disk, parity is updated, and so then rebuild can only rebuild an empty filesystem.

Link to comment
54 minutes ago, JorgeB said:

run xfs_repair

on the disabled / emulated disk. It works just like the other repair you did, but doesn't really change the physical disk itself. It just repairs the emulated disk, same as when reading or writing a disabled disk, its contents are emulated by reading all other disks and parity, and updating parity for writes.


After the emulated disk is repaired, if the results look good then you can rebuild those results. If not then you can consider if the actual contents of the physical disk are better.

 

If you do the rebuild to another disk, you have both the original and the rebuilt repair and can compare and get files from either.

Link to comment

The repair is done (it took a long time!) I uploaded the results in a file below, but it looks that a lot of things happened.
Don't know if it would be wise to just start the array with this drives. What do you think?

Other option is taking the drive out and putting it back to let it rebuild from parity right?

Thanks!.

Edit: uploaded file seems to not be working. Use: https://sharetext.me/mnzyojsjlt

xfs_repair results.txt

Edited by jcarre
Link to comment

Probably best to go with the actual disk then, unless you have a spare you could use, to check the actual disk contents stop the array, unassign disk4, start the array (leave disk4 unassigned), stop the array, then you can mount actual disk4 with the UD plugin to see if it mounts and contents look OK, note that the array can't be started or the disk won't mount without first changing its UUID.

Link to comment
  • Solution
48 minutes ago, jcarre said:

Other option is taking the drive out and putting it back to let it rebuild from parity right?

Rebuilding from parity will give the same results as the repair. The parity array is emulating the repair you did, and rebuild always results in the same as the emulated disk. (how could it be otherwise?)

2 hours ago, trurl said:

After the emulated disk is repaired, if the results look good then you can rebuild those results. If not then you can consider if the actual contents of the physical disk are better.

 

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.