Operating System - HP-UX
1855749 Members
5069 Online
104103 Solutions
New Discussion

Re: Resizing an VxVM volume

 
uadm26
Super Advisor

Resizing an VxVM volume

Hi guys,
I need to make some changes in two volumes of my disk group, dg_dados1. I have two volumes:
/dev/vx/dsk/dg_dados01/lvol_u06 - have free space
/dev/vx/dsk/dg_dados01/lvol_u04 - is full
But I have no space available in my disk group, so I want reduce size of lvol_u06 to increment in lvol_u04.How can i do that?
Important: these volumes have datafiles and I have the Oracle Instance running.
#vxdg -g dg_dados01 free
DISK DEVICE TAG OFFSET LENGTH FLAGS

Thanks for all
JT
2 REPLIES 2
Prashanth.D.S
Honored Contributor

Re: Resizing an VxVM volume

Hi,

Command to resize..

#vxassist -g diskgroup shrinkto volume_name new_length

#vxassist -g diskgroup growby volume_name length_change

Check man vxassist for more information.

Best Regards,
Prashanth
Prashanth.D.S
Honored Contributor

Re: Resizing an VxVM volume

Hi,

Above command may not resize the filesystem, you can use

vxresize to change the length of a volume containing a file system..

Best Regards,
Prashanth