Solstice DiskSuite 4.2.1 User's Guide

Example -- Removing a Diskset

After checking the prerequisites ("Prerequisites for Removing DiskSuite Objects"), and the preliminary information ("Preliminary Information for Removing Hosts and Disks From Disksets"), use the metaclear(1M) and metaset(1M) commands to completely remove a diskset. Refer to the metaclear(1M) and metaset(1M) man pages for more information.


red# metaclear -s relo-red -a
red# metaset -s relo-red -d -h blue
red# metaset -s relo-red -f -d c1t2d0 c1t3d0 c2t2d0 c2t3d0 c2t4d0 c2t5d0
red# metaset -s relo-red -d -h red

The metaclear -a command clears (removes) all metadevices and hot spare pools from the relo-red diskset. Next, host blue is deleted from the diskset, followed by the shared disk drives. Finally, the last host in the set, in this case, red, is deleted from the diskset. This last command removes the diskset from the system.