Summary: how to copy filesystems from an old disk to a new one using ufsdump

From: Chunhang Gong <cg98ah_at_yahoo.ca>
Date: Thu May 30 2002 - 09:47:32 EDT
Hello to all,

Many many thanks to all you for your time and your
help.

The solution:

method 1, backup the whole filesystems structure from
an old disk to the new one:
  
example: (new disk is c0t1d0, old disk is c0t3d0)
 
 # mount /dev/dsk/c0t1d0s5  /backup
 # ufsdump 0f - /dev/rdsk/c0t3d0s5 | (cd
/backup;ufsrestore xf -)

in this way, the whole contents on c0t3d0s5 have been
dumped onto c0t1d0s5.

method 2, backup the whole filesystems structure from
an old disk into data file on the new disk:
 
example:
 # mount /dev/dsk/c0t1d0s7 /backup
 # cd /backup; 
 # mkdir ufsbackup
 # ufsdump 0f /backup/ufsbackup/root.ufs
/dev/dsk/c0t3d0s0

Thanks everyone again.

Chunhang


______________________________________________________________________ 
Find, Connect, Date! http://personals.yahoo.ca
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu May 30 09:55:22 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:44 EST