- Select Actions -> Mirror-> Remove
- Remove by mirror name, quantity, or disk
#
vxassist –g datadg remove mirror volume [!] dm_name
Example:
# vxprint -th test1vol
Disk group:
ux4devdg
V
NAME RVG/VSET/CO
KSTATE STATE LENGTH
READPOL PREFPLEX UTYPE
PL
NAME VOLUME
KSTATE STATE LENGTH
LAYOUT NCOL/WID MODE
SD
NAME
PLEX
DISK DISKOFFS LENGTH [COL/]OFF
DEVICE MODE
SV
NAME
PLEX VOLNAME NVOLLAYR
LENGTH [COL/]OFF AM/NM MODE
SC
NAME
PLEX CACHE
DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC
NAME
PARENTVOL LOGVOL
SP
NAME
SNAPVOL DCO
EX
NAME
ASSOC
VC
PERMS MODE STATE
SR
NAME KSTATE
v
test1vol
-
ENABLED ACTIVE 10485760 SELECT -
fsgen
pl
test1vol-01 test1vol ENABLED
ACTIVE 10485760 CONCAT
- RW
sd
ux4devdg_62437_d00-01 test1vol-01 ux4devdg_62437_d00 0 10485760 0
TagmaStore-USP0_1 ENA
pl
test1vol-02 test1vol ENABLED
ACTIVE 10485760 CONCAT
- RW
sd
ux4devdg_62449_d00-01 test1vol-02 ux4devdg_62449_d00 0 10485760 0
TagmaStore-USP1_0 ENA
# vxassist -g diskgroup remove mirror volume! mirrordisk
#
vxassist -g ux4devdg remove mirror test1vol
!ux4devdg_62449_d00
After
Removing Mirror Copy:
# vxprint -th
test1vol
Disk group:
ux4devdg
V
NAME RVG/VSET/CO
KSTATE STATE LENGTH
READPOL PREFPLEX UTYPE
PL
NAME
VOLUME KSTATE
STATE LENGTH LAYOUT NCOL/WID
MODE
SD
NAME
PLEX DISK
DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV
NAME
PLEX VOLNAME NVOLLAYR
LENGTH [COL/]OFF AM/NM MODE
SC
NAME
PLEX CACHE
DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC
NAME
PARENTVOL LOGVOL
SP
NAME
SNAPVOL DCO
EX
NAME
ASSOC
VC
PERMS MODE STATE
SR
NAME KSTATE
v
test1vol
-
ENABLED ACTIVE 10485760 SELECT
- fsgen
pl
test1vol-01 test1vol ENABLED
ACTIVE 10485760 CONCAT
- RW
sd ux4devdg_62437_d00-01 test1vol-01 ux4devdg_62437_d00 0 10485760 0
TagmaStore-USP0_1 ENA
To
remove the plex that contains a subdisk from the disk datadg02:
# vxassist –g datadg remove mirror datavol !datadg02
To
remove the plex that uses any disk except datadg02:
# vxassist –g datadg remove mirror datavol datadg02
#
vxplex –g diskgroup dis plex_name
#
vxedit –g diskgroup –rf rm plex_name
Example:
# vxprint -th
test1vol
Disk group:
ux4devdg
V
NAME RVG/VSET/CO
KSTATE STATE LENGTH
READPOL PREFPLEX UTYPE
PL
NAME
VOLUME KSTATE
STATE LENGTH LAYOUT NCOL/WID
MODE
SD
NAME
PLEX
DISK DISKOFFS LENGTH [COL/]OFF
DEVICE MODE
SV
NAME
PLEX VOLNAME NVOLLAYR
LENGTH [COL/]OFF AM/NM MODE
SC
NAME
PLEX CACHE
DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC
NAME
PARENTVOL LOGVOL
SP
NAME
SNAPVOL DCO
EX
NAME
ASSOC
VC
PERMS MODE STATE
SR
NAME KSTATE
v
test1vol
-
ENABLED ACTIVE 10485760 SELECT
- fsgen
pl test1vol-01
test1vol ENABLED ACTIVE 10485760
CONCAT - RW
sd
ux4devdg_62437_d00-01 test1vol-01 ux4devdg_62437_d00 0 10485760 0
TagmaStore-USP0_1 ENA
pl
test1vol-02 test1vol ENABLED
ACTIVE 10485760 CONCAT
- RW
sd ux4devdg_62449_d00-01
test1vol-02 ux4devdg_62449_d00 0 10485760 0 TagmaStore-USP1_0 ENA
#
vxplex -g ux4devdg dis test1vol-02
#
vxedit -g ux4devdg -r rm test1vol-02
# vxprint -th test1vol
Disk group: ux4devdg
V
NAME RVG/VSET/CO
KSTATE STATE LENGTH
READPOL PREFPLEX UTYPE
PL
NAME
VOLUME KSTATE
STATE LENGTH LAYOUT NCOL/WID
MODE
SD
NAME
PLEX
DISK DISKOFFS LENGTH [COL/]OFF
DEVICE MODE
SV
NAME
PLEX VOLNAME NVOLLAYR
LENGTH [COL/]OFF AM/NM MODE
SC
NAME
PLEX CACHE
DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC
NAME
PARENTVOL LOGVOL
SP
NAME
SNAPVOL DCO
EX
NAME
ASSOC
VC
PERMS MODE STATE
SR
NAME KSTATE
v
test1vol
-
ENABLED ACTIVE 10485760 SELECT
- fsgen
pl
test1vol-01 test1vol ENABLED
ACTIVE 10485760 CONCAT
- RW
sd ux4devdg_62437_d00-01 test1vol-01 ux4devdg_62437_d00 0 10485760 0
TagmaStore-USP0_1 ENA