12-22-2014 06:09 AM
Hi,
I was trying to resize a volume
# df -h /ab/dir1
Filesystem Size Used Avail Use% Mounted on
/dev/vx/dsk/Ab_DG/work
38G 16G 22G 41% /ab/dir1
vxassist maxgrow showed the following
# vxassist -g Ab_DG maxgrow work
Volume work can be extended by 19900416 to: 99592192 (48629Mb)
I used the command
#vxassist -g Ab_DG growto work 99592192
It returned no errors but when I checked the size again it has not changed.
# df -h /ab/dir1
Filesystem Size Used Avail Use% Mounted on
/dev/vx/dsk/Ab_DG/work
38G 16G 22G 41% /ab/dir1
When I tried to extend again
# vxassist -g Ab_DG maxgrow work
VxVM vxassist ERROR V-5-1-15319 Volume work cannot be extend within the given constraints: Not enough HDD devices that meet specification.
This means I have no free space. I am wondering where did the free space go if it did not add up to the volume. I restarted vxconfigd -k but that did not help. Can some one please explain and propose a solution
Solved! Go to Solution.
12-22-2014 10:59 AM
vxassist only extends the volume, not the filesystem. You should normally use vxresize to resize volume AND filesystem. You can use fsadm to extend the filesystem:
fsadm -b 99592192 /ab/dir1
See https://sort.symantec.com/public/documents/sfha/6.1/linux/manualpages/html/man/file_system/html/man1... for more details on using fsadm
Mike
12-22-2014 10:59 AM
vxassist only extends the volume, not the filesystem. You should normally use vxresize to resize volume AND filesystem. You can use fsadm to extend the filesystem:
fsadm -b 99592192 /ab/dir1
See https://sort.symantec.com/public/documents/sfha/6.1/linux/manualpages/html/man/file_system/html/man1... for more details on using fsadm
Mike
12-22-2014 05:53 PM
Many thanks Mike. I got it now and it worked great