- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: my root disk is growing..help
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
11-22-2004 02:05 AM
11-22-2004 02:05 AM
my root disk is growing..help
OK, I've noticed that my root disk is growing. I have a hunch is has something to do with the lp directory....maybe a runaway lp scheduler or something?
We have 10.20.
Can someone tell me how to check to see if we have a runaway lp scheduler or something?
Or does anyone else have any ideas where to look?
No new tombstones. Nothing reported in error logs I've viewed thus far....
Cin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2004 02:10 AM
11-22-2004 02:10 AM
Re: my root disk is growing..help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2004 02:10 AM
11-22-2004 02:10 AM
Re: my root disk is growing..help
Start from /dev. sometimes in place of using /dev/rmt/0m if someone used /dev/dev/0 it might start creating a file over there.
Use this command to find the directories that are taking most space and drill down from there,
du -ks * |sort -n
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2004 02:12 AM
11-22-2004 02:12 AM
Re: my root disk is growing..help
Do an lpstat -t and see if there are many jobs waiting to be printed. Rather than trying to use "The Force", I suggest that you first tell us what "my root disk is growing" means. Does that mean / is filling up or does it mean that another filesystem is filling up? You need to narrow the scope a bit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2004 02:47 AM
11-22-2004 02:47 AM
Re: my root disk is growing..help
I just stopped the lp scheduler, I found no runaway processes (used ps -ef and grep for lpsched)
So it appears lp is not my problem.
Noone has access to root other than myself. Backups/cron/printers, heck nothing has been changed/added for the past year at least.
I'm still looking at log files for errors....nothing striking yet.
No core files are on the system.
I'm stumped as to what might be happening but root is still growing at a slow pace.
I have opened a case with HP and am awaiting a tech to call me.
Any advice/ideas on where to look will be greatly appreciated.
boohoo.
Cin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2004 03:21 AM
11-22-2004 03:21 AM
Re: my root disk is growing..help
give as output from
#mount
also
#vgdisplay -v
See which file is access last 100 min
find / -mount -amin 100
find / -mount -mminute 100
also
# du -h /
#bdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2004 03:38 AM
11-22-2004 03:38 AM
Re: my root disk is growing..help
find / -mount -ctime 1
show all file that was change last 24 hours
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2004 03:45 AM
11-22-2004 03:45 AM
Re: my root disk is growing..help
What do you call root disk? Are you talking of the files sytem / ?
If so, if you believe it has grown, there is a possibility someone mis-spelled a device and writing to it generated a big file the classic one is with the tape devices...
Do a du -sk . in /dev, the size should be around 30 MB on a 10.20.
If you see >100Mb look for a big file...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2004 02:54 PM
11-22-2004 02:54 PM
Re: my root disk is growing..help
assuming the mentioned root disk is root volume and mounted in / mount point.
use the following command to find the files
find / -xdev -size +1000000c -exec ll {} \;
this command will list all files only in root volume which is more than 1MB.find any bigger files are there.also see any repeated files .
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2004 03:25 PM
11-22-2004 03:25 PM
Re: my root disk is growing..help
du -kxs /dev
should produce just a few Kbytes since there are (should be) no ordinary files in /dev, just device files and a few directories. Start by analyzing your root directory to see where the biggest *directories* (not files) are located:
du -kx / | sort -rn | more
The biggest directory should be /sbin and /etc. My guess is that someone installed software in / rather than in /opt and there are likely logfiles in those directories.
/ must be a static (and small) filesystem. Post the results of the above command (the first 10 lines or so)
Bill Hassell, sysadmin