Operating System - HP-UX
1827741 Members
3190 Online
109969 Solutions
New Discussion

Re: increase /stand file system

 
Francisco Galan-Jimenez
Occasional Contributor

increase /stand file system

To install a patch on HPUX 11.0 I need to increase the file system /stand but wherener I try to umount it, it is in use.

How can I umount /stand, since it is used by the OS?
4 REPLIES 4
Patrick Wallek
Honored Contributor
Magdi KAMAL
Respected Contributor

Re: increase /stand file system

Hi Galan,

You can't unmount /stand !!! the hp-ux is on it. What you need to do is :

1. If your /stand which is on /dev/vg00/lvol1 is 150 MB and you want to extend it to 300 MB you issue the following command :

#lvextend -L 300 /dev/vg00/lvol1 /dev/dsk/c#t#d#

You may execute this command online and continue working .
Rob Mallard
Valued Contributor

Re: increase /stand file system

Actually /stand can be unmounted, but the lvextend command mentioned above will fail since the extent allocation policy is set to contiguous for /dev/vg00/lvol1, /dev/vg00/lvol2, and /dev/vg00/lvol3
Steffi Jones_1
Esteemed Contributor

Re: increase /stand file system

Hello Francisco,

maybe you can find a "workaround".
You will usually find a vmunix and a vmunix.prev file in /stand.
If you temporary need room in there you might want to move vmunix.prev or any other copies of vmunix out of /stand and try the patchinstall again.
A new kernel gen will put your current vmunix to vmunix.prev and create a new vmunix file.
If everything looks fine after a reboot you can probably get rid of all the old vmunix. files.
Of course this bears some risks, but if you are careful and place the vmunix.prev file into the root filesystem somewhere so that you would be able to find that file in case of an emergency you should be ok.

Steffi Jones