Caution: The procedure in this section can result in the loss of data if it is not performed properly. It is recommended only for experienced IRIX system administrators. You can delete a volume or any other XLV object by using the xlv_mgr command. The procedure is:
# umount /vol1
# xlv_mgr
xlv_mgr> show -long all
VOL root_vol (complete)
VE root_vol.data.0.0 [active]
start=0, end=988091, (cat)grp_size=1
/dev/dsk/dks0d2s0 (988092 blks)
VE root_vol.data.1.0 [active]
start=0, end=988091, (cat)grp_size=1
/dev/dsk/dks0d2s7 (988092 blks)
This example shows one high-level object, a volume with two plexes in a data subvolume (root_vol.data.0 and root_vol.data.1). Each plex has one volume element.
xlv_mgr> detach plex root_vol.data.1 plex_to_be_deleted
Detached objects must be given a name, in this case plex_to_be_deleted.
xlv_mgr> delete object plex_to_be_deleted
xlv_mgr> show -long all
VOL root_vol (complete)
VE root_vol.data.0.0 [active]
start=0, end=988091, (cat)grp_size=1
/dev/dsk/dks0d2s0 (988092 blks)
xlv_mgr> quit