- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Running out of space on /var...Is it okay to delet...
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
тАО07-05-2000 07:28 AM
тАО07-05-2000 07:28 AM
Is it okay to delete these files or move them to a separate directory? If yes, should I also delete the crash.0 directory and bounds file?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2000 07:33 AM
тАО07-05-2000 07:33 AM
SolutionYou have to decide on your own if you need the crash dumps any longer. Are they brand new, and you are not sure that you might want them to be analyzed? That save them to tape or to a different location on the disk.
After that you can delete the whole directory, but don't delete the bounds file. The only reason for this file is to keep track how many crash dumps have been written.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2000 08:48 AM
тАО07-05-2000 08:48 AM
Re: Running out of space on /var...Is it okay to delete files in /var/adm/crash?
PS: I have just deleted the appropriate subdirectories in /var/adm/sw/save in the past. Anyone know if this will cause any problems later on?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2000 09:28 AM
тАО07-06-2000 09:28 AM
Re: Running out of space on /var...Is it okay to delete files in /var/adm/crash?
Yet another way to regain precious /var space is to run the 'cleanup' utility. See: 'man 1M cleanup' to review its usage. I routinely recover very significant amounts of space from /var following installations of large patch bundles. cleanup is the safest, recommended way to manage the /var/adm/sw/patch directory.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2000 07:11 PM
тАО07-06-2000 07:11 PM
Re: Running out of space on /var...Is it okay to delete files in /var/adm/crash?
There could be some log files which still need to be identified and deleted. (These files, sometimes grow like anything.) Use this command the list all the files which are of size more than 1MB.
#find /var -size +1000000c -print -exec ls -al {} ;
You might want to pipe the output to some file.
Regs.,
S.Karunanidhi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2000 11:32 PM
тАО07-11-2000 11:32 PM
Re: Running out of space on /var...Is it okay to delete files in /var/adm/crash?
cd /var/adm/crash ; rm -rf *
If you really don't care about system crash dump files, you can disable the savecore (in 10.x) or savecrash (in 11.x) routine at startup thru the /etc/rc.config.d/savecore (aka savecrash in 11.x) configuration file (put the variable to 0).
Of course, you may also wonder why you got those crash dumps. Basically, either you used the TOC button (generates a crash dump), or you got a software problem (kernel panic) or a hardware failure (HPMC - typically a SIMM problem).
Other means to free up some space in /var is to trim the various log files, such as utmp, sulog (I saw once a sulog of 100 MB), the sw*log files (in /var/adm/sw)... You can use SAM if you whish (go into Routine Tasks / Log Files, or something similar).
Hope it helps, Emmanuel