- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /opt at 96% (100+ megs free) Remove Old Java Versi...
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
тАО07-13-2009 07:25 AM
тАО07-13-2009 07:25 AM
Beyond that, I have 490 free physical exents in vg00. I *could* extend /opt a bit, I just really don't like to waste the space there since most of what we use lives in /usr. Would extending the logical volume and the file system be advisable instead?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2009 07:56 AM
тАО07-13-2009 07:56 AM
Re: /opt at 96% (100+ megs free) Remove Old Java Versions?
If you can not move/delete any stuff from /opt, than you need to go extend only.
Regards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2009 08:06 AM
тАО07-13-2009 08:06 AM
Re: /opt at 96% (100+ megs free) Remove Old Java Versions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2009 08:09 AM
тАО07-13-2009 08:09 AM
SolutionI just went through this a couple of weeks ago. I couldn't get any definitive answers from my developers about whether any of these historic versions of java were still used so I took the gradual approach and renamed them, waited a week for something to crash, then rebooted the server to make sure nothing in the startup was going to fail over missing java stuff, then blew them away. It takes a little time, but it's the safe way, and /opt is static enough that you can probably afford to go slowly.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2009 08:20 AM
тАО07-13-2009 08:20 AM
Re: /opt at 96% (100+ megs free) Remove Old Java Versions?
Thanks for the advice. I'll try that approach starting with Java 1.3 now since I'm doing a reboot. I did wind up having to go with a full lvextend using all the remaining logical extents. Now... to see if Data Protector will install correctly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2009 11:26 AM
тАО07-13-2009 11:26 AM
Re: /opt at 96% (100+ megs free) Remove Old Java Versions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2009 04:06 AM
тАО07-14-2009 04:06 AM
Re: /opt at 96% (100+ megs free) Remove Old Java Versions?
And assuming I am WRONG....
I have a backup on an alternate disk.
hmmmm. Wait a minute.....
I have a big, empty external filesystem on vg01 called /bigdisk.
cd /bigdisk
mkdir java
cd /opt/java
find . -print | cpio -pdumvc /bigdisk/java
cd ..
rm -r java
ln -s /bigdisk/java ./java
Now I have java in /opt, but it is not taking up space on the /opt filesystem. It is taking up space on the /bigdisk filesystem.
When I installed omniback, it wouldn't go in because the /tmp filesystem couldn't handle it. So I made /tmp/omni_tmp be a link to this big disk.
I also put omni's /var parts and /opt parts on this /bigdisk.
It's been working fine for years.
...Java too....and perl.
steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2009 07:03 AM
тАО07-14-2009 07:03 AM
Re: /opt at 96% (100+ megs free) Remove Old Java Versions?
That's a great idea since /opt stuff isn't usually something the OS relies on. I've used this same trick for our third party apps when space has been tight.