minor adjustments below...
Darren J Moffat wrote:
Asif Iqbal wrote:
Hi
I have a X2100 with two 74G disks. I build the OS on the first disk
with slice0 root 10G ufs, slice1 2.5G swap, slice6 25MB ufs and slice7
62G zfs. What is the fastest way to clone it to the second disk. I
have to build 10 of those in 2 days. Once I build the disks I slam
them to the other X2100s and ship it out.
if clone really means make completely identical then do this:
boot of cd or network.
dd if=/dev/dsk/<sourcedisk> of=/dev/dsk/<destdisk>
Where <sourcedisk> and <destdisk> are both localally attached.
I use prtvtoc and fmthard to duplicate the disk label (before the dd)
Note: the actual disk geometry may change between vendors or disk
firmware revs. You will first need to verify that the geometries are
similar, especially the total number of blocks.
For dd, I'd use a larger block size than the default. Something like:
dd bs=1024k if=/dev/dsk/<sourcedisk> of=/dev/dsk/<destdisk>
The copy should go at media speed, approximately 50-70 MBytes/s for
the X2100 disks.
-- richard
_______________________________________________
opensolaris-discuss mailing list
[email protected]