Jump to content

remote parity disk?


Recommended Posts

You mean a 1:1 copy of the parity disk disconnected and stored in its box somewhere?

Just clone it as you can clone any disk, you can use dd command.

dd if=/dev/sdX of=/dev/sdY

Where X is the source drive and Y is the target drive.

You can append to that command also bs= to specify block size (no option defaults to 512 bytes)

Link to comment
50 minutes ago, MilkSomelier said:

If there is any way to have a copy of the parity disk in a remote location 

I do not see any benefit to this as the moment the data on any of the array disks changes then the parity disk contents will no longer be valid.   As I said before what is it you are actually trying to achieve by doing this?

  • Upvote 1
Link to comment
9 minutes ago, itimpi said:

I do not see any benefit to this as the moment the data on any of the array disks changes then the parity disk contents will no longer be valid

With a lot of imagination I think he thinks to have a 1:1 backup of the parity drive in case it's the parity that fails, so to be able to swap it soon: never had a parity so I don't know if it will work to change the parity drive with another with the same content.

But if it's the parity drive that fails he can rebuild from valid datas on array...anyway, if he wants to have a backup...

 

oh and yes I see now what you mean, the moment you add a file or modify something into the array the parity backup will no longer be valid...so 100% useless

Edited by ghost82
Link to comment
1 hour ago, MilkSomelier said:

If there is any way to have a copy of the parity disk in a remote location 

As ghost82 said, yes, you can copy the disk just like any other disk.

 

Let me rephrase the question, that I think you really are meaning to ask

 

Quote

Is there is any way to have a copy of the parity disk in a remote location that will allow me to recover a failed drive if I put it back in the server?

The answer to that is NO, parity is continually synced to the rest of the data disks, and as soon as it is out of sync, ANY recovery using it will be corrupted beyond use.

 

Parity holds no data, it only completes the set with the data disks, so when any single disk is removed, it can answer the equation formed with the rest of the data disks. It is useless without the rest of the data disks.

 

All this is explained in the link I posted.

  • Upvote 1
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...