Veritas Storage Foundation 5.1 SP1 Advanced Features Administrator"s Guide (5900-1503, April 2011)

# vxprint -g datadg
TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0
dg datadg datadg - - - - - -
dm THINARRAY0_02 THINARRAY0_02 - 83886080 - - - -
dm STDARRAY1_01 STDARRAY1_01 - 41943040 - -OHOTUSE - -
v datavol fsgen ENABLED 41943040 - ACTIVE - -
pl datavol-01 datavol ENABLED 41943040 - ACTIVE - -
sd STDARRAY1_01-01 datavol-01 ENABLED 41943040 0 - - -
pl datavol-02 datavol ENABLED 41943040 - ACTIVE - -
sd THINARRAY0_02-01 datavol-02 ENABLED 41943040 0 - - -
The above output indicates that the thin LUN corresponds to plex
datavol-02.
Direct all reads to come from those LUNs:
# vxvol -g datadg rdpol prefer datavol datavol-02
6
Remove the original non-thin LUNs.
Note: The ! character is a special character in some shells. This example shows
how to escape it in a bash shell.
# vxassist -g datadg remove mirror datavol \!STDARRAY1_01
# vxdg -g datadg rmdisk STDARRAY1_01
# vxdisk rm STDARRAY1_01
7
Grow the file system and volume to use all of the larger thin LUN:
# vxresize -g datadg -x datavol 40g da_name
Migrating data from thick storage to thin storage
Migrating to thin provisioning
116