- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: / filesystem
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
08-22-2001 10:03 PM
08-22-2001 10:03 PM
/ filesystem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2001 10:21 PM
08-22-2001 10:21 PM
Re: / filesystem
1) Do not have too many directories on the / filesystem.
2) Check if any process is generating core dumps, these can fill up the space.
3) Check if any processes are opening files and writing into them on the root filesystem. You can use glance to monitor the open files.
Hope this helps.
...BPK...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2001 10:38 PM
08-22-2001 10:38 PM
Re: / filesystem
Also search for core files
find / -xdev -name core -print
Find files of more than 5MB size
find / -xdev -size 10000 -print
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 03:00 AM
08-23-2001 03:00 AM
Re: / filesystem
find / -xdev -size +1000000c -exec ll {} \;
There could also be processes that are still writing to files even though space has been made free. To check:
Run lsof and redirect the output > /tmp/lsof.out
Look for entries that have /dev/dsk/vg## in the last column these are processes that can still be writing even though space has been cleared up. In my case it was a glance process. An example of the lsof is
emsagent 1502 root 0w VREG 64,0x2 47387 1884 / (/dev/vg00/l
vol3)
where=emsagent is the process name
1502= is the process number
/ = the filesystem that is being written to
/dev/vg00/lvol3=gives an inidication that the problem could be there.
By killing the process giving me problems I went from 97% full to 65%.
Hope this helps.
nancy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 04:29 AM
08-23-2001 04:29 AM
Re: / filesystem
You could do
du -kx / |sort -n
(this would list the disk usage in KBytes )
Look for core files
Look in /dev/ and /etc/cmcluster directories.
The package log files in a cluster might get really huge.
du -ks /etc/cmcluster/* |sort -n
-HTH
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 06:02 AM
08-23-2001 06:02 AM
Re: / filesystem
You must having somewhere core file.
As other says run
du -sk /* > file1
then when you have system fill up run again
du -sk /* > file2 compare two file and find out why and where that directory is having large file.
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 06:29 AM
08-23-2001 06:29 AM
Re: / filesystem
cd /
touch /tmp/flist
cat /etc/fstab | cut -f2 -d" " | grep "/" > /tmp/flist
ls | while read line
do
if grep $line /tmp/flist > /dev/null 2> /dev/null
then
#do nothing
else
du -sk $line
fi
done
Hope this helps
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 08:39 AM
08-23-2001 08:39 AM
Re: / filesystem
You obviously have a problem; the / filesystem should not be growing at all! It's very common for someone to accidently recreate device files
like /dev/null or /dev/rmt/1m or to tar to /dev/rmt/Om (the letter) when they meant 0m (the number). That's the first thing to look for. You could be creating core files for processes running in the / filesystem. Use the find command to look for large files or files that have been modified in the last day. Only a few files in the / filesystem should actually be modified in a properly configured system.