- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- /opt at 96% (100+ megs free) Remove Old Java Versi...
-
-
Categories
- Topics
- Hybrid IT with Cloud
- Mobile & IoT
- IT for Data & Analytics
- Transformation
- Strategy and Technology
- Products
- Cloud
- Integrated Systems
- Networking
- Servers and Operating Systems
- Services
- Storage
- Company
- Events
- Partner Solutions and Certifications
- Welcome
- Welcome
- Announcements
- Tips and Tricks
- Feedback
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- Converged Data Center Infrastructure
- Digital Transformation
- Grounded in the Cloud
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- Networking
- OEM Solutions
- Servers: The Right Compute
- Telecom IQ
- Transforming IT
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Categories
-
Forums
-
Blogs
-
InformationEnglish
/opt at 96% (100+ megs free) Remove Old Java Versions?
SOLVED- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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?
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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?
Re: /opt at 96% (100+ megs free) Remove Old Java Versions?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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?
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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?
Re: /opt at 96% (100+ megs free) Remove Old Java Versions?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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?
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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?
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.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2018 Hewlett Packard Enterprise Development LP