dd / netcat / md5sums: hashes do not match
From: solana (solana_nexus_at_hotmail.com)
Date: 09/17/03
- Previous message: Pete Finnigan: "Re: help with detecting IP settings"
- Next in thread: all mail refused: "Re: dd / netcat / md5sums: hashes do not match"
- Reply: all mail refused: "Re: dd / netcat / md5sums: hashes do not match"
- Reply: Mark Hittinger: "Re: dd / netcat / md5sums: hashes do not match"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 17 Sep 2003 10:31:36 -0700
Hey..
situation:
got a partition /dev/hda1 I would like to create a true binary copy
of, across the network, creating a file on the other side I can later
on mount as a loop device.
A is the machine with the partition I would like to copy, a
vmware-linux guest system (vmware 4.0.2)
B is the machine I would like to end up with the file that contains
the part of A, the linux host system B is running as guest in.
both machines have standard ext2 filesystems.
transfer across network w/ netcat.
B# nc -l -p 6789 | dd of=./hda1.img bs=512 conv=noerror
A# dd if=/dev/hda1 bs=512 conv=noerror | nc <B's IP> 6789
getting something like this:
A: (source)
3084416+0 records in
3084416+0 records out
B: (dest)
1464124+184839 records in
1464124+184839 records out
network connection is 100MBit/sec FE.
the image hda1.img on B gets created fine. I can even mount it with
B# mount -ro,loop,noatime ./hda1.img /mnt/hdacopy
however, the md5 hashes dont check out / do not match up.
Any idea what I am doing wrong?
thanks!!!
- Previous message: Pete Finnigan: "Re: help with detecting IP settings"
- Next in thread: all mail refused: "Re: dd / netcat / md5sums: hashes do not match"
- Reply: all mail refused: "Re: dd / netcat / md5sums: hashes do not match"
- Reply: Mark Hittinger: "Re: dd / netcat / md5sums: hashes do not match"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]