"Ghost" IBM Thinkpad drive
Jason Clinton
me at jasonclinton.com
Tue May 18 14:53:59 CDT 2004
--=-D+7FXtQHHoJue5793DUl
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
On Mon, 2004-05-17 at 12:34, Charles Steinkuehler wrote:
> I'm currently trying:
> dd if=3D/dev/hda1 bs=3D512 | rsh user at remote.sys cat >image.file
This is correct if you intend to save an image to a file.
dd if=3D/dev/hda | ssh user at remoteIP "dd of=3D/dev/hda1"
would be used to copy one hard drive to another. Gzip's compression
algorithm is extremely light and can be made to be even lighter with the
--fast option. I highly recommend doing that. For your solution that
would mean:
dd if=3D/dev/hda | ssh user at remote "gzip --fast -c > file"
This doesn't compress the exchange but it does compress the storage. If
you have more CPU power on the source you could move the gzip to the
other side:
dd if=3D/dev/hda | gzip --fast -c | ssh user at remote "cat > file"
HTH
--=-D+7FXtQHHoJue5793DUl
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQBAqjFutSqjk42zvwkRApbZAKCMQywzEVrXUewE1m749xEy5N312QCeIdtX
b8hQhrdxFO3vL2ZeuyXxG1o=
=O03f
-----END PGP SIGNATURE-----
--=-D+7FXtQHHoJue5793DUl--
More information about the Kclug
mailing list