Maintaining disk drives
Issue 3.3 February 2003 127
6. Enter:
nohup olds -setup | tee
This sets up the /cms metadevice.
The following message is displayed:
7. Enter:
mount /cms
This mounts the /cms file system.
8. Enter:
df -k /cms
The file system information for /cms is displayed. For example:
The kbytes figure should be somewhat smaller than the total disk space on the entire
system. In this example, the filesystem space is 15-GB for a system that has four 4.2-
GB disk drives. This implies that the replacement disk drive has been successfully
administered.
9. For an R3V6 or earlier system, install the swap file by entering:
olds -addswapfile /cms
10. Enter:
/usr/sbin/shutdown -y -i6 -g0
The system reboots.
...
prtvtoc: c0t6d0s0: device busy
device: c0t0d0 will not be used
valid disks are c0t0d0 c0t1d0 c0t2d0 c0t3d0
...
super-block backups (for fsck -F ufs -o b=#) at:
32, 16240, 32448, 48656, 64864, 81072, 97280, 113488,
...
10532656, 10548864, 10565072, 10580000, 10596208
ufs fsck: sanity check: /dev/md/rdsk/d19 okay
Success, activating or growing /cms metadevice
#
# df -k /cms
Filesystem kbytes used avail capacity Mounted on
/dev/md/dsk/d19 15271904 670412 14601492 5% /cms
#