4. Unmount the root file system on slice 0 from the /mnt mount point.
# umount /mnt
▼
To Update the vfstab File
After you copy the boot block and root files, update the vfstab file.
1. Mount the root file system from slice 0 of the new boot disk onto the /mnt mount
point.
# mount /dev/dsk/c7t16d0 /mnt
2. Change directories to /mnt/etc and open the vfstab(4) file for editing.
The following example shows the file systems defined.
# cd /mnt/etc
# vi vfstab
...
/dev/dsk/c0t0d0s1
/dev/dsk/c0t0d0s0
/dev/dsk/c0t0d0s7
3. Replace the name of the temporary boot disk with the name of the new boot disk,
and then save and quit the file.
The following example shows the disk name c0t0 changed to c3t8 in the mount
table entries for slices 0, 1, and 7.
/dev/dsk/c7t16d0s1
/dev/dsk/c7t16d0s0
/dev/dsk/c7t16d0s7
:wq
#
32
Sun StorageTek PCI-X Enterprise 2 Gb FC Single Port Host Bus Adapter Installation Guide • January 2007
-
-
swap
/dev/rdsk/c0t0d0s0
/dev/rdsk/c0t0d0s7
-
-
swap
/dev/rdsk/c7t16d0s0
/dev/rdsk/c7t16d0s7
-
no
-
/
ufs
1
/home
ufs
2
-
no
/
ufs
/home
ufs
no -
yes -
-
1 no
-
2 yes -