Q
4 – QSB2340/2342 FCode
To build a bootable disk, perform the following steps:
1.Determine the amount of disk space used/available on your current boot disk. Use the df command for a listing. For example:
/usr/bin/df
Filesystem | kbytes | used | avail | capacity | Mounted on |
/dev/dsk/c0t0d0s0 | 2577118 | 1650245 | 875331 | 66% | / |
/proc | 0 | 0 | 0 | 0% | /proc |
fd | 0 | 0 | 0 | 0% | /dev/fd |
mnttab | 0 | 0 | 0 | 0% | /etc/mnttab |
swap | 1310480 | 0 | 1310480 | 0% | /var/run |
swap | 1311344 | 864 | 1310480 | 1% | /tmp |
/dev/dsk/c0t0d0s7 | 5135326 | 114 | 5083859 | 1% | /home |
This df example shows that the current boot disk is /dev/dsk/c0t0d0s(x). There are two partitions of interest, slice 0 (/) and slice 7 (/home). Slice 0 uses 1.65 GB and has 875 MB free. Slice 7 uses 114 MB and has 5 GB free. Therefore, slice 7 (/home) contains enough disk space to store the temporary saveset files.
If there were not at least 1.7 GB free on this disk, you would need to create a partition on the new bootable disk large enough to hold the largest temporary saveset files plus the largest used space on a partition. In this example, it would be a 3.4 GB (1.7 GB+1.7 GB) partition.
2.Use the format command to create, label, and format partitions on the new bootable disk. These partitions must be able to contain the contents of your temporary saveset files. If you are not familiar with the format command, refer to the Solaris documentation.
WARNING!! Misusing the format command can destroy the data on your current disk drives.