- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- disk cleanup
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
Forums
Discussions
Discussions
Discussions
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
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
05-26-2003 05:58 AM
05-26-2003 05:58 AM
I have a question concerning disk structure and it's usage.
Attached is the file which is the output of bdf command. The question is: how to keep file system mounted on /var within a certain size, so it doesn't exceed (for example) 90% of space of this particular system? each time total sixe of files exceeds 90%, the system practically breaks down - and the matter concerns only this logical volume (/var), which in this case is rather small (500MB). Is there a command/script that makes possible cleaning temporary/log files mounted on /var/adm? why the sytem (HP-UX 11.0) reacts so badly to disk overload?
what would an experienced admin do in case of frequent /var overloading?
thanks a lot in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2003 06:07 AM
05-26-2003 06:07 AM
Re: disk cleanup
size of /var is indeed very small.
usually i keep the logs of last one week on each machine and remaining logs will be removed using cron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2003 06:09 AM
05-26-2003 06:09 AM
Re: disk cleanup
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x8d2e9607df6ed711abdc0090277a778c,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xebe69200caded5118ff40090279cd0f9,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x0d288f960573d611abdb0090277a778c,00.html
Also look:
http://us-support.external.hp.com/emse/bin/doc.pl/sid=3715d196085ba4d54f?todo=search&searchcategory=ALL&rn=25&presort=rank&searchtext=Filesystem+Cleanup&searchcriteria=allwords&searchtype=SEARCH_FORUMS&x=43&y=10
Thanks
Zafar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2003 06:12 AM
05-26-2003 06:12 AM
Re: disk cleanup
500 MB is much to low.
You could also create a new lvol and mount it to /var/adm.
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2003 06:15 AM
05-26-2003 06:15 AM
Solutionvar is so important because all system logs and temporary files get there.
only 500Mb is really small, i would do the following:
- create other logical volumes!
- move software there, usually /var/adm/sw can grow much, due to patches, and /var/adm/crash due to dumps
- create link to these new fs from the older ones
- create a dummy file, to be removed whereas needs arises
.
To do the previous things you should to down to single user mode ov even to maintenance mode (booting with "hpux -is" or "hpux -lm" )
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2003 06:23 AM
05-26-2003 06:23 AM
Re: disk cleanup
As suggested, the size of your '/var' is rather small. Increasing it would certainly be in order, since the 'var/adm/sw' directory is the repository for your software Installed Product Database (IPD) and the place where previous software patch versions are kept. Whatever you do, do *NOT* attempt to mangage the space in this directory by means other than the 'cleanup' command. To do so may mean the inability to patch.
You can regain space in '/var' by running the 'cleanup' command to trim the Software Distributer (SD) logs and to remove copies of patches that have been superceded:
# cleanup -c 1
I suggest that you download the current 'cleanup' patch. Man pages, of course, come with it:
http://www1.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_27779&context=hpux:800:11:00
Regards!
...JRF...