- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Root getting full
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
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
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-20-2007 07:16 AM
тАО12-20-2007 07:16 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2007 07:22 AM
тАО12-20-2007 07:22 AM
Re: Root getting full
2. Look for core files. If you find a file called core, run the command:
file core
If it confirms that it is a core file you can delete it.
3. Check for scripts/applications that are writing to /. They should probably be given their own lvol/filesystem to write to.
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2007 07:23 AM
тАО12-20-2007 07:23 AM
SolutionTypical culprits are regular files in /dev, usually caused by someone mis-spelling a tape device during a backup. You can find these by running "find /dev -type f" - there should be no regular files in /dev. You should also look for core files: "find / -name core".
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2007 07:24 AM
тАО12-20-2007 07:24 AM
Re: Root getting full
find /dev/ -type f will locate the files ( dev should only have device files.
Other files are not easy.
/etc/
/dev/
/sbin/
and / itself
are the only "root" contained directories if you see others it is time to start digging.
/stand
/var
/usr
/opt
/myapp_xyz1
/mayapp_xyz2...
should all be separate mount points.
Depending on the versions of HPUX the root filesystem should contain anywhere from 120MB (11iv1)to 300MB (11iv2) your milage may vary.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2007 07:26 AM
тАО12-20-2007 07:26 AM
Re: Root getting full
1. look for any core files in root
2. Look for /var/adm directory filling up by large log files
3. run du -ks * command to see size of subdirectories filling up root.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2007 07:30 AM
тАО12-20-2007 07:30 AM
Re: Root getting full
the command to check the root filesystem is
# du -x / | sort -rn | more
It will show you the files largest first.
The root file system is lvol3, unfortunately only you can decide if you can safely delete it as it is your system.
I have found that usually a mispelt tape device casues root to fill up.
Mike.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2007 07:45 AM
тАО12-20-2007 07:45 AM
Re: Root getting full
I just tried this, here is the output for that:
du -xk / | sort -rn | more
203760 /
154392 /etc
63200 /etc/vx
61488 /etc/lp
57440 /etc/lp/interface
49384 /etc/lp/interface/model.orig
48864 /sbin
32736 /etc/vx/type
29432 /etc/vx/static.d
28720 /etc/vx/static.d/build
16320 /etc/opt
14840 /etc/vx/type/static
10672 /etc/opt/resmon
8888 /etc/vx/type/gen
7472 /etc/opt/resmon/lbin
6720 /etc/vx/type/raid5
5928 /sbin/fs
4464 /etc/emc
4288 /etc/dt
4280 /etc/dt/appconfig
4264 /etc/dt/appconfig/types
4256 /etc/dt/appconfig/types/C
4040 /etc/lp/member
Wat do u guess?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2007 07:49 AM
тАО12-20-2007 07:49 AM
Re: Root getting full
I would suggest that /etc/lp looks like a good starting place.
Mike.