- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 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-29-2007 07:29 PM
тАО03-29-2007 07:29 PM
p.s. I try to check with "top" but nothing found .
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2007 07:42 PM
тАО03-29-2007 07:42 PM
Re: The / directory is full
To get the size of each directory (including their sub-directories) ordered by size (largest first), only at the current filesystem:
cd / (or wherever the problem is)
du -kx | sort -rn |more
Typical causes of / going 100% full:
- a big "core" file in /
- if you have huge VGs, the LVM configuration backup files in /etc/lvmconf may grow too large for the root filesystem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2007 07:44 PM
тАО03-29-2007 07:44 PM
Re: The / directory is full
commands to look at are:
du -sk *
find / -xdev -size +1000000c
find / -xdev -mtime +1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2007 07:44 PM
тАО03-29-2007 07:44 PM
Re: The / directory is full
cd /dev
find . -type f -print
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2007 07:45 PM
тАО03-29-2007 07:45 PM
Re: The / directory is full
"top" command shows running processes nothing related to filesystems.
1) try to find big files:
#find / -xdev -type f -size +10000 -exec ls -l {} \+
have a special focus on "core"s, files under /dev
2) try to find deleted but still-in-use files:
# lsof +L1
rgds
HGH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2007 07:46 PM
тАО03-29-2007 07:46 PM
Re: The / directory is full
# du -k | sort -rn | more
Find the largest dir and (re)move the files to a more appropriate location.
# find / -size +10000 -xdev -type f -exec ll {} \;
above command will find "large" files
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2007 07:52 PM
тАО03-29-2007 07:52 PM
Re: The / directory is full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2007 07:59 PM
тАО03-29-2007 07:59 PM
Re: The / directory is full
go to /
# cd /
# for i in `ll .|grep ^d|awk '{print $9}'`; do du -rsk $i; done|sort -nk 1
This will give u usage in KB of each dir under /.
Ignore mount point of other filesystems and
explore remaining dir.
Then under each remaining dir repeat above
Also if u want to sort files by size use
# ll .|sort -rk5
Inspect the files and remove unwanted files.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2007 09:48 PM
тАО03-29-2007 09:48 PM
Re: The / directory is full
1] top command
display and update information about the top processes on the system
2] To see large files
# find / -size +10000 -xdev -type f -exec ll {} \
3] du command
The du command gives the number of 512-byte blocks allocated for all files and (recursively) directories within each directory and file specified by the name operands.
Thanks & Regards
Reshma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2007 10:11 PM
тАО03-29-2007 10:11 PM
Re: The / directory is full
with 'bdf' you can see which directories doesn't belong to '/'.
Check /dev, /tmp (if it belongs to /).
Also, if /var belongs to /, do a patch cleanup - see 'man cleanup' for the syntax you need.
Any feed back from you till now?
Volkmar