Managing Disks 27
3. To delete the volume, type the following command:
For example:
If the RAID volume is an IS volume, the deletion of the RAID volume is
interactive, for example:
The deletion of an IS volume results in the loss of all data that it contains. As an
alternative, you can use the –f option to force the deletion if you are sure that you
no longer need the IS volume or the data it contains. For example:
# raidctl -d mirrored-volume
# raidctl -d c1t0d0
Deleting RAID volume c1t0d0 will destroy all data it contains,
proceed (yes/no)? yes
/pci@0/pci@0/pci@2/scsi@0 (mpt0):
Volume 0 deleted.
/pci@0/pci@0/pci@2/scsi@0 (mpt0):
Physical disk 0 deleted.
/pci@0/pci@0/pci@2/scsi@0 (mpt0):
Physical disk 1 deleted.
Volume c1t0d0 is deleted successfully!
# raidctl -d c1t0d0
Deleting volume c1t0d0 will destroy all data it contains, proceed
(yes/no)? yes
...
Volume c1t0d0 is deleted successfully!
#
# raidctl -f -d c1t0d0
Volume c1t0d0 is deleted successfully!
#