- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /var/adm/sw/save - Can I delete?
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
тАО08-11-2003 08:36 AM
тАО08-11-2003 08:36 AM
/var/adm/sw/save - Can I delete?
Roland.Rebstock@usi.net
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2003 08:41 AM
тАО08-11-2003 08:41 AM
Re: /var/adm/sw/save - Can I delete?
if you want to delete it use swmodify. dont delete directly
To commit (make permanent) a patch, use the swmodify command's
patch_commit option to remove the files saved for patch rollback, or
use the swinstall command's save_patch_files option to not save them
initially. See swmodify(1M) and swinstall(1M) for more information.
regards!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2003 08:43 AM
тАО08-11-2003 08:43 AM
Re: /var/adm/sw/save - Can I delete?
This is used to revert back the patches if there is a need. You can remove those by committing the patches using swmodify command with patch_commit option. Dont directly delete those files.
check man swinstall for more.
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2003 08:47 AM
тАО08-11-2003 08:47 AM
Re: /var/adm/sw/save - Can I delete?
cleanup
command first to get rid of to really useless patch history.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2003 08:50 AM
тАО08-11-2003 08:50 AM
Re: /var/adm/sw/save - Can I delete?
The *only* correct/safe way to recover space in '/var/adm/sw' is to use the 'cleanup' command. The 'save' direcotory contains superseded patches that you may want to recover. Use:
# cleanup -c 1
...to remove superseded patches back to one-level. This will usually recover quite a bit of space but leave one previous copy of software to which you can rollback to a prior state.
A good practice is to run 'cleanup' before you apply a large patch bundle.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2003 08:51 AM
тАО08-11-2003 08:51 AM
Re: /var/adm/sw/save - Can I delete?
1) Cleanup space on /var file system. Run "cleanup -c 1" to remove old patch filesets to 1 level back. Remove files from /var/adm/crash (if you don't need it), Trim log files - syslog.log, wtmp, btmp, stm logs, spooler logs etc.
2) Add new disk to VG and extend the LV.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2003 08:51 AM
тАО08-11-2003 08:51 AM
Re: /var/adm/sw/save - Can I delete?
You do NOT want to do that.
Just run:
cleanup -p -c 2
and see how much space you will reclaim by commiting patches superseded twice.
Then actually reclaim it:
cleanup -c 2
You can also do "-c 1" to reclaim more space.
Remember that you would NOT be able to deinstall the commited patches.
Also, you can extend /var if you have free extents on the drive.
Elena.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2003 08:51 AM
тАО08-11-2003 08:51 AM
Re: /var/adm/sw/save - Can I delete?
#man cleanup for more..
You can remove files from other directories like /var/tmp and also look for any core files in /var.
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2003 09:26 AM
тАО08-11-2003 09:26 AM
Re: /var/adm/sw/save - Can I delete?
Also trim log files.