Dell Emulex Family of Adapters User Manual

Page 1414

Advertising
background image

Boot for the Fibre Channel Protocol User Manual

P010096-01A Rev. A

2. Boot from SAN

Solaris

1414

Example 3: did=6312200, lun=25 (hexadecimal) and target id=f (hexadecimal):

did 6312200 25 f set-boot-id

5. Boot to the original local disk to set up the newly defined FC disk. Type

boot local_disk

where local_disk is the complete path or the alias of the original boot disk.

Note: If the FC disk is not found when the system is rebooted, enter

touch

/

reconfigure and reboot. If the disk is still not discovered, edit the

/kernel/drv/lpfc.conf file and change the topology from 4 to 2 (or from 2 to

4). It may also be necessary to add an entry for the boot drive to the sd.conf

file.

6. Run the format utility:

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, see the man page “man format”.

10. Install the boot on partition 0 of the target disk. (Type this command as one line.)

installboot /usr/platform/ `uname -i`/lib/fs/ufs/bootblk /dev/rdsk/clt1d0s0

11. Create a filesystem for each partition that contains a mounted filesystem:

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, 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 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:

Advertising