[SOLVED]Yet ANOTHER...'Replacing Drives' Question


Recommended Posts

Short summary, positively identify the source and destination /dev/sd? devices, then issue a terminal command

 

dd if=/dev/sd(source) of=/dev/sd(destination) bs=1M conv=noerror,sync

 

Be VERY sure of the destination disk you put in the of (output file) section of the command, you really don't want to overwrite the wrong drive.

Link to comment

So...I won't use disk5, as trurl cautions; I'll put a 3T drive, I had previously copied and removed back in.

 

And this is the CLONE...

 

12 hours ago, JonathanM said:

dd if=/dev/sd(source) of=/dev/sd(destination) bs=1M conv=noerror,sync

 

Do this with array on or off? Do I need to do anything, to the RECEIVING disk...before running this command?

Link to comment
2 hours ago, CDLehner said:

Is there somewhere, I can watch progress?

Not really, had you pressed enter yet in that screenshot? I was thinking the blinking cursor would be at the beginning of the first blank line after you press enter.

 

If you haven't hit enter yet, you could add status=progress to the command, separated by a space of course.

dd if=/dev/sdi of=/dev/sdf bs=1M conv=noerror,sync status=progress

 

Link to comment

Hmm: when I walked in to check on this...the 1st thing I've been looking at, is the drive activity light on the slot I know I'm pulling from. NO LIGHT.

 

I was happy, to see this...meaning it seemed to be done; but, of course...as you can see...some errors.

 

What do we think gents?

 

unr7.jpg.0a2653f6985900f92b2afbe7e3814375.jpg

Edited by CDLehner
Link to comment
3 hours ago, CDLehner said:

I was happy, to see this...meaning it seemed to be done; but, of course...as you can see...some errors.

 

What do we think gents?

Looks good. The "error" is expected, we didn't tell dd when to quit, so it just ran until it got to the end of the device.

 

Now run

reiserfsck --scan-whole-partition --rebuild-tree /dev/sdf1

Link to comment

Well, since we are playing with the cloned device, and haven't touched the original, we can get experimental. If things don't work, we can always do the clone command again to start over.

So, lets try formatting as reiserfs to overwrite the XFS stuff.

mkreiserfs /dev/sdf1

Then try the scan whole partition rebuild tree command.

Link to comment
  • CDLehner changed the title to [SOLVED]Yet ANOTHER...'Replacing Drives' Question

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.