- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /var file system
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
тАО10-01-2014 03:19 PM - last edited on тАО10-02-2014 02:32 AM by Maiko-I
тАО10-01-2014 03:19 PM - last edited on тАО10-02-2014 02:32 AM by Maiko-I
/var file system
Hi,
Please answer below question.
1./var file system full 95% , how to delete unwanted files
2.why every patch installation /var mount point some save patch file ocupied
P.S. This thread has been moved from HP-UX > General to HP-UX > sysadmin. - Hp Forum Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2014 03:52 PM
тАО10-01-2014 03:52 PM
Re: /var file system
what is cleanup command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2014 12:16 AM
тАО10-02-2014 12:16 AM
Re: /var file system
>1. /var file system full 95%, how to delete unwanted files
You first have to find them. /var/tmp/ is fair game to just remove old files.
Use cleanup(1m) for /var/adm/sw/.
There are many topics on how to find directories with large number of files.
Search for: file system full
>2. why every patch installation /var mount point some save patch file ocupied
In case you want to remove patches, swinstall has to save the previous patches so swremove can put back the older patch.
>what is cleanup command
See cleanup(1m). You can use this command to remove superseded patches. You can select preview (-p) and you can also limit the number (-c N) of copies.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2014 06:37 AM
тАО10-02-2014 06:37 AM
Re: /var file system
Hi,
first go to var with cd /var then
Use command du -x | sort -rn | head -30 to see what file occupies disk the most
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2014 06:40 AM
тАО10-02-2014 06:40 AM
Re: /var file system
After that remove files also use manual pages for cleanup -i command to remove unnecessery patch files or else
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2014 02:17 PM
тАО10-02-2014 02:17 PM
Re: /var file system
cleanup -i command remove any os files, please find teh /var file system usage details.
7746936 /var
6632544 /var/adm
6093784 /var/adm/sw
5895304 /var/adm/sw/save
735624 /var/opt
456464 /var/adm/syslog
395928 /var/adm/sw/save/PHSS_43032
390344 /var/adm/sw/save/PHSS_43656
362944 /var/opt/ignite
321592 /var/opt/psb
314856 /var/opt/ignite/clients
303736 /var/opt/psb/db/pgsql
303736 /var/opt/psb/db
295360 /var/adm/sw/save/PHSS_43890
293416 /var/adm/sw/save/PHSS_43637
275456 /var/adm/sw/save/PHSS_43314
269792 /var/adm/sw/save/PHSS_43021
268712 /var/adm/sw/save/PHSS_43890/OMNI-CF-P/opt/omni/databases/vendor/omnicf
268712 /var/adm/sw/save/PHSS_43890/OMNI-CF-P/opt/omni/databases/vendor
268712 /var/adm/sw/save/PHSS_43890/OMNI-CF-P/opt/omni/databases
268712 /var/adm/sw/save/PHSS_43890/OMNI-CF-P/opt/omni
268712 /var/adm/sw/save/PHSS_43890/OMNI-CF-P/opt
268712 /var/adm/sw/save/PHSS_43890/OMNI-CF-P
267320 /var/adm/sw/save/PHSS_43637/OMNI-CF-P/opt/omni/databases/vendor/omnicf
267320 /var/adm/sw/save/PHSS_43637/OMNI-CF-P/opt/omni/databases/vendor
267320 /var/adm/sw/save/PHSS_43637/OMNI-CF-P/opt/omni/databases
267320 /var/adm/sw/save/PHSS_43637/OMNI-CF-P/opt/omni
267320 /var/adm/sw/save/PHSS_43637/OMNI-CF-P/opt
267320 /var/adm/sw/save/PHSS_43637/OMNI-CF-P
249480 /var/adm/sw/save/PHSS_43314/OMNI-CF-P/opt/omni/databases/vendor/omnicf
249480 /var/adm/sw/save/PHSS_43314/OMNI-CF-P/opt/omni/databases/vendor
249480 /var/adm/sw/save/PHSS_43314/OMNI-CF-P/opt/omni/databases
249480 /var/adm/sw/save/PHSS_43314/OMNI-CF-P/opt/omni
249480 /var/adm/sw/save/PHSS_43314/OMNI-CF-P/opt
249480 /var/adm/sw/save/PHSS_43314/OMNI-CF-P
243992 /var/adm/sw/save/PHSS_43021/OMNI-CF-P/opt/omni/databases/vendor/omnicf
243992 /var/adm/sw/save/PHSS_43021/OMNI-CF-P/opt/omni/databases/vendor
243992 /var/adm/sw/save/PHSS_43021/OMNI-CF-P/opt/omni/databases
243992 /var/adm/sw/save/PHSS_43021/OMNI-CF-P/opt/omni
243992 /var/adm/sw/save/PHSS_43021/OMNI-CF-P/opt
243992 /var/adm/sw/save/PHSS_43021/OMNI-CF-P
235248 /var/opt/psb/db/pgsql/base
220592 /var/adm/sw/save/PHSS_43889/OMNI-CS
220592 /var/adm/sw/save/PHSS_43889
220584 /var/adm/sw/save/PHSS_43889/OMNI-CS/opt/omni
220584 /var/adm/sw/save/PHSS_43889/OMNI-CS/opt
217480 /var/adm/sw/save/PHSS_43636/OMNI-CS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2014 02:48 PM
тАО10-02-2014 02:48 PM
Re: /var file system
Your /var/adm/sw/save directory, which is where patch information is saved, is consuming almost 6 GB. Using the cleanup command will likely free up some space for you.
If you are nervous about using the command and removing the files, then make sure you have a backup of the /var/adm/sw directory before proceeding.
>>cleanup -i command remove any os files,
No. The cleanup command will ONLY remove patches that have been superseded.
Try running this command:
# cleanup -p -c 2
This will show you how much space will be freed by committing patches that have been superseded 2 times. If you want to see how much space will be saved by committing patches superseded only 1 time, then do:
# cleanup -p -c 2
If you want to recover the space, then just remove the '-p' (preview) option from the command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2014 12:47 PM
тАО10-07-2014 12:47 PM
Re: /var file system
why not just extend /var if you have additional space in vg00 ?
DOesnt the system have online jfs ?
Instructor Storage, Servers, HP-UX and Partner Courses
Hewlett Packard Enterprise Education Services
Ask me about training on StoreServ (3PAR) StoreOnce, StoreEasy, StoreAll, StoreVirtual, HP-UX, ServiceGuard and HPE Partner Ready Certification Training
internet: Linkedin: http://www.linkedin.com/in/emilvelez
HPE Master ASE Server Solutions Architect V3
HPE Master ASE Storage Solutions Architect V2
HP UNIX Certified (ASE HPUX 11iv3 Administration V1)
Certified HPE Instructor
HPE Product Certified - OneView [2016]
HP Sales Certified -Servers, Converged Systems and Services [2015]
HPE Product Certified - Converged Solutions [2017]