[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dd or cp over network: should I use scp?



Dotan Cohen:
>
> I need to dd or cp my laptop's harddrive over the LAN. For a reason
> that I'd rather not get into I cannot remove the drive from the
> laptop.

What do you want to achieve? Cloning a filesystem that is in use always
has some drawbacks, depending on the method.

If you use LVM: use snapshots. You'll get a dirty filesystem that needs
a fsck, but the result should be consistent.

Otherwise, I would probably use rsync because it might save time if the
copy is interrupted for some reason. Dd will probably yield very
inconsistent results when you use it to copy a filesystem that is in
use.

J.
-- 
I like my Toyota RAV4 because of the commanding view of the traffic
jams.
[Agree]   [Disagree]
                 <http://www.slowlydownward.com/NODATA/data_enter2.html>

Attachment: signature.asc
Description: Digital signature


Reply to: