Problems with cloning a disk

From: Barry (barry.deevey@enmo.co.uk)
Date: Fri May 23 2003 - 09:40:44 EDT


Hi all,

I'm trying to clone a Solaris 8 O/S disk onto another disk.

Here's what I'm doing:
prtvtoc and fmthard -s to create the relevant slice information on the
target disk
'newfs /dev/rdsk/c0t1d0s0' to create the relevant filesystem, then 'mount -F
ufs -o rw /dev/dsk/c0t1d0s0 /mnt' and then 'ufsdump 0f - / | ( cd /mnt
;ufsrestore xvf - )'
Everything seems to be working fine as I run it, but when I try to boot from
the cloned disk, it cannot mount /usr (message states unable to mount or a
badly damaged filesystem) When I boot from the original disk 'mount -F
ufs -o rw /dev/dsk/c0t1d0s6 /mnt' works fine and 'fsck /dev/dsk/c0t1d0s6'
does not return any errors.

The above example is for the root filesystem, upon completion I umount /mnt
and then use the same commands for the other filesystems. I have also
altered /mnt/etc/vfstab for the target disk label before I unmounted it.)

If anybody has any suggestion they will be much appreciated. I will
summarise.

Many Thanks,
Barry.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:28 EDT