Re: File system space. (91 Views)
Reply
Valued Contributor
Davis Paul
Posts: 163
Registered: ‎11-19-2007
Message 1 of 6 (91 Views)
Accepted Solution

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.
Honored Contributor
Aneesh Mohan
Posts: 804
Registered: ‎07-02-2007
Message 2 of 6 (91 Views)

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,
Honored Contributor
Jeeshan
Posts: 2,084
Registered: ‎11-05-2007
Message 3 of 6 (91 Views)

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
Darrel Louis
Posts: 856
Registered: ‎11-27-2000
Message 4 of 6 (91 Views)

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
Valued Contributor
Davis Paul
Posts: 163
Registered: ‎11-19-2007
Message 5 of 6 (91 Views)

Re: File system space.

Thanks for ur answers...
Occasional Advisor
gherbi
Posts: 13
Registered: ‎11-07-2006
Message 6 of 6 (91 Views)

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
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.