Parity errors after shrinking array with cleared disks


Recommended Posts

Hi all,

 

Sanity check here. I removed two drives that had been cleared of data (ls -la showed 0 on each drive).

I stopped the array, new config, kept parity and cache slots.

Assigned everything back, removing drives 6 and 7, moving everything after slot 5 up two slots. 

Enter encryption passphrase, tick parity is valid, start array.

All came back fine, all data is there. 

Run parity check, and lots of errors, as if it's recomputing everything.

 

My understanding was if there was no data on the drives, parity shouldn't have to be rebuilt.

At this point if I have to rebuild parity that's fine - not the end of the world - I just want to make sure I haven't made a massive oopsie.

 

Thanks!

server-diagnostics-20210123-1343.zip

Edited by -Daedalus
Link to comment

"No data" in this case means every sector on the disk contains zeros (so the the parity calculations remain valid when they are removed)

 

in your case you have a file system on the disks showing no files .... the file system structure are data.

 

Also if you used to have files on the drive then the content of the files are almost certainly still there .... it is just the directory entry describing where the file is the was deleted.

 

so an empty file system is not the same as a disk containing just zeros.

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.