Disk Swap Question


Go to solution Solved by JorgeB,

Recommended Posts

Good day all, I swapped a 3TB drive for a 14TG drive in unRaid.

I followed the instructions in the manual to the letter and everything is proceeding as per that document.

The question is:  The day before the drive upgrade I moved all the data/share off of the 3TB disk and onto another HDD.

At this point parity should have known that the data had been moved (or some other indexing system) and when I added in the 14TB drive the rebuild should not have been needed, so why is a rebuild to an empty disk happening?

Seems a severe waste of my time as I have other config items to do on the server.

A few just like this, so how can I avoid a rebuild for an empty drive?

Link to comment
14 minutes ago, whwunraid said:

Good day all, I swapped a 3TB drive for a 14TG drive in unRaid.

I followed the instructions in the manual to the letter and everything is proceeding as per that document.

The question is:  The day before the drive upgrade I moved all the data/share off of the 3TB disk and onto another HDD.

At this point parity should have known that the data had been moved (or some other indexing system) and when I added in the 14TB drive the rebuild should not have been needed, so why is a rebuild to an empty disk happening?

Seems a severe waste of my time as I have other config items to do on the server.

A few just like this, so how can I avoid a rebuild for an empty drive?

The answer is that you cannot!   A drive with no files on it still has data as far as parity is concerned.  It works at the raw sector level and only sectors that are all zeroes would not affect parity.   Deleting the current contents does not zero all sectors, and even if it did you would still have all the sectors that are used to maintain the file system information.

 

it sounds as if it would pay you to read the section on how parity works from the Overview in the Unraid documentation.

Link to comment

This would seem simple enough to get around from an OS level if someone wanted to take the time to set it up.

Maybe a feature request as I am sure this wastes serious amounts of time for many of our users.

 

Thanks for your help...

 

PS... The documentation for unRaid would be way more helpful with information like this in the appropriate sections.

Making the assumption that the documentation makes itself fully transparent to users unfamiliar with the low level details of how a system operates is short sighted.

Also might make less traffic on the forums. 😉

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.