Lucent Technologies 585-210-940 manual Maintaining Mirrored Systems, hostname login root

Models: 585-210-940

1 106
Download 106 pages 54.9 Kb
Page 70
Image 70
Manual background

Maintaining Mirrored Systems

CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems

Adding new disks to a standard mirrored system

64

 

 

 

6.Reboot the system and log in as the root user:

ok boot -r

. . .

<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 -kcommand. For example:

# df -k

 

 

 

 

 

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 -mirrored -mk_files <newdisk1> <newdisk2>

<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 -mirrored -mk_files c0t10d0 c0t11d0

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

Page 70
Image 70
Lucent Technologies 585-210-940 manual Maintaining Mirrored Systems, hostname login root