Viewing
Disk Groups: CLI
To display imported disk groups only:
# vxdg list
NAME STATE ID
testdg enabled,cds 1209460427.14.testdev
# vxdg list testdg
Group: testdg
dgid:
1209460427.14.cb17ux2dev
import-id: 1024.13
flags: cds
version: 140
alignment: 8192 (bytes)
local-activation: read-write
ssb: on
detach-policy: global
dg-fail-policy: dgdisable
copies:
nconfig=default nlog=default
config:
seqno=0.1029 permlen=48144 free=48140 templen=2 loglen=7296
config disk TagmaStore-USP0_1 copy 1 len=48144
state=clean online
config disk TagmaStore-USP1_0 copy 1 len=48144
state=clean online
log disk TagmaStore-USP0_1 copy 1 len=7296
log disk TagmaStore-USP1_0 copy 1 len=7296
To display all disk groups, including deported disk groups:
# vxdisk
–o alldgs list
c6t50060E80056D8304d84s2 auto:cdsdisk prdadg261
prdadg online thinrclm
nohotuse
c6t50060E80056D8304d85s2 auto:cdsdisk prdadg262
prdadg online thinrclm
nohotuse
c6t50060E80056D8304d86s2 auto:cdsdisk - (lproddbdg2) online thinrclm
c6t50060E80056D8304d87s2 auto:cdsdisk -
(lproddbdg2) online thinrclm
c6t50060E80056D8304d88s2 auto:cdsdisk -
(lproddbdg2) online thinrclm
To Display free space in a disk group:
Syntax: #
vxdg free (For all
disk groups that the host can detect)
# vxdg free
GROUP
DISK DEVICE TAG OFFSET LENGTH
FLAGS
testdg
disk01 TagmaStore-USP0_1
TagmaStore-USP0_1 0 20393728 -
testdg
disk02 TagmaStore-USP1_0 TagmaStore-USP1_0 0 20393728 -
Syntax: # vxdg –g diskgroup free (For a specific disk group)
# vxdg -g prdadg free
DISK
DEVICE TAG OFFSET LENGTH
FLAGS
prdadg273 c6t50060E80056D8331d6s2 c6t50060E80056D8331d6
81142528 32665088 -
Syntax:
vxassist –g diskgroup maxsize
# vxassist -g rpt1dg maxsize
Maximum volume size: 17762304 (8673Mb)
# vxassist -g db2prd_dasi_dg
maxgrow dasi_dmsprd_vol layout=mirror-stripe ncol=5 alloc=hledb2prd_11531_14183
hledb2prd_11531_14184 hledb2prd_11531_14185 hledb2prd_11531_14186
hledb2prd_11531_14187
hledb2prd_60353_12347
hledb2prd_60353_12348 hledb2prd_60353_12349 hledb2prd_60353_12350
hledb2prd_60353_12351
No comments:
Post a Comment