MultiDrive – free backup, clone & wipe disk utility from Atola Technology

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Proper Cloning
PostPosted: December 28th, 2010, 14:18 
Offline

Joined: October 5th, 2010, 5:38
Posts: 22
Location: Canada
It took forever, but I rescued everything from a corrupt drive onto a brand new one with ddrescue.

I would now like to clone my healthy drive to have a 2nd copy of everything. I was told this is the syntax to use:

dd if=/dev/src of=/dev/dst bs=512000 count=2000000

Just wanted to double check if that's correct? ... would hate to do anything to jeopardize the data on this new drive.


Top
 Profile  
 
 Post subject: Re: Proper Cloning
PostPosted: December 28th, 2010, 14:51 
Offline

Joined: August 12th, 2008, 13:11
Posts: 3235
Location: USA
No need for count if you are cloning the entire drive

_________________
You don't have to backup all of your files, just the ones you want to keep.


Top
 Profile  
 
 Post subject: Re: Proper Cloning
PostPosted: January 2nd, 2011, 5:32 
Offline

Joined: October 5th, 2010, 5:38
Posts: 22
Location: Canada
i ran my command: dd if=/dev/sdb of=/dev/sda bs=512000
(making double sure the source and destination drives were right)

but now dd just sort of hangs, there's a flashing cursor, but no other output.
is that normal?

i know for sure linux could see both drives, it showed them both to me in /dev/ ...
* the 'source' new drive that has my recovered data was listed as sdb, sdb1, sdb5, sdb6 (same partition layout as the old failed drive that was previously ddrescued onto it)
* the 2nd brand new drive was listed as sda.
* there were no other sd_ entries shown, nor any other drives connected to motherboard.


Top
 Profile  
 
 Post subject: Re: Proper Cloning
PostPosted: January 2nd, 2011, 12:51 
Offline

Joined: August 12th, 2008, 13:11
Posts: 3235
Location: USA
Yep

_________________
You don't have to backup all of your files, just the ones you want to keep.


Top
 Profile  
 
 Post subject: Re: Proper Cloning
PostPosted: January 2nd, 2011, 17:26 
Offline
User avatar

Joined: May 16th, 2008, 17:38
Posts: 18
'bs' switch states: read and write BYTES bytes at a time
So if you change default 512 to 512000 dd can hang sometimes ;)
And for checking what is going on with dd you have to use kill command:
kill -USR1 [dd PID]

_________________
Odzyskiwanie danych - MyData.pl


Top
 Profile  
 
 Post subject: Re: Proper Cloning
PostPosted: January 2nd, 2011, 20:57 
Offline

Joined: October 5th, 2010, 5:38
Posts: 22
Location: Canada
Thanks for the info. I didn't realize when I ran it that dd is just kind of silent when it runs. But I believe it finished the clone job correctly.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 44 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group