Sometime we need to rebuild device path for alternate boot disk eventhough we have succedded with bootdisk cloning. Whenever cloning bootdisk won't start, it could be some device path were missing.
Following is step to rebuild device path.
( Presumed: main bootdisk= c0t0d0s0; cloning bootdisk= c1t0d0s0 )
Starting from ok> prompt
ok> boot cdrom -s (either boot net -s)
# mount /dev/dsk/c1t0d0s0 /mnt
# cp /mnt/etc/path_to_inst /mnt/etc/path_to_inst.orig
# devfsadm -t /mnt -p /mnt/etc/path_to_inst
# cd /devices
# find . -print | cpio -pduVm /mnt/devices
==> note: find . (dot) - print |
==> output: ............................
# disks -r /mnt
==> Done
If decided that server will boot from c1t0d0s0, then /etc/vfstab need to be modified as well. (e.g. all system partition / filesystem should refer to c1t0d0)
No comments:
Post a Comment