HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Showing results for 
Search instead for 
Did you mean: 

extend file system /var


extend file system /var


vg00 has four drives. Currently /var (mirrored) is on two drives that are nearly full. I want to extend /var to the second pair of drives. What is my procedure for PA-RISC, HP-UX 11.23?

Acclaimed Contributor

Re: extend file system /var

With onlineJFS it can be done just online, otherwise go into single user mode; vgextend to the new pair of drives, then lvextend and extend the fs.

Hope this helps!

There are only 10 types of people in the world -
those who understand binary, and those who don't.

No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Respected Contributor

Re: extend file system /var

Hi Jerry,

To increase the size of the volume u must have Online JFS installed, by that u can change the size of lvol run time.

lvextend -L /dev/vgXX/lvolXX

fsadm -F vxfs -b

Hope this helps U.

Vishnu Khandare
You should deserve before U desire!!!!
Honored Contributor

Re: extend file system /var


1. add the drives to vg00 => vgexted disk
2. implement PVG group ( man lvmpvg)if required.

3. lvextend -L xxxxMB /dev/vg00/lvol8 ( lvol8 - use lvol for var)

4. fsadm -b xxxxKB /var ( if online jfs installed)

if no online jfs, boot in to single usermod and use extendfs command to extend.

There are several threads available in ITRC itself which discuss about this.

Search in google , "extend /var + itrc" you will get many threads.

==> by the way, whats your current boot disk size.
why you want to span vg00 to an other disk?

"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie