1753719 Members
5878 Online
108799 Solutions
New Discussion юеВ

/opt 98% full...

 
SOLVED
Go to solution
Adrian Sobers2
Super Advisor

/opt 98% full...

/opt is very full. Attached is the output of my du command. I ran the trim system logfiles from SAM and still it is at 98%.

Does anyone have any ideas on how I can free up some space under /opt?
35 REPLIES 35
Zygmunt Krawczyk
Honored Contributor

Re: /opt 98% full...

Hi,
the only reasonable method to resolve this problem is to increase the size of /opt filesystem (or remove some not needed software)

Regards,
Zygmunt
Adrian Sobers2
Super Advisor

Re: /opt 98% full...

attached is the output from the bdf and vgdisplay commands...zipped as one attachemnt ;)
Sundar_7
Honored Contributor

Re: /opt 98% full...

du -sk * /opt also will include other filesystems like /opt/oracle.

/opt/mx and /opt/ignite are the directories you want to look at for housekeeping.

/opt is supposedly a static filesystem (unless,ofcourse, if you dont install softwares everyday :-). You have enough Free PE in the volume group. I would suggest increasing the LV size. Do u have online JFS installed ?
Learn What to do ,How to do and more importantly When to do ?
Jean-Luc Oudart
Honored Contributor

Re: /opt 98% full...

There are some directory that I would question :
Plenty of oracle some being "old" . Are all these version of oracle in use ?

Also, "inventory" (oracle again) is used when you install the product(s). They copuld be moved elsewhere and you can keep a link otherwise the location of such installation directory is kept in /var/opt/oracle/oraInst.loc

Regards
Jean-Luc
fiat lux
Adrian Sobers2
Super Advisor

Re: /opt 98% full...

Sundar,

I don't think we have Online JFS, how would I check?

What is under /opt/mx? I know the /opt/ignite is the Ignite-UX tools that was installed last month.

Also is it possible to just remove things like netscape, mozilla, etc and other software under /opt that we do not use and need. It is a production database server, period.

I tried swremove for netscape, mozilla etc but it does not work. How do you get the exact "argument" for swremove for applications under HP-UX like Netscape, Mozilla etc?

Thanks for your help.
Victor BERRIDGE
Honored Contributor

Re: /opt 98% full...

Hi Adrian,
Do you have Online-JFS?
type:
swlist|grep JFS
or swlist -l product|grep JFS

While you check that I will have a look to your joined files

All the best
Victor
Adrian Sobers2
Super Advisor

Re: /opt 98% full...

Victor,

Here is the output from the commands:

root:INLAND8>swlist | grep JFS
root:INLAND8>swlist -l product | grep JFS
JFS B.11.11 The Base VxFS File System
PHKL_24026 1.0 JFS Filesystem swap corruption
PHKL_28512 1.0 Fix for POSIX_AIO in JFS3.3
PHKL_29115 1.0 JFS Direct I/O cumulative patch
Steven E. Protter
Exalted Contributor

Re: /opt 98% full...

To original post:

trimming logs won't help with space on /opt

/opt is generally used for optinal software.

/var is for logs.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Adrian Sobers2
Super Advisor

Re: /opt 98% full...

Yes a lot of those Oracle directories on there are actually Oracle Installation CDs. The consultant that worked with us on the Oracle install put on the following installations (Oracle 8, Oracle 8i, Oracle 9i) onto our disk for ease of install and to avoid swapping CDs etc. Since we had the "space". I'm not sure we can afford to do that now the machine is in production. We only use Oracle 8i (8.1.7.4) in production. Come to think of it, I think there are also duplicates on there for difference versions like 8.0 patched and 8.0 base....hmph