Users Guide

Table Of Contents
Broadcom BT-FC-UG126-100
21
Emulex Boot for the Fibre Channel Protocol User Guide
5. Boot to the original local disk to set up the newly defined FC disk. Type the following command:
boot <local_disk>
where <local_disk> is the complete path or the alias of the original boot disk.
6. Run the format utility by typing the following command:
format
7. Select the target disk to become the new boot disk (for example, c1t1d0).
8. Select the partition option and partition the disk as desired.
9. Select the label option and write a volume label to the target disk.
For help with the format utility, refer to the man page, man format.
10. Install the boot on partition 0 of the target disk. (Type this command on one line.)
installboot /usr/platform/ `uname -i`/lib/fs/ufs/bootblk /dev/rdsk/clt1d0s0
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)