Maintaining Mirrored Systems | CentreVu CMS Release 3 Version 8 | |
Adding new disks to a nonstandard mirrored system | 67 | |
|
|
|
7.Add the olds directories to your path:
#PATH=$PATH:/usr/opt/SUNWmd/sbin:/olds
#export PATH
8.Create new versions of the setup files by entering the following command:
#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
9.Load the file /olds/md.tab.new into an editor and check to make certain it names all of your disks, including the ones you just added. (For an example of the format of an md.tab file, see “Examples of valid system files” on page 79.)
10.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
11.Replace the existing md.tab file with the one you created in Step 8:
#cp /olds/md.tab.new /etc/opt/SUNWmd/md.tab
12.Attach one of the newly installed disk drives to each of the d21 submirrors (d19 and d20):
#metattach d19 <newdisk1>
#metattach d20 <newdisk2>
where <newdisk1> and <newdisk2> represent the device names of the disk drives you have just added. For example:
#metattach d19 c0t10d0s1
#metattach d20 c0t11d0s1