Operating System - HP-UX
1834665 Members
2429 Online
110069 Solutions
New Discussion

Extending a veritas file system

 
vinuhcl
Advisor

Extending a veritas file system

Hi all,
Anybody can give me the steps to extend a veritas file system in HP-UX??
The following is my file system which needs to be extended.

Filesystem kbytes used avail %used Mounted on
/dev/vx/dsk/rootdg/vol6
16269312 16074536 193288 99% /ftpcarrier.

I want to extend this to 4GB

Thanks and regards,
Vinu
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: Extending a veritas file system

Shalom Vinu,

Its the rootdg so its going to be a pain.

http://h10076.www1.hp.com/education/datasheets/h7087s.pdf

Background
http://www.docs.hp.com/en/B3936-90100/ch03s06.html

Regards,

SEP

Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
whiteknight
Honored Contributor

Re: Extending a veritas file system

Vinu,

Please refer to the manual

Increasing the size of a volume
(a) LVM
lvextend -L NEW_SIZE LV [/dev/dsk/cXtYdZ]

(b) VxVM
vxassist [-g DG] growto VOL NEW_SIZE (e.g. vxassist -g gms_dg vol04 1000)
or

vxassist [-g DG] growby VOL SIZE_INCREASE (e.g. vxassist vol04 200)

WK
Problem never ends, you must know how to fix it
Kapil Jha
Honored Contributor

Re: Extending a veritas file system

I think this doc gonna help youa lot.

http://seer.entsupport.symantec.com/docs/246233.htm

Please tell me if your rootdg is mirrored???
and you just have to increase vol6.
Please send vxprint -thg rootdg.

BR,
Kapil
I am in this small bowl, I wane see the real world......
Armin Kunaschik
Esteemed Contributor

Re: Extending a veritas file system

Since you're useing VxVM simply do
/etc/vx/bin/vxresize -g rootdg vol6 20g
You checked already for enough free space (vxdg free)?

This will do everyting in one step (compared to vxassist grow and fsadm).

Armin

PS: Please assign points if you find answers useful!
And now for something completely different...