Solstice DiskSuite 4.2.1 User's Guide

How to Add Additional Drives to a Diskset (Command Line)

You can add drives to a diskset after it has been defined.

  1. Make sure you have met the prerequisites ("Prerequisites for Maintaining DiskSuite Objects") and have read the preliminary information ("Preliminary Information for Working With Disksets").

  2. Add a drive to an existing diskset by using the metaset(1M) command.


    # metaset -s diskset -a drivename ...
    

    In this command,

    -s diskset

    Specifies the name of a diskset on which metaset will work.

    -a

    Adds drives to the named diskset. 

    drivename...

    Specifies the drives to add to the diskset. Drive names are in the form cxtxdx; no "sx" slice identifiers are at the end of the name. The drivename must have the same major and minor names on all hosts in the diskset.

    When drives are added to a diskset, DiskSuite re-balances the metadevice state database replicas across the remaining drives. Refer to "Creating Disksets" for more information.


    Caution - Caution -

    You will lose data if you add drives that contain data.


  3. Verify that the host has been added to the diskset by using the metaset(1M) command without any options.


    # metaset
    

Example -- Adding Additional Drives to a Diskset


red# metaset -s relo-red -a c2t5d0
red# metaset
Set name = relo-red, Set number = 1
 
Host                Owner
  red                Yes
  blue
 
Drive               Dbase
  c1t2d0             Yes
  c1t3d0             Yes
  c2t2d0             Yes
  c2t3d0             Yes
  c2t4d0             Yes
  c2t5d0             No

This example adds drive c2t5d0 to diskset relo-red.


Note -

If you add or delete drives to a diskset while DiskSuite Tool is running, a dialog box appears stating that the configuration has changed. Either reload the configuration by selecting Rescan Configuration from the File menu, or exit DiskSuite Tool then restart it.