Stripe:-
-bash-4.1# vxmake -g test sd sd1 d0,0,100m
-bash-4.1# vxmake -g test sd sd2 d1,0,100m
-bash-4.1# vxmake -g test plex plex1 sd=sd1,sd2 layout=stripe stwidth=64k
-bash-4.1# vxprint -svt
Disk group: test
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
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
sd sd1 plex1 d0 0 204800 0/0 c2d18 ENA
sd sd2 plex1 d1 0 204800 1/0 c2d17 ENA
-bash-4.1# vxprint -pvt
Disk group: test
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
pl plex1 - DISABLED - 409600 STRIPE 2/128 RW
-bash-4.1# vxmake -g test -U fsgen vol stripvol plex=plex1
-bash-4.1# vxprint -hvt
Disk group: test
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
v stripvol - DISABLED EMPTY 409600 ROUND - fsgen
pl plex1 stripvol DISABLED EMPTY 409600 STRIPE 2/128 RW
sd sd1 plex1 d0 0 204800 0/0 c2d18 ENA
sd sd2 plex1 d1 0 204800 1/0 c2d17 ENA
-bash-4.1# vxvol -g test start stripvol
-bash-4.1# vxprint -hvt
Disk group: test
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
v stripvol - ENABLED ACTIVE 409600 ROUND - fsgen
pl plex1 stripvol ENABLED ACTIVE 409600 STRIPE 2/128 RW
sd sd1 plex1 d0 0 204800 0/0 c2d18 ENA
sd sd2 plex1 d1 0 204800 1/0 c2d17 ENA
-bash-4.1# mkfs -F vxfs /dev/vx/rdsk/test/stripvol
version 10 layout
409600 sectors, 204800 blocks of size 1024, log size 1024 blocks
rcq size 1024 blocks
largefiles supported
maxlink supported
-bash-4.1# mount -F vxfs /dev/vx/dsk/test/stripvol /test
-bash-4.1# df -h /test
Filesystem Size Used Available Capacity Mounted on
/dev/vx/dsk/test/stripvol
200M 3.1M 185M 2% /test
GROw BY:-
-bash-4.1# vxprint -hvt
Disk group: test
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
v stripvol - ENABLED ACTIVE 409600 ROUND - fsgen
pl plex1 stripvol ENABLED ACTIVE 409600 STRIPE 2/128 RW
sd sd1 plex1 d0 0 204800 0/0 c2d18 ENA
sd sd2 plex1 d1 0 204800 1/0 c2d17 ENA
-bash-4.1# vxassist -g test growby stripvol 100m
-bash-4.1# vxprint -hvt
Disk group: test
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
v stripvol - ENABLED ACTIVE 614400 ROUND - fsgen
pl plex1 stripvol ENABLED ACTIVE 614400 STRIPE 2/128 RW
sd sd1 plex1 d0 0 307200 0/0 c2d18 ENA
sd sd2 plex1 d1 0 307200 1/0 c2d17 ENA
-bash-4.1# /usr/lib/fs/vxfs/fsadm -b 300m /test
UX:vxfs fsadm: INFO: V-3-25942: /dev/vx/rdsk/test/stripvol size increased from 409600 sectors to 614400 sectors
-bash-4.1# df -h /test
Filesystem Size Used Available Capacity Mounted on
/dev/vx/dsk/test/stripvol
300M 3.2M 278M 2% /test
GROW TO:-
-bash-4.1# vxassist -g test growto stripvol 500m
-bash-4.1# vxprint -hvt
Disk group: test
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
v stripvol - ENABLED ACTIVE 1024000 ROUND - fsgen
pl plex1 stripvol ENABLED ACTIVE 1024000 STRIPE 2/128 RW
sd sd1 plex1 d0 0 512000 0/0 c2d18 ENA
sd sd2 plex1 d1 0 512000 1/0 c2d17 ENA
shrink by:-
-bash-4.1# vxprint -hvt
Disk group: test
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
v stripvol - ENABLED ACTIVE 1024000 ROUND - fsgen
pl plex1 stripvol ENABLED ACTIVE 1024000 STRIPE 2/128 RW
sd sd1 plex1 d0 0 512000 0/0 c2d18 ENA
sd sd2 plex1 d1 0 512000 1/0 c2d17 ENA
-bash-4.1# vxassist -g test -f shrinkby stripvol 200m
-bash-4.1# vxprint -hvt
Disk group: test
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
v stripvol - ENABLED ACTIVE 614400 ROUND - fsgen
pl plex1 stripvol ENABLED ACTIVE 614400 STRIPE 2/128 RW
sd sd1 plex1 d0 0 307200 0/0 c2d18 ENA
sd sd2 plex1 d1 0 307200 1/0 c2d17 ENA
shrink to:-
-bash-4.1# vxprint -hvt
Disk group: test
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
v stripvol - ENABLED ACTIVE 614400 ROUND - fsgen
pl plex1 stripvol ENABLED ACTIVE 614400 STRIPE 2/128 RW
sd sd1 plex1 d0 0 307200 0/0 c2d18 ENA
sd sd2 plex1 d1 0 307200 1/0 c2d17 ENA
-bash-4.1# vxassist -g test -f shrinkto stripvol 100m
-bash-4.1# vxprint -hvt
Disk group: test
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
v stripvol - ENABLED ACTIVE 204800 ROUND - fsgen
pl plex1 stripvol ENABLED ACTIVE 204800 STRIPE 2/128 RW
sd sd1 plex1 d0 0 102400 0/0 c2d18 ENA
sd sd2 plex1 d1 0 102400 1/0 c2d17 ENA
through resize (hear no need to increae file system ):-
grow to:-
-bash-4.1# vxresize -g test stripvol 500m
grow by:-
-bash-4.1# vxresize -g test stripvol +100m
shrink by:-
-bash-4.1# vxresize -g test stripvol -100m
shrink to:-
-bash-4.1# vxresize -g test stripvol 100m
to remove:-
-bash-4.1# umount /test
-bash-4.1# vxvol -g test stop stripvol
-bash-4.1# vxedit -g test -rf rm stripvol
-bash-4.1# vxprint -hvt
==========or============
-bash-4.1# vxassist -g test make stripvol 100m layout=stripe stwidth=128k
-bash-4.1# vxprint -hvt
Disk group: test
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
v stripvol - ENABLED ACTIVE 204800 SELECT stripvol-01 fsgen
pl stripvol-01 stripvol ENABLED ACTIVE 204800 STRIPE 2/256 RW
sd d1-01 stripvol-01 d1 0 102400 0/0 c2d17 ENA
sd d0-01 stripvol-01 d0 0 102400 1/0 c2d18 ENA
-bash-4.1# vxassist -g test remove volume stripvol
-bash-4.1# vxmake -g test sd sd1 d0,0,100m
-bash-4.1# vxmake -g test sd sd2 d1,0,100m
-bash-4.1# vxmake -g test plex plex1 sd=sd1,sd2 layout=stripe stwidth=64k
-bash-4.1# vxprint -svt
Disk group: test
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
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
sd sd1 plex1 d0 0 204800 0/0 c2d18 ENA
sd sd2 plex1 d1 0 204800 1/0 c2d17 ENA
-bash-4.1# vxprint -pvt
Disk group: test
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
pl plex1 - DISABLED - 409600 STRIPE 2/128 RW
-bash-4.1# vxmake -g test -U fsgen vol stripvol plex=plex1
-bash-4.1# vxprint -hvt
Disk group: test
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
v stripvol - DISABLED EMPTY 409600 ROUND - fsgen
pl plex1 stripvol DISABLED EMPTY 409600 STRIPE 2/128 RW
sd sd1 plex1 d0 0 204800 0/0 c2d18 ENA
sd sd2 plex1 d1 0 204800 1/0 c2d17 ENA
-bash-4.1# vxvol -g test start stripvol
-bash-4.1# vxprint -hvt
Disk group: test
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
v stripvol - ENABLED ACTIVE 409600 ROUND - fsgen
pl plex1 stripvol ENABLED ACTIVE 409600 STRIPE 2/128 RW
sd sd1 plex1 d0 0 204800 0/0 c2d18 ENA
sd sd2 plex1 d1 0 204800 1/0 c2d17 ENA
-bash-4.1# mkfs -F vxfs /dev/vx/rdsk/test/stripvol
version 10 layout
409600 sectors, 204800 blocks of size 1024, log size 1024 blocks
rcq size 1024 blocks
largefiles supported
maxlink supported
-bash-4.1# mount -F vxfs /dev/vx/dsk/test/stripvol /test
-bash-4.1# df -h /test
Filesystem Size Used Available Capacity Mounted on
/dev/vx/dsk/test/stripvol
200M 3.1M 185M 2% /test
GROw BY:-
-bash-4.1# vxprint -hvt
Disk group: test
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
v stripvol - ENABLED ACTIVE 409600 ROUND - fsgen
pl plex1 stripvol ENABLED ACTIVE 409600 STRIPE 2/128 RW
sd sd1 plex1 d0 0 204800 0/0 c2d18 ENA
sd sd2 plex1 d1 0 204800 1/0 c2d17 ENA
-bash-4.1# vxassist -g test growby stripvol 100m
-bash-4.1# vxprint -hvt
Disk group: test
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
v stripvol - ENABLED ACTIVE 614400 ROUND - fsgen
pl plex1 stripvol ENABLED ACTIVE 614400 STRIPE 2/128 RW
sd sd1 plex1 d0 0 307200 0/0 c2d18 ENA
sd sd2 plex1 d1 0 307200 1/0 c2d17 ENA
-bash-4.1# /usr/lib/fs/vxfs/fsadm -b 300m /test
UX:vxfs fsadm: INFO: V-3-25942: /dev/vx/rdsk/test/stripvol size increased from 409600 sectors to 614400 sectors
-bash-4.1# df -h /test
Filesystem Size Used Available Capacity Mounted on
/dev/vx/dsk/test/stripvol
300M 3.2M 278M 2% /test
GROW TO:-
-bash-4.1# vxassist -g test growto stripvol 500m
-bash-4.1# vxprint -hvt
Disk group: test
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
v stripvol - ENABLED ACTIVE 1024000 ROUND - fsgen
pl plex1 stripvol ENABLED ACTIVE 1024000 STRIPE 2/128 RW
sd sd1 plex1 d0 0 512000 0/0 c2d18 ENA
sd sd2 plex1 d1 0 512000 1/0 c2d17 ENA
shrink by:-
-bash-4.1# vxprint -hvt
Disk group: test
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
v stripvol - ENABLED ACTIVE 1024000 ROUND - fsgen
pl plex1 stripvol ENABLED ACTIVE 1024000 STRIPE 2/128 RW
sd sd1 plex1 d0 0 512000 0/0 c2d18 ENA
sd sd2 plex1 d1 0 512000 1/0 c2d17 ENA
-bash-4.1# vxassist -g test -f shrinkby stripvol 200m
-bash-4.1# vxprint -hvt
Disk group: test
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
v stripvol - ENABLED ACTIVE 614400 ROUND - fsgen
pl plex1 stripvol ENABLED ACTIVE 614400 STRIPE 2/128 RW
sd sd1 plex1 d0 0 307200 0/0 c2d18 ENA
sd sd2 plex1 d1 0 307200 1/0 c2d17 ENA
shrink to:-
-bash-4.1# vxprint -hvt
Disk group: test
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
v stripvol - ENABLED ACTIVE 614400 ROUND - fsgen
pl plex1 stripvol ENABLED ACTIVE 614400 STRIPE 2/128 RW
sd sd1 plex1 d0 0 307200 0/0 c2d18 ENA
sd sd2 plex1 d1 0 307200 1/0 c2d17 ENA
-bash-4.1# vxassist -g test -f shrinkto stripvol 100m
-bash-4.1# vxprint -hvt
Disk group: test
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
v stripvol - ENABLED ACTIVE 204800 ROUND - fsgen
pl plex1 stripvol ENABLED ACTIVE 204800 STRIPE 2/128 RW
sd sd1 plex1 d0 0 102400 0/0 c2d18 ENA
sd sd2 plex1 d1 0 102400 1/0 c2d17 ENA
through resize (hear no need to increae file system ):-
grow to:-
-bash-4.1# vxresize -g test stripvol 500m
grow by:-
-bash-4.1# vxresize -g test stripvol +100m
shrink by:-
-bash-4.1# vxresize -g test stripvol -100m
shrink to:-
-bash-4.1# vxresize -g test stripvol 100m
to remove:-
-bash-4.1# umount /test
-bash-4.1# vxvol -g test stop stripvol
-bash-4.1# vxedit -g test -rf rm stripvol
-bash-4.1# vxprint -hvt
==========or============
-bash-4.1# vxassist -g test make stripvol 100m layout=stripe stwidth=128k
-bash-4.1# vxprint -hvt
Disk group: test
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
v stripvol - ENABLED ACTIVE 204800 SELECT stripvol-01 fsgen
pl stripvol-01 stripvol ENABLED ACTIVE 204800 STRIPE 2/256 RW
sd d1-01 stripvol-01 d1 0 102400 0/0 c2d17 ENA
sd d0-01 stripvol-01 d0 0 102400 1/0 c2d18 ENA
-bash-4.1# vxassist -g test remove volume stripvol
No comments:
Post a Comment