1752822 Members
4660 Online
108789 Solutions
New Discussion юеВ

Re: File system space.

 
SOLVED
Go to solution
Davis Paul
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?
Regards,
Davis Paul.
5 REPLIES 5
Aneesh Mohan
Honored Contributor
Solution

Re: File system space.

Hi Davis,

do

boot your system in single user mode
#vgchange -a y vg00
#lvextend -L size /dev/vg00/lvol7
#extendfs -F vxfs /dev/vg00/rlvol7
#mountall
#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


Thanks,
Jeeshan
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
Darrel Louis
Honored Contributor

Re: File system space.

Davis,

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.

Goodluck
Darrel
Davis Paul
Valued Contributor

Re: File system space.

Thanks for ur answers...
gherbi
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