Maintaining Mirrored Systems | CentreVu CMS Release 3 Version 8 | |
Adding new disks to a standard mirrored system | 64 | |
|
|
|
6.Reboot the system and log in as the root user:
ok boot
. . .
<hostname> login: root
password: <password>
. . .
#
7.Partition the new disks by following the instructions in “Partitioning disks with the format command” on page 76.
8.Check disk space by entering a df
# df |
|
|
|
|
|
Filesystem | kbytes | used | avail | capacity Mounted on | |
/dev/md/dsk/d13 | 772038 | 538683 | 156155 | 78% | / |
/proc | 0 | 0 | 0 | 0% | /proc |
fd | 0 | 0 | 0 | 0% | /dev/fd |
/dev/md/dsk/d21 | 3059955 | 192497 | 2867458 | 7% | /cms |
# |
|
|
|
|
|
|
|
|
|
|
|
Record the avail figure for /cms here: ______________________
9.Create new versions of the setup files by entering the following commands:
#cd /olds
#olds
<newdisk1> and <newdisk2> represent the device names of the disk drives added (remember that in a mirrored system, disk drives are always added in pairs). For example:
#olds
10.Load the file /etc/opt/SUNWmd/md.tab.new into an editor and make certain it names all of your disks, including the ones you just added. (For an example of the md.tab file format, see “Examples of valid system files” on page 79.)
11.Save a copy of the existing md.tab file by entering the following command:
#cp /etc/opt/SUNWmd/md.tab /etc/opt/SUNWmd/md.tab.mirror
12.Replace the existing md.tab file with the one you created in Step 10:
#cp /etc/opt/SUNWmd/md.tab.new /etc/opt/SUNWmd/md.tab