Operating System - HP-UX
1827399 Members
6084 Online
109965 Solutions
New Discussion

how to resize(and ented file system) volume

 
navin
Super Advisor

how to resize(and ented file system) volume

Hello ,
I have a roodg with a volumes(vxvm) and layed out as vxfs. I have to resize one of the volume and grow the filesystem .How should i do this.Please help
Thanks
Learning ...
7 REPLIES 7
F Verschuren
Esteemed Contributor

Re: how to resize(and ented file system) volume

to go to 250 M
lvextend -L250 /dev/vg00/lvol??
fsadm -b 250M [mountpount]
ore
lvextend -L250 /dev/vg00/lvol??
umount ???
extendfs -F vxfs /dev/vg00/lvol??
mount ????
Sandman!
Honored Contributor

Re: how to resize(and ented file system) volume

Use either one of the commands below. To grow the vol from 10M to 20M do:

# vxassist growto 20M
OR
# vxassist growby 10M
navin
Super Advisor

Re: how to resize(and ented file system) volume

can i use vxresize..pls assist
Learning ...
Robert-Jan Goossens
Honored Contributor

Re: how to resize(and ented file system) volume

Nope, The size of rootvol and swapvol can only be changed during the OS installation or if you use a ignite tape/server and restore your configuration to a larger root filesystem.

Why do you need to extend / ?

Robert-Jan
navin
Super Advisor

Re: how to resize(and ented file system) volume

i'm not extending rootvol or swapvol. the appvol that is in rootdg
thanks
Learning ...
Sandman!
Honored Contributor

Re: how to resize(and ented file system) volume

>can i use vxresize..pls assist

Yes you can use vxresize [for increasing a volume from say 10M to 30M] as...

# vxresize -g -F vxfs 30M

and use fsadm_vxfs(1M) thereafter to extend the mount point.

~cheers
Robert-Jan Goossens
Honored Contributor

Re: how to resize(and ented file system) volume

# vxresize -F vxfs -g rootdg appvol +XXXm

Replace the XXX with the size you would like to add.

Regards,
Robert-Jan