Showing results for 
Search instead for 
Do you mean 

File system space.

Go to Solution
Valued Contributor

File system space.

Hi all,
I want to increase space in /var file system. /var is a vxfs file system. OS version is HP-UX B.11.23. Could you please give me the correct procedure for this?
Davis Paul.
Honored Contributor

Re: File system space.

Hi Davis,


boot your system in single user mode
#vgchange -a y vg00
#lvextend -L size /dev/vg00/lvol7
#extendfs -F vxfs /dev/vg00/rlvol7
#init 3

Taking in the consideration that /dev/vg00/lvol7 is your /var filesystem if this is not the correct lvol then substitude with your /var lvol

Note : size = existing size + new size

Honored Contributor

Re: File system space.

I just add something

If you have online JFS no need need to go for single user mode.

# lvcreate
# lvextend -L /dev/vg_name?lvname
# fsadm -F vxfs -b M /var
a warrior never quits
Honored Contributor

Re: File system space.


You don't need to do this in single user mode if you have OnlineJFS installed.

# lvextend -L n /dev/vg00/lvolx
# fsadm -b 1024n /var
The n stands for the new size of the LV.

Valued Contributor

Re: File system space.

Thanks for ur answers...
Occasional Advisor

Re: File system space.

HI Davis,

I want just to add something :

I you have mirror disk you must add the -m option
For exemple :

lvextend -m 1 /dev/vg00/lvox /dev/dsk/c1t3d0