[gentoo-user] Fast checksumming of whole partitions

2010-06-05 Thread meino . cramer

Hi,

 this night dd copies the contents of my first
 1TB disk to my second 1TB disk (same Model).

 (dd if=/devsda of=/dev/sdb bs=4096)

 I want to verify, that the copy is identical.

 I tried (or: I am still trying) to checksum 
 the first disk with

 whirlpooldeep /dev/sda

 whch seems to work but is DAMN slow (in relation
 to checksumming 1TB in whole).

 Is there any faster and reliable way to checksum
 whole paritions (not on per file base)???

 Thank you very much in advance for any help!

 Best regards,
 mcc

-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




Re: [gentoo-user] Fast checksumming of whole partitions

2010-06-05 Thread Andrea Conti
  Is there any faster and reliable way to checksum
  whole paritions (not on per file base)???

It depends on where your bottleneck is...

If you're cpu-bound you can try with a faster hash: md5sum or even
md4sum would be a good choice (collision resistance is irrelevant in
this application).

On the other hand, if you're limited by disk throughput (which is most
likely) there is not much you can do. After all, you have to read the
data in order to hash it, and that takes time.

andrea