SUMMARY: duplicating disk

From: root@teldor.netw.com
Date: Thu Jan 18 1996 - 14:22:35 CST


I had many many responses (over 35) to duplicating a disk while retaining all links. Thank you all.

My system is Solaris 2.4

the easiest/best method appears to be:

1. mkdir /mnt

2. mount /dev/dsk/c0t6d0s? /mnt
   cd /mnt
   ufsdump 0f - /dev/dsk/c0t3d0s? | ufsrestore rf -

replace "?" with appropriate partition number.

repeat step 2 for each slice/partition of the disk (? = 0,3-7)

--------------

of course my system was a mess and because i ended up putting 2 drives on to
one i used a combination of that as well as:

mounting both drives and using tar so as to pull individual directories.

  cd /directory;
  tar cvf - . | (cd /newdir; tar xvpf -)

there were other suggestions as well which may have worked easily as well or better such as using dd, volcopy, or cpio.

if what you need to copy is news you may want to consider deleting the news
and starting news over again --- it takes a long time if you have 100,000+ files.

and last but not least, don't bother buying cheap scsi cables. Go buy the best
and save yourself one more headache.

> i have an old disk whose time has come to retire.
> it is on scsi 3.
> i have a new disk on scsi 6.
> i want to duplicate scsi 3 as close as possible on scsi 6, retaining if possible
> all of the links, etc.
> scsi 6 is much larger than scsi 3 on all partitions.
>
> once it is done i will remove scsi 3 and change scsi 6 id to be scsi 3.
>
> how is it most simply done.



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:51 CDT