Hi all
i have a veritas volume with the size of 600MB and formatted with vxfs filesystem. I want to grow the filesystem to 700MB. I knew that three ways are there to resize. vxresize, vxvol and vxassit. vxresize works fine. I want to try the same thing with vxvol and vxassist. Can someone tell me the command to do that? I could not understand the growby,growto,shrinkby and shrinkto options available in the vxassist command.
kingston is the vg name. vol00 is the volume name.
I am using VXVM 5.1 on solaris 5.10 (sparc, sun blade 150 machine)
I gave the following command to resize it through vxresize command.
vxresize -g kingston -b vol00 700m
Thanks in advance.
Try this command.
vxresize -g kingston -F vxfs vol00 700M
vxresize -g kingston -b vol00 700m
vxresize -g kingston -F vxfs vol00 700m
Both the commands are working fine. This is not my problem. I want to do the same with vxvol and vxassist command.
Try this using vxassit.
vxassist -g kingstong growto vol00 700m
for vxvol
vxvol set len=1400 vol01
vxassist command finished without any error. But my df -h output says, still the filesystem's capacity is 600M. How to resolve this?
the second command gives the following error
bash-3.00# vxvol -g kingston set len=1400 vol00
VxVM vxvol ERROR V-5-1-13569 Volume vol00: New length must be a multiple
of the disk group alignment.
VxVM vxvol INFO V-5-1-11896 Volume length is 1400 while disk group alignment is 16