- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- cleanup command question
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
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
тАО11-26-2001 02:30 PM
тАО11-26-2001 02:30 PM
I have a question about the cleanup command and saving the sw/save files .
If I do cleanup -p -c 2
I get nothing back.
If i do
cleanup -p -c 1
I get back allot of patches that can be cleanedup.
Now if I am not totaly sure about commiting to the patches can I just move the files in /var/adm/sw/save to another bigger file system? And then move them back with out any problems?Will this hurt anything?
Richard
Solved! Go to Solution.
- Tags:
- cleanup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2001 02:37 PM
тАО11-26-2001 02:37 PM
Re: cleanup command question
It is not recommended to go less than level 2. So, it's better to go for a seperate file system for /var/adm/sw/save. However, you may not want to end up with the same situation there later. So, still you would be using cleanup but probably with a level not less than 3 or 4 to keep it under control.
Also, it's recommended to take a backup of /var/adm/sw/save onto a tape before you use the cleanup command.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2001 02:46 PM
тАО11-26-2001 02:46 PM
Re: cleanup command question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2001 02:47 PM
тАО11-26-2001 02:47 PM
SolutionIn the past when I was tight on space in /var, I copied /var/adm/sw/save to a filesystem with more space, removed /var/adm/sw/save, then created a symbolic (soft) link in /var/adm/sw pointing to the "copied" save directory. It worked for me.
It would be best I think to make /var larger (or whatever filesystem /var/adm/sw/save is in).
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2001 02:49 PM
тАО11-26-2001 02:49 PM
Re: cleanup command question
I agree with Sridhar.
I prefer to commit the patches that are atleast superseeded twice. If space is becoming crunch, creat seperate file system for /var/../save directory.
Thanks.
Prashant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2001 02:57 PM
тАО11-26-2001 02:57 PM
Re: cleanup command question
If you like you can even move the entire /var filesystem to another volume group. It does not have to be in vg00.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2001 03:10 PM
тАО11-26-2001 03:10 PM
Re: cleanup command question
My preference is to (re)size /var to accomodate patch maintenance. I generally run 'cleanup' to commit patches (-c 1), but I do this immediately *before* a patch session to (1) gain space; and (2) to provide a foundation to which to return if all goes "south".
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2001 04:29 PM
тАО11-26-2001 04:29 PM
Re: cleanup command question
We all seldom crunch for space on /var. as Darrel suggests you can move /var/adm/sw/save to a filesystem with a bigger space, and then create a symbolic link in /var/adm/sw pointing to the new sw/save directory. Better yet, make /var larger for future 'expansions'
d_b
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2001 04:33 PM
тАО11-26-2001 04:33 PM
Re: cleanup command question
We all often crunch for space on /var FS, and as Darrel suggested you move /var/adm/sw/save to another filesystem with much larger space, and create a symbolic link in /var/adm/sw pointing to the new save directory. Better yet allow a much bigger FS for /var, extend, extend, extend...
d_b
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2001 04:34 PM
тАО11-26-2001 04:34 PM
Re: cleanup command question
:-9