- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- What can I delete from /opt
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2005 03:48 AM
тАО09-06-2005 03:48 AM
What can I delete from /opt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2005 03:56 AM
тАО09-06-2005 03:56 AM
Re: What can I delete from /opt
You can not delete any files from opt as the system packages resides there.
Though you can check for any user files if occupying there :
# cd /opt
# ls -lR | sort +4 -5nr | more
And you may remove any unwanted package , with swremove to get some free space.
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2005 04:11 AM
тАО09-06-2005 04:11 AM
Re: What can I delete from /opt
Personally I would either extend /opt, or if that is not possible, I would create a new mount point in a different VG for /opt/OV and move all that data over.
There are several other directories that are non-system directories you could make their own mount points as well
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2005 04:16 AM
тАО09-06-2005 04:16 AM
Re: What can I delete from /opt
find . -name *.gz|xargs du -k|sort -rn +0
find . -name *.tar|xargs du -k|sort -rn +0
but unless you remove software, it's quite difficult to free space in /opt, it's not /var...
Another solution is to "transfer" Ignite in another Filesystem and then make a link in /opt that refers to the new location.
So if the hints of RAJ and these are not enough, I can address you to enlarge the filesystem...
If you have OnlineJFS, you can do it at system running.
Otherwise, enter in single user mode:
Shutdown the system,
get into single user mode (hpux -is /stand/vmunix).
Then do:
mount /usr
mount /var
mount /tmp
lvextend -L new_size_in_mb /dev/vg00/lvol_of_opt
extendfs /dev/vg00/rlvol_of_opt
init 3
Hope this helps
Regards,
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2005 04:18 AM
тАО09-06-2005 04:18 AM
Re: What can I delete from /opt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2005 05:22 AM
тАО09-06-2005 05:22 AM
Re: What can I delete from /opt
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2005 05:28 AM
тАО09-06-2005 05:28 AM
Re: What can I delete from /opt
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2005 05:42 AM
тАО09-06-2005 05:42 AM
Re: What can I delete from /opt
I don't know such feature, but perhaps you have the "cleanup" in mind for removing old copies of replaced patches.
Regards
Torsten
Hope this helps!
Regards
Torsten.
__________________________________________________
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2005 05:44 AM
тАО09-06-2005 05:44 AM
Re: What can I delete from /opt
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2005 02:59 AM
тАО09-07-2005 02:59 AM
Re: What can I delete from /opt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2005 03:08 AM
тАО09-07-2005 03:08 AM
Re: What can I delete from /opt
I believe the command you are remembering was 'freedisk'. Rather dangerous and deprecated. You can read more in the 10x manpages.
Regards!
...JRF...