- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /var & /var/adm/sw filesystems
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
тАО12-09-2003 02:05 AM
тАО12-09-2003 02:05 AM
The /var & /var/adm/sw file systems are used by system for maintaining the SW installation and deinstallation.
Please tell how this directories are used and on which sequence during SW installation and deinstallation.
Is it possible to just deinstall one particular deinstallation of patch from a bundle of patch installation?
The /var file systems is full, is there anyway some space can be created by purging some files.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2003 02:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2003 02:08 AM
тАО12-09-2003 02:08 AM
Re: /var & /var/adm/sw filesystems
If you want to clean some space, you may want to use the cleanup command which will commit patches that have been on your system and erase them from your /var/adm/sw/save directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2003 02:08 AM
тАО12-09-2003 02:08 AM
Re: /var & /var/adm/sw filesystems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2003 02:12 AM
тАО12-09-2003 02:12 AM
Re: /var & /var/adm/sw filesystems
# cleanup -c 1
# man cleanup
In case /var is full, check for large log files and trim it (wtmp, utmp, syslog.log, mail.log etc). Check /var/adm/crash for big crash files and clean it up. Also, run cleanup command to remove very old patches from system which were superceded.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2003 02:28 AM
тАО12-09-2003 02:28 AM
Re: /var & /var/adm/sw filesystems
The cleanup seems to clearing from /var/adm/sw but not from /var.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2003 02:30 AM
тАО12-09-2003 02:30 AM
Re: /var & /var/adm/sw filesystems
One of the things I would do is check for old core file : find /var -name core, and if you find any delete them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2003 02:33 AM
тАО12-09-2003 02:33 AM
Re: /var & /var/adm/sw filesystems
# bdf
# cat /etc/fstab
If they are one single file system (/var), then either increase your LV size (lvextend) or trim your log files. You can check for big files in a directory with:
# find /var -xdev -depth -size +10000 -exec ll {} \; > /tmp/big_files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2003 02:39 AM
тАО12-09-2003 02:39 AM
Re: /var & /var/adm/sw filesystems
/var & /var/adm/sw are seperate filesystems.
What goes onto /var directory during the SW installation, Need to create some space on /var.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2003 02:42 AM
тАО12-09-2003 02:42 AM
Re: /var & /var/adm/sw filesystems
find /var -xdev -depth -size +10000 -exec ll {} \; returned following, which files can be removed without any functional impact on the system.
-rw-r--r-- 1 root root 16598676 Jun 10 2002 /var/adm/crash/crash.
2/vmunix
-rw-r--r-- 1 root root 67092480 Jun 10 2002 /var/adm/crash/crash.
2/image.1.1
-rw-r--r-- 1 root root 67100672 Jun 10 2002 /var/adm/crash/crash.
2/image.1.2
-rw-r--r-- 1 root root 67100672 Jun 10 2002 /var/adm/crash/crash.
2/image.1.3
-rw-r--r-- 1 root root 67080192 Jun 10 2002 /var/adm/crash/crash.
2/image.1.4
-rw-r--r-- 1 root root 67084288 Jun 10 2002 /var/adm/crash/crash.
2/image.1.5
-rw-r--r-- 1 root root 67100672 Jun 10 2002 /var/adm/crash/crash.
2/image.1.6
-rw-r--r-- 1 root root 67080192 Jun 10 2002 /var/adm/crash/crash.
2/image.1.7
-rw-r--r-- 1 root root 28770304 Jun 10 2002 /var/adm/crash/crash.
2/image.1.8
-rw-r--r-- 1 root root 7327330 Oct 10 2002 /var/adm/crash/crash.3
/vmunix.gz
-rw-r--r-- 1 root root 7321917 Oct 10 2002 /var/adm/crash/crash.3
/image.1.1.gz
-rw-r--r-- 1 root root 10233930 Oct 10 2002 /var/adm/crash/crash.
3/image.1.2.gz
-rw-r--r-- 1 root root 13869686 Oct 10 2002 /var/adm/crash/crash.
3/image.1.3.gz
-rw-r--r-- 1 root root 13608440 Oct 10 2002 /var/adm/crash/crash.
3/image.1.4.gz
-rw-r--r-- 1 root root 19993129 Oct 10 2002 /var/adm/crash/crash.
3/image.1.5.gz
-rw-r--r-- 1 root root 13738429 Oct 10 2002 /var/adm/crash/crash.
3/image.1.6.gz
-rw-r--r-- 1 root root 14556868 Oct 10 2002 /var/adm/crash/crash.
3/image.1.7.gz
-rw-r--r-- 1 root root 7327330 Nov 7 2002 /var/adm/crash/crash.4
/vmunix.gz
-rw-r--r-- 1 root root 7856711 Nov 7 2002 /var/adm/crash/crash.4
/image.1.1.gz
-rw-r--r-- 1 root root 10074798 Nov 7 2002 /var/adm/crash/crash.
4/image.1.2.gz
-rw-r--r-- 1 root root 13984989 Nov 7 2002 /var/adm/crash/crash.
4/image.1.3.gz
-rw-r--r-- 1 root root 35224228 Nov 7 2002 /var/adm/crash/crash.
4/image.1.4.gz
-rw-r--r-- 1 root root 15362798 Nov 7 2002 /var/adm/crash/crash.
4/image.1.5.gz
-rw-r--r-- 1 root root 14605827 Nov 7 2002 /var/adm/crash/crash.
4/image.1.6.gz
-rw-r--r-- 1 root root 15213991 Nov 7 2002 /var/adm/crash/crash.
4/image.1.7.gz
-rw-r--r-- 1 root sys 15526862 Jun 24 2002 /var/opt/ignite/logs/
makrec.log2
-rw-rw-rw- 1 root sys 15784439 Jun 24 2002 /var/opt/ignite/recov
ery/arch.include
-rw-r--r-- 1 root root 7636528 Dec 9 15:40 /var/opt/perf/datafile
s/logglob
-rw-r--r-- 1 root root 9247304 Dec 9 15:40 /var/opt/perf/datafile
s/logappl
-rw-r--r-- 1 root root 17749456 Dec 9 15:40 /var/opt/perf/datafil
es/logproc
-rw-r--r-- 1 root root 8022280 Dec 9 15:40 /var/opt/perf/datafile
s/logdev
-rw-rw-rw- 1 root sys 13297811 Oct 31 14:18 /var/opt/perf/datafil
es/mwalogs.tar.gz
-rw-rw-rw- 1 root sys 15510823 Jun 24 2002 /var/tmp/arch.include
.1
Thanks