- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Easy /var/adm/sw question I can't remember the...
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
Forums
Discussions
Discussions
Discussions
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
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
01-03-2002 10:51 AM
01-03-2002 10:51 AM
I have a server with a /var full.
The bulk of the problem is in /var/adm/sw in the ./products and ./patches directories.
My question is:
Is it safe to delete any or all of the patch files in either or both these directories?
I can't for the life of me remember and I don't want to do anything I'd regret later.
Thanks for helping the brain-faded.
Kel
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2002 10:56 AM
01-03-2002 10:56 AM
SolutionDo not delete the files under /var/adm/sw on your own. You may have later problems with SD. use the hp-ux "cleanup" utility to cleanup the old and unrequired patches from your system and reclaim the disk space. Also check for the log files. you may find a lot many log files from STM / arraymanager under /var. You can clean some of them to get some space in /var.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2002 10:56 AM
01-03-2002 10:56 AM
Re: Easy /var/adm/sw question I can't remember the answer to.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2002 11:01 AM
01-03-2002 11:01 AM
Re: Easy /var/adm/sw question I can't remember the answer to.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2002 11:02 AM
01-03-2002 11:02 AM
Re: Easy /var/adm/sw question I can't remember the answer to.
#cleanup -p -c 2
to review what is going to be commited.
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2002 11:02 AM
01-03-2002 11:02 AM
Re: Easy /var/adm/sw question I can't remember the answer to.
You need to run cleanup -c 1 (to leave 1 revision) or cleanup -c 2 (to leave 2 revisions). Do not remove the files manually!!
If you are running 11.11 (11i); you will need to install patch PHCO_24630. The cleanup utility was accidently omitted from the 11.11 release.
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2002 11:04 AM
01-03-2002 11:04 AM
Re: Easy /var/adm/sw question I can't remember the answer to.
cleanup -p -c 2 will show how much space you will get back. This way you can play with the c number before removing anything
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2002 11:07 AM
01-03-2002 11:07 AM
Re: Easy /var/adm/sw question I can't remember the answer to.
I would try to use these two commands to look for big files or newly created files.
1) find /var -xdev -size +1000 -exec ll {} \; > /tmp/bigfiles
2) find /var -xdev -type f -mtime -2 -exec ll {} \; > /tmp/newfiles
Check to see if there are files under any mount points too. (ncheck is good for that)
Also do 'cleanup' if you need to remove patch information from the SD-UX IPD after patches have been overwritten by software updates.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2002 11:40 AM
01-03-2002 11:40 AM
Re: Easy /var/adm/sw question I can't remember the answer to.
If your running hp-ux 11, you can check your /var/adm/sw/save area, this is where backup copies are kept incase you need to roll back a patch.
if your using 11, you can use the swmodify command to commit
the patches you know are working ok for you.
hope this helps.
scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2002 11:45 AM
01-03-2002 11:45 AM
Re: Easy /var/adm/sw question I can't remember the answer to.
My system is now happy.
10's to all.
Happy New Year
Kel