- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- can't find what fills up my file system
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
02-12-2007 08:28 AM
02-12-2007 08:28 AM
and du -sk * and cannot find the large file
Is there any way the large file would be hidden?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2007 08:34 AM
02-12-2007 08:34 AM
Re: can't find what fills up my file system
One very effective way to hide a file is to create it in a directory which is later used as a mountpoint.
Something like
#mkdir /tmp
#dd if=/dev/zero count=200000 of=/tmp/x
#mount /tmp
This will 'nicely' hide 100M worth of space where it hurts most (/)
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2007 08:38 AM
02-12-2007 08:38 AM
Re: can't find what fills up my file system
in the filesystem of question
# cd /home using as example
# du -x -ka . | sort -nr | more
This du command is saying to list the files by size in ascending order and to not cross mount points, so this will stay in the /home filesystem.
If you suspect hidden files, this won't do it. But it will make it easier to read the output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2007 08:55 AM
02-12-2007 08:55 AM
SolutionTo add, it is possible that the file consuming your space has long vanished.
A common technique with temporary files is to create them and immediately 'unlink()' (remove) them. This is a convenient coding choice.
Until then last process using the file terminates, the disk blocks allocated to the file remain.
You can use 'lsof' to look for files with link counts of zero. These would be ones still in use by a process.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2007 09:01 AM
02-12-2007 09:01 AM
Re: can't find what fills up my file system
This file system is used a temp space for processes, still I would expect to see the file that is writing to.
If there a hidden folder, is there any way I can discover it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2007 09:21 AM
02-12-2007 09:21 AM
Re: can't find what fills up my file system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2007 09:22 AM
02-12-2007 09:22 AM