- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- / (root) 100% Full - But It's Not ???
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
03-30-2006 06:37 PM
03-30-2006 06:37 PM
/ (root) 100% Full - But It's Not ???
I'm having a weird problem on a RedHat AS 3 update 3 server. df is reporting that the root filesystem is 100% full...
Filesystem Size Used Avail Use% Mounted on
/dev/vg00/lvol1 496M 496M 0 100% /
However, it's not... a du -x -h / shows that it only contains 235MB of data, not 496MB as per df...
Obviously you can't remount the root filesystem, so we first off just rebooted the server. This made no difference, then we set the box to perform an fsck of the filesystem on the next boot, and rebooted the server again...stil no difference.
I'm kind of running out of ideas, and wondered if anyone else had seen this problem or something similar?
Thanks - Lee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 06:53 PM
03-30-2006 06:53 PM
Re: / (root) 100% Full - But It's Not ???
du -kx / | sort -n
Check big dirs/files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 06:59 PM
03-30-2006 06:59 PM
Re: / (root) 100% Full - But It's Not ???
# du -kx / |sort -n
4609 /root
5118 /lib/modules/2.4.21-20.ELsmp/kernel/drivers/scsi
5166 /etc/gconf/gconf.xml.defaults/schemas
5230 /lib/modules/2.4.21-20.ELcustom/kernel/drivers/scsi
5503 /etc/gconf/gconf.xml.defaults
8662 /etc/gconf
9913 /etc/lvmconf
10198 /bin/bin/admincmd
10695 /lib/modules/2.4.21-20.EL/kernel/drivers
11202 /sbin
13928 /lib/modules/2.4.21-20.EL/kernel
14158 /lib/modules/2.4.21-20.EL
14407 /bin/bin
14584 /lib/modules/2.4.21-20.ELsmp/kernel/drivers
17974 /lib/modules/2.4.21-20.ELsmp/kernel
18208 /lib/modules/2.4.21-20.ELsmp
19590 /bin
26495 /etc
28029 /lib/modules/2.4.21-20.ELcustom/kernel/drivers
33355 /lib/modules/2.4.21-20.ELcustom/kernel
33710 /lib/modules/2.4.21-20.ELcustom
35651 /lib/ssa/gcc-lib/i386-redhat-linux-gnu/3.5-tree-ssa/include/c++/i386-red
hat-linux-gnu/bits/stdc++.h.gch
35775 /lib/ssa/gcc-lib/i386-redhat-linux-gnu/3.5-tree-ssa/include/c++/i386-red
hat-linux-gnu/bits
35776 /lib/ssa/gcc-lib/i386-redhat-linux-gnu/3.5-tree-ssa/include/c++/i386-red
hat-linux-gnu
37990 /lib/ssa/gcc-lib/i386-redhat-linux-gnu/3.5-tree-ssa/include/c++
41557 /lib/ssa/gcc-lib/i386-redhat-linux-gnu/3.5-tree-ssa/include
66077 /lib/modules
85502 /lib/ssa/gcc-lib/i386-redhat-linux-gnu/3.5-tree-ssa
85503 /lib/ssa/gcc-lib/i386-redhat-linux-gnu
85504 /lib/ssa/gcc-lib
95231 /lib/ssa
181472 /lib
245192 /
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 07:11 PM
03-30-2006 07:11 PM
Re: / (root) 100% Full - But It's Not ???
Also try using 'lsof' to see if any large files are opened, but no longer on the filesystem (i.e. someone rm'd a file, but something still had a file-handle open to it).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 07:24 PM
03-30-2006 07:24 PM
Re: / (root) 100% Full - But It's Not ???
Stuart's point is valid but if you have rebooted the case that should not happen..
Can you however create a file or a dir in the / filesystem?
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 07:28 PM
03-30-2006 07:28 PM
Re: / (root) 100% Full - But It's Not ???
Thanks - Lee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 07:39 PM
03-30-2006 07:39 PM
Re: / (root) 100% Full - But It's Not ???
The reason why I mentioned it is because it's recorruing between boots.
So it's still a viable possiblity (i.e. a startup routine is doing something odd).
Is the /tmp structure on the root filesystem, or on it's own (or using a ramfs) ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 07:59 PM
03-30-2006 07:59 PM
Re: / (root) 100% Full - But It's Not ???
Could be bcoz its the backup media server...once the backup is complete does it show 100% full...
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 11:50 PM
03-30-2006 11:50 PM
Re: / (root) 100% Full - But It's Not ???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 11:57 PM
03-30-2006 11:57 PM
Re: / (root) 100% Full - But It's Not ???
Maybe, the directory that uses the disk space is hidden because is a mount point. I would try umounting all file systems in single user to check if some mount point has files inside.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 11:59 PM
03-30-2006 11:59 PM
Re: / (root) 100% Full - But It's Not ???
/tmp is a separate filesystem, and its not using a ramfs or anything like that. The backups run overnight, but the filesystem is full all of the time, it doesn't go up and down.
And i would boot it into Single user mode, but there's no iLo and I haven't got the energy to walk to the server room...what with it being Friday afternoon and all :-) I'll leave this one until Monday I think.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2006 12:03 AM
03-31-2006 12:03 AM
Re: / (root) 100% Full - But It's Not ???
Few possibilities:
1) the old hidden file trick. you make a folder, copy 50 MB into it and then mount a filesystem on it. The files are there, taking up space on root and are absolutly invisible. To find such things, you boot to single user mode or you umount your filesystems one at a time and look for hidden files.
2) What you think is a folder is not a folder. I commonly make mistakes testing batch jobs, define an incorrect path and the file copy goes into the /root/ folder. Take a look there.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2006 07:07 AM
03-31-2006 07:07 AM
Re: / (root) 100% Full - But It's Not ???
Strange! Try an lvdisplay -v /dev/vg00/lvol1 and see what the size of the lv is. I once extended an lv and df reported the old size because I had forgotten to extend the filesystem as well. Maybe this is something that happend for you as well?
//Marius
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2006 09:02 PM
04-03-2006 09:02 PM
Re: / (root) 100% Full - But It's Not ???
Since you have rebooted the server I would imagine its not a case of df cacheing information. Run
df -k /
to get the logical volume name for the root filesystem and then run
tune2fs -l
That will give you the superblock info for that filesystem and help with the diagnosis.