Operating System - HP-UX
1837677 Members
3216 Online
110117 Solutions
New Discussion

Re: increasing size of partitions using LVM & VxFS

 
juho majasaari
Occasional Contributor

increasing size of partitions using LVM & VxFS

I'm using LVM & VxFS and I should increase the size of usr&var etc, but it says they can't be unmounted etc.. What to do? :o
5 REPLIES 5
Helen French
Honored Contributor

Re: increasing size of partitions using LVM & VxFS

Hi,

It is better to extend these file systems in single user mode. You may find the users/processes accessing these file systems frequently. When the file systems are in use, you may not be able to umount those.

Bring the system to single user mode and umount the file systems.

HTH,
Shiju
Life is a promise, fulfill it!
Sanjay_6
Honored Contributor

Re: increasing size of partitions using LVM & VxFS

Hi Juho,

If you don't have OnlineJFS and you want to increase the size of /var and /usr, use this thread,

http://us-support3.external.hp.com/cki/bin/doc.pl/sid=e2a189d0039cbd1400/screen=ckiDisplayDocument?docId=200000046785431

You will have to boot into single user mode to do this.

Hope this helps.

Regds
James R. Ferguson
Acclaimed Contributor

Re: increasing size of partitions using LVM & VxFS

Hi:

Given that you don't have Online JFS (you should for the reason of dynamic resizing *and* for performance options at mount time), the easiest way to deal with this is to boot up into single user mode (where /usr and /var are *not* mounted), use the LVM commands in /sbin and when done, reboot.

Regards!

...JRF...
Christopher McCray_1
Honored Contributor

Re: increasing size of partitions using LVM & VxFS

Hello,

Shiju is correct. Unless you have OnlineJFS, you will have to drop down into single user mode to do this for /usr /var /opt /etc.

Hope this helps

Chris
It wasn't me!!!!
G. Vrijhoeven
Honored Contributor

Re: increasing size of partitions using LVM & VxFS

Hi,

those logical volumes are part of vg00 (root volume group). If you have online jfs installed you are able to increase the size online:

lvextend and fsadm

if not

you need to boot the server in single user mode.
interrupt the boot process
interact with ipl
hpux -is
# mount /usr
# lvextend -L /dev/vg00/lvol?
# extendfs /dev/vg00/lvol?
# mount /var
# cp the lvmcommand to other dir
# umount /usr
repeat this action for /usr.


Hope this will help,

Gideon