- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: The / directory is 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
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
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
тАО03-30-2007 04:25 AM
тАО03-30-2007 04:25 AM
Re: The / directory is full
First thiing is to check for any large core files. You can also use the du -k in the current directory to see large files.
Hope this helps.
sp,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2007 06:35 AM
тАО03-30-2007 06:35 AM
Re: The / directory is full
Example:
WRONG: tar -cf /dev/rm filename(s)
RIGHT: tar -cf /dev/rmt/0m filename(s)
if your drive is using 0m.
Here is a little script to show the size of files/directories starting at a directory. I suggest running this at /dev to see if the culprit is in there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2007 06:38 AM
тАО03-30-2007 06:38 AM
Re: The / directory is full
#! /bin/sh
#
# Program name: dir_usage
#
# Written by Gregory J. Locke, 012407
#
# Usage: execute this in the directory to be checked
for i in `/usr/bin/ls`
do /usr/bin/du -skx $i
done
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2007 02:23 PM
тАО03-30-2007 02:23 PM
Re: The / directory is full
The best option is that
find / -xdev -size +50000000c -exec ll {} \; | more
where 50000000 is size in byte you can use any size.
after this command if you want to know size in Kb.. just try
du -sk ( file name with absolute path)
Above command gives expected result.
Regards
Ashish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2007 06:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2007 03:55 AM
тАО03-31-2007 03:55 AM
Re: The / directory is full
Use the below command to list files more than 1MB in the root file system.
# find / -xdev -size +1000000c -exec ls -lt {} \;
Use the below command to see the size of directories under root,
# du -sk | sort -n
there may be some directories which are on separate mount so compare with the bdf output to make out which are separate mounts
Also it happens in most of the cases that there may be open files which will be filling up filesystem space
Use " #lsof / " to identify the openfiles which are holding up root and try to recycle the process which is using more space.
Cheers
Like it or worked !! Click kudos !!
- « Previous
-
- 1
- 2
- Next »