SUMMARY: copy a Harddisk

From: Jan M. STANKOVSKY (jan@ifs.univie.ac.at)
Date: Fri Aug 25 2000 - 04:18:36 CDT


Hallo !

Thanks to all!

It seems that piped tar is not a good way to copy hds.

possible solutions are:

(Danny)
ufsdump 0f - /dev/rdsk/cwtxdysz | (cd /newdirectory; ufsrestore xf -)
dd if=/dev/rdsk/cwtxdysz of=/dev/rdsk/cmtndpsq

(Thomas W. Holt Jr.)
cd /oldlocation ; find . | cpio -o | (cd /newlocation ; cpio -idv)

(Kevin Korb)
find . -mount -print | sort | cpio -pvdmu /target

(David Montgomery)
find path_to_source -depth -print | cpio -pdmv dest_dir

I will try the dd variant because I remember ufsdump (restore) had problems with
hard links (but on the other hand I could have been my fault)

Thanks to all who responded !

____________________________ __________________________________
Ing. Jan M. STANKOVSKY ][ +1 4277 38438
University of Vienna ][ +1 4277 38449
Dep. of Informationssystems ][ jan@ifs.univie.ac.at
1010 Vienna ][ http://www.ifs.univie.ac.at/~jan
____________________________][__________________________________

S
U BEFORE POSTING please READ the FAQ located at
N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
. and the list POLICY statement located at
M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
A To submit questions/summaries to this list send your email message to:
N sun-managers@ececs.uc.edu
A To unsubscribe from this list please send an email message to:
G majordomo@sunmanagers.ececs.uc.edu
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:
I http://www.latech.edu/sunman.html
S
T



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:15 CDT