VERITAS Volume Manager 3.5 Administrator's Guide (September 2002)
Dissociating Subdisks from Plexes
144 VERITAS Volume Manager Administrator’s Guide
For example, to associate a subdisk named disk02-01 with a plex named vol01-02,
which is already associated with volume vol01, use the following command:
# vxsd aslog vol01-02 disk02-01
You can also add a log subdisk to an existing volume with the following command:
# vxassist addlog volume disk
This command automatically creates a log subdisk within a log plex on the specified disk
for the specified volume.
Dissociating Subdisks from Plexes
To break an established connection between a subdisk and the plex to which it belongs,
the subdisk is dissociated from the plex. A subdisk is dissociated when the subdisk is
removed or used in another plex. To dissociate a subdisk, use the following command:
# vxsd dis subdisk
For example, to dissociate a subdisk named disk02-01 from the plex with which it is
currently associated, use the following command:
# vxsd dis disk02-01
You can additionally remove the dissociated subdisks from VxVM control using the
following form of the command:
# vxsd -o rm dis subdisk
Caution If thesubdisk mapsa portion of a volume’saddress space, dissociating it places
the volume in DEGRADED mode. In this case, the dis operation prints a
warning and must be forced using the -o force option to succeed. Also, if
removing the subdisk makes the volume unusable, because another subdisk in
the same stripe is unusable or missing and the volume is not DISABLED and
empty, the operation is not allowed.
Removing Subdisks
To remove a subdisk, use the following command:
# vxedit rm subdisk
For example, to remove a subdisk named disk02-01, use the following command:
# vxedit rm disk02-01