- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- / filling up, how to "pare" mount point?
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
тАО08-14-2006 05:15 AM
тАО08-14-2006 05:15 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2006 05:20 AM
тАО08-14-2006 05:20 AM
Re: / filling up, how to "pare" mount point?
If there space in any where in the Machine, then the first step that I can think of is to link the directory to a filesystem that has some spare space !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2006 05:21 AM
тАО08-14-2006 05:21 AM
Re: / filling up, how to "pare" mount point?
if you can provide more detail, I am sure you can get more meaningful answers
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2006 05:21 AM
тАО08-14-2006 05:21 AM
Re: / filling up, how to "pare" mount point?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2006 05:22 AM
тАО08-14-2006 05:22 AM
Re: / filling up, how to "pare" mount point?
You mount point is probably in the same filesystem as /
To see the biggest files in order,
# cd /
# du -x -ka . | sort -nr | more
Starting in the root, the du -x command will list files without crossing filesystems (the -x option). The -ka will list in 1024 blocks (the -k option) and list files (the -a option)
Is it the /dev/ directory? Somebody trying a backup? Not getting to the correct and so the /dev directory usually takes the punishment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2006 06:16 AM
тАО08-14-2006 06:16 AM
Re: / filling up, how to "pare" mount point?
If haven't already, you should investigate what is causing the root filesystem to fill up. Then takes steps to correct the core problem, instead of just mitigating symptoms.
On one my stock 11.11 systems, the following directories, among a few others, are located on the root filesystem:
/
/etc
/sbin
/dev
Concentrate your search here. This command:
du -xk / | sort -n
will give a list of directories on the root filesystem, sorted by size.
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2006 06:55 AM
тАО08-14-2006 06:55 AM
Re: / filling up, how to "pare" mount point?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2006 07:01 AM
тАО08-14-2006 07:01 AM
Re: / filling up, how to "pare" mount point?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2006 07:30 AM
тАО08-14-2006 07:30 AM
Solutionfind / -xdev -size +1000000c | xargs ll > /tmp/largefiles.out
there are very few files under the "/" filesystem, which are larger than the 1 MB (roughly) size specified in this find command and you can tell from their location if these are legitimately large files or not.
Some of my wisegys, especially junior sysadmins, think that they can use / as their temporary storage. what can be easier to specify an output file and placing it in /, right ?
As Clay indicated, most likely culprit for an over-inflated / is either core files
( find / -xdev -name core )
or
someone fat-fingering a device file name and sending output of a backup into something like /dev/rmt/* or instead of sending output to /dev/null they may misspell null, creating a file of that name.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2006 08:05 AM
тАО08-14-2006 08:05 AM
Re: / filling up, how to "pare" mount point?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2006 10:30 AM
тАО08-14-2006 10:30 AM
Re: / filling up, how to "pare" mount point?
1. There were thousands and thousands of files and directories which were then removed. The3 directory is not resized but simply has the entries marked as reuseable. There is no way to return the unused entries except to backup /web, remove the difrectory, recreate and restore /web.
2. The directory really contains thousands of files and the directory size is normal.
Now it is VERY important to type this command:
bdf /web
If the mountpoint at the end of the line shows: /web, then /web is a separate disk and has no effect whatsoever on the / directory. When you analyze /, you can't use ls as it shows mountpoints (which occupy no space on /) as well as real directories like /etc /dev and /sbin which do indeed occupy space in /.
So to analyze / to see why it is growing (I am assuming that:
bdf /
shows the 92% full situation for /. USe the du command to analyze the directories. Trying to find large files will totally miss a bogus directory full of hundreds of small junk files. Post the resulot of this command:
du -kx / | sort -nr | head -20
You will see /sbin and /etc are the largest directories, perhaps 30 to 40 megs each. If anything else shows up at the top of the list, that's your problem directory that needs to be moved.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2006 10:37 AM
тАО08-14-2006 10:37 AM
Re: / filling up, how to "pare" mount point?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2006 10:38 AM
тАО08-14-2006 10:38 AM