Operating System - HP-UX
1832590 Members
3187 Online
110043 Solutions
New Discussion

# Increase the size of /opt

 
SOLVED
Go to solution
Miro Klima
Advisor

# Increase the size of /opt

9000/800/R390
HP-UX B11.11
/dev/vg00/lvol6 /opt 904MB vxfs

Do I have to go to single user mode to increase
/opt ?
6 REPLIES 6
harry d brown jr
Honored Contributor
Solution

Re: # Increase the size of /opt

if you have online jfs, then the answer is no.

if you don't you could try shutting most things down until nothing is using /opt.

live free or die
harry d brown jr
Live Free or Die
Miro Klima
Advisor

Re: # Increase the size of /opt

How can I tell if I'm running online JFS?
Mic V.
Esteemed Contributor

Re: # Increase the size of /opt

I believe this should do it:

swlist | grep -i jfs

I can't remember if it's called OnlineJFS or AdvJFS and I don't have a server to check right now. I think it's OnlineJFS. Basically, look at the output of swlist.

It's a paid-for application but is SO worthwhile on a production server.

Mic
What kind of a name is 'Wolverine'?
Miro Klima
Advisor

Re: # Increase the size of /opt

Thank you Harry and Mic.
I don't have online JFS, I'll have to
go to single user mode.
Devesh Pant_1
Esteemed Contributor

Re: # Increase the size of /opt

If you don't have online jfs, I am afraid that is the only way out.

Devesh
itai weisman
Super Advisor

Re: # Increase the size of /opt

you should do:
init s
umount /opt
1. lvextend -L (new size in MB) /dev/vg00/lvol6
2. extendfs /dev/vg00/lvol6
or install online jfs from hpux11.11 mission critical cd and
do step 1 (lvextend)
fsadm -b (size in kbs) /opt
good luck