LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-19-2010, 11:05 AM   #1
mdfakkeer
Member
 
Registered: Jul 2009
Location: India
Distribution: Fedora,ubuntu
Posts: 35

Rep: Reputation: Disabled
How to verify harddisk after copying using DCFLDD utility with MD5 hash?


i wrote the following script for copy one source harddisk to 5 destination harddisk simultaneously.

dcfldd if=/dev/sda5 hash=md5 hashwindow=1000M md5log=md5.txt hashconv=after bs=512 conv=noerror,sync of=/dev/sdb of=/dev/sdc of=/dev/sdd of=/dev/sde of=/dev/sdf

after finising to run this command the image was trasfered to all harddirve. But no verfication message. i saw the hash value entry in md5 log.
Any body know how to check the source and destination clone properly
 
Old 04-19-2010, 04:10 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 19,398

Rep: Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991
I think you'd have to tar the install and then perform a md5. Might tar to a virtual or piped endpoint.

Usually installers have a list of files and folders that it compares to and has the md5 for each file.
 
Old 04-20-2010, 04:24 AM   #3
mdfakkeer
Member
 
Registered: Jul 2009
Location: India
Distribution: Fedora,ubuntu
Posts: 35

Original Poster
Rep: Reputation: Disabled
Thanks for your reply. Can you tell the implementation code of that. It is very help full to me
 
Old 04-20-2010, 04:19 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 19,398

Rep: Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991
The first suggestion is something like this. http://www.aboutdebian.com/tar-backup.htm

I guess the second would be similar but you'd have to make a file with maybe find command.

As you can tell I don't use scripts much. I can assure you there are script gods on this forum. Might re-ask the situation in a different form to include the question about script.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
md5 hash files mattydee Linux - Security 3 05-07-2008 07:42 PM
need help unpacking hmac-md5 hash into md5 hash lynx5 Programming 3 02-02-2008 05:06 PM
hash bye md5 algorithm vishalbutte Programming 5 02-18-2006 11:54 PM
checking MD5 hash issey Linux - Newbie 4 03-31-2005 02:15 AM
MD5 hash value dominant Linux - Newbie 2 05-07-2004 04:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration