- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- The size of /var directory increases too fast
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
10-21-2003 01:22 AM
10-21-2003 01:22 AM
Also which patch I should download to make system remove the /var/rbootd files directly?
Thanks
Leah
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2003 01:25 AM
10-21-2003 01:25 AM
Re: The size of /var directory increases too fast
Go to /var and do du -sk * to see which one is biggest
-Tomek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2003 01:27 AM
10-21-2003 01:27 AM
Re: The size of /var directory increases too fast
All kinds of logs get written to /var on a daily basis. This alone may account for your 1% daily growth. I would suggest you monitor over a period of several days to see which subdirectory is experiencing the growth. Use "du -sk /var/* |sort -n". Put the du command in a cron job or just remember to run it yourself at a consistent time. By the end of the week you should have a good idea where your growth is occurring and you can then figure out how to best address it.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2003 01:33 AM
10-21-2003 01:33 AM
Re: The size of /var directory increases too fast
#du -k|sort -nr|more
check for the large space consuming directories.
Revert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2003 01:59 AM
10-21-2003 01:59 AM
Re: The size of /var directory increases too fast
Thanks
Leah
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2003 02:03 AM
10-21-2003 02:03 AM
Re: The size of /var directory increases too fast
find . -xdev -size +2048 -print
collect the details over a period of days to find out which file is increasing in size.
Then run lsof on the file to find out which process is causing this.
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2003 02:03 AM
10-21-2003 02:03 AM
Re: The size of /var directory increases too fast
No not a patch, but take a look at at next doc.
http://www5.itrc.hp.com/service/cki/search.do?category=c0&docType=Security&docType=Patch&docType=EngineerNotes&docType=BugReports&docType=Hardware&docType=ReferenceMaterials&docType=ThirdParty&searchString=%22%2Fvar%2Frbootd%22&search.y=9&search.x=26&mode=text&searchCrit=allwords&admit=552267591+1066744847869+28353475
Document id: 8606199091
Hope it helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2003 02:05 AM
10-21-2003 02:05 AM
Re: The size of /var directory increases too fast
As far as /var goes, you'll need to trim the files based on size and keep compressed archives depending on your operational needs. The du command will help you the most in locating busy areas:
du -kx /var | sort -rn
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2003 02:12 AM
10-21-2003 02:12 AM
Solutionplease view the log files for any error information.
It would also fill up quickly when there are any errors.
Also make sure that you patch the STM with the latest patches
Also check this
http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x90617bb04b5cd611abdb0090277a778c%2C00.html&admit=716493758+1066745438166+28353475
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2003 02:24 AM
10-21-2003 02:24 AM
Re: The size of /var directory increases too fast
You may need to run the "utility" command while measureware is down and shrink some of the datafiles. I know one of my parms was set to gather data for 3000 days! way to long. I dont need data for 9+ years.
On a few systems where I keep quite a bit of data, I have broken it off to its own filesystem so that it wont fill up /var.
_________________
One other thing, If you havent committed patches in a while run:
cleanup -p -c 2
And see what uncommitted patches you still have. This may cleanup quite a bit of space.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2003 02:28 AM
10-21-2003 02:28 AM
Re: The size of /var directory increases too fast
Document description: Temporary files C*.reply in /var/rbootd should not be stored
Document id: 8606199091
Product name: VInternet Services
Product number: B1030A
Release id:
System model: 9000
Last update filed: 10/12/03
Status: In Progress
CR# JAGad68278
problem
rbootd is detecting certain bootp reply broadcasts and storing the
header in temporary files in /var/rbootd/C*.reply.
These C*.reply files are ineligible for rbootd clean up. Consequently
they may accumulate in the /var/rbootd directory until removed by rm or
the system is rebooted.
Fix Text
fix
The fix is available in release 11.23. rbootd is not patched often.
Last patch was 1998 (before this fix was done).
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2003 05:29 AM
10-21-2003 05:29 AM
Re: The size of /var directory increases too fast
Oct 3 14:04:46 ERP1 vmunix:
Oct 3 14:04:46 ERP1 vmunix: SCSI: Read error -- dev: b 31 0x064000, errno: 126, resid: 2048,
Oct 3 14:04:46 ERP1 vmunix: blkno: 8, sectno: 16, offset: 8192, bcount: 2048.
what does it mean? Do I need to correct this error?
Thanks
Leah
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2003 07:11 AM
10-21-2003 07:11 AM
Re: The size of /var directory increases too fast
You have a bad disk or controller.
Back your system up and call hardware support.
To check all of your disk use
ioscan -funC disk ( all shuld be claimd)
Use stm of xstm( gui interface) to see witch disk i damaged (view log)
Use vgdisplay -v vg00 (name of your volumegroup) to see if your disk are available.
Hopefully your system is mirrored.
succes
Idriz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2003 07:18 AM
10-21-2003 07:18 AM
Re: The size of /var directory increases too fast
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2003 07:32 AM
10-21-2003 07:32 AM
Re: The size of /var directory increases too fast
dev: b 31 0x064000,
b blockdevice
31 major number ( kernel driver)
06 is bus
4 scsi id
0 lun nummer
00 fleg
/dev/c6t4d0 is damaged
succes
Idriz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2003 07:51 AM
10-21-2003 07:51 AM
Re: The size of /var directory increases too fast
also try this
find /var -xdev -size +10000 -exec ll -ld {} \;
above would give the big files. You may reduce the value i.s +10000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2003 02:43 AM
10-22-2003 02:43 AM
Re: The size of /var directory increases too fast
cd /dev
ll |grep 0x064000
This will give you the disk.
Then run ioscan -fnC disk > ioscan.out and get the H/W path so you can replace the faulty disk.
Of course run these commands to see if the disk is really bad.
diskinfo /dev/dsk/cXtXdX
pvdisplay -v /dev/dsk/cXtXdX ## should be stale extents usually if the disk is bad...
Then do lvdisplay on the LVols that are associated with that disk and see if any stale extents exist on any of them as well...
Hopefully you have mirroring and it will be fairly easy to do an online replacement.
IF it is a mirrored disk and NON-ROOT Volume, Replace the disk, then::
_______________________________
vgcfgrestore -n /dev/vgXX /dev/rdsk/cXtXdX
vgchange -a y /dev/vgXX
vgsync /dev/vgXX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2003 04:56 AM
10-22-2003 04:56 AM
Re: The size of /var directory increases too fast
Check if /var/stm/logs/sys/activity_log file is increasing, we had the same problem. When the system reboot the file start increasing until I issue mstm and exit the Diagnostic Menu.
Maybe you need to apply the patch for the Diagnostic online.
Tania
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2003 06:45 AM
10-22-2003 06:45 AM
Re: The size of /var directory increases too fast
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2003 07:02 PM
10-22-2003 07:02 PM
Re: The size of /var directory increases too fast
-Brian.