Users Guide
Broadcom BT-FC-LPE-UG124-100
16
Emulex Boot for the Fibre Channel Protocol User Guide
11. Create a file system for each partition that contains a mounted file system.
newfs -v /dev/rdsk/clt1d0s0 (becomes root)
newfs -v /dev/rdsk/clt1d0s6 (becomes usr)
newfs -v /dev/rdsk/clt1d0s7 (becomes export/home)
12. Create temporary mount points for the new partitions.
mkdir root2
mkdir usr2
mkdir export2
13. Mount, copy, and then unmount the usr2 file system.
mount /dev/dsk/clt1d0s6 /usr2
c0t0d0s6 ufsdump 0f - /dev/rdsk/c0t0d0s6 | (cd /usr2; ufsrestore rf -)
umount /usr2
14. Copy the export/home file system.
mount /dev/dsk/clt1d0s7 /export2
ufsdump 0f - /dev/rdsk/c0t0d0s7 | (cd /export2; ufsrestore rf -)
umount /export2
15. Perform a copy.
mount /dev/dsk/clt1d0s0 /root2
ufsdump 0f - /dev/rdsk/c0t0d0s0 | (cd /root2; ufsrestore rf -)
16. Edit /root2/etc/vfstab, changing the controller number, target number, and LUN number to point to the new FC
boot disk. For example, if the FC boot disk is c1t1d0, replace all local disk entries of c0t0d0 with c1t1d0.
Currently the file shows:
/dev/dsk/c0t0d0s1 (swap)
/dev/dsk/c0t0d0s0 and /dev/rdsk/c0t0d0s0 (root)
/dev/dsk/c0t0d0s6 and /dev/rdsk/c0t0d0s6 (usr)
/dev/dsk/c0t0d0s7 and /dev/rdsk/c0t0d0s7 (export)
Edit the file to show:
/dev/dsk/c1t1d1s1 (swap)
/dev/dsk/clt1d0s0 and /dev/rdsk/c1t1d0s1 (root)
/dev/dsk/clt1d0s6 and /dev/rdsk/c1t1d0s6 (usr)
/dev/dsk/clt1d0s7 and /dev/rdsk/c1t1d0s7 (export)
17. Reboot the system.
sync
sync
halt
reset-all
18. Boot to disk.
boot disk
The system should boot to the FC disk.
19. View the current dump device setting.
dumpadm