- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Full partition, but nothing in it
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-05-2003 06:23 AM
02-05-2003 06:23 AM
Full partition, but nothing in it
Later, it hit 100% full again. I went in this time and anything that didn't have a current date stamp was removed. What was left amounted to 1-2MB.
The %used (from bdf command), never seemed to go down. And sure enough, /tmp filled up again. But there are no files or directories that can account for the 2GB.
My hunch is that the first time someone removed files from /tmp, they ended up removing something that was open for write, and the system never gave up that space in memory, and that may be hanging onto (allocated) disk space.
Any other ideas of why? And any ideas how to find the villan?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2003 06:25 AM
02-05-2003 06:25 AM
Re: Full partition, but nothing in it
Probably the only way to find the villain is to use lsof.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2003 06:25 AM
02-05-2003 06:25 AM
Re: Full partition, but nothing in it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2003 06:31 AM
02-05-2003 06:31 AM
Re: Full partition, but nothing in it
Probably when the system is rebooted the /tmp is cleared.
Also,
Now /tmp is full is that some process is filling up the fil e system.
you need to identify the process that is causing this.
you can use lsof for this.
Check this link for the download site for lsof.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x346d402f24d5d61190050090279cd0f9,00.html
shutdown this process and then start.
That should clear up the space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2003 06:33 AM
02-05-2003 06:33 AM
Re: Full partition, but nothing in it
fuser -ck /tmp
and check for larger files again under that partition ..
Regards,
Karthik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2003 06:40 AM
02-05-2003 06:40 AM
Re: Full partition, but nothing in it
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xfa2a8f960573d611abdb0090277a778c,00.html
check it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2003 06:45 AM
02-05-2003 06:45 AM
Re: Full partition, but nothing in it
I have such problem months ago, and
#fsck -p
was my solution.
Regards, Stan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2003 06:47 AM
02-05-2003 06:47 AM
Re: Full partition, but nothing in it
At first I would like to strongly un-recommend you to do the "fuser -ck /tmp" !!
This will kill all open processes in /tmp, i.e. it will kill your system.
The best you can do is a "fuser -cu /tmp", This will tell you the current processes open in /tmp.
The reason for your error is that someone has removed a file while a process still had the file open for writing. Therefor always first check a file before deleting it, escpecialy when residing in /tmp. You can do this using "fuser -fu /tmp/
Ok, what to do :
- bdf /tmp
- cd /tmp; du -ks .
These two should differ a lot (df counts, bdf looks up free space).
If so, do the "fuser -cu /tmp" to see all the current open processes in /tmp. ps -ef | grep
Of course you can compare this again with "df-ks .".
Never delete a file in /tmp without checking the file first with "fuser -fu /tmp/
And if the file is in use, but has to be deleted, then always use : "> /tmp/
This will only zero the file and will not change the inode, etc.
Good luck !!
Regs David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2003 07:14 AM
02-05-2003 07:14 AM
Re: Full partition, but nothing in it
>> And if the file is in use, but has to be deleted, then always use : "> /tmp/
Yeah, I wish he would have done this, or cat'd /dev/null into it.
I already used du to to see what was in tmp as a whole. There's nothing in there besides a few small files.
tried lsof /tmp and the output doesn't give me the files that are open. Just the dir. (see attached)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2003 07:24 AM
02-05-2003 07:24 AM
Re: Full partition, but nothing in it
What kind of system do you use that you can use a -p option with fsck?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2003 07:36 AM
02-05-2003 07:36 AM
Re: Full partition, but nothing in it
#umount /tmp
#fsck -o full /dev/vg00/lvol4
may solve problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2003 07:51 AM
02-05-2003 07:51 AM
Re: Full partition, but nothing in it
Also tried lsof -s +D /tmp
(see attached)
Nothing that accounts for a full 2GB fils system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2003 08:19 AM
02-05-2003 08:19 AM
Re: Full partition, but nothing in it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2003 10:02 AM
02-05-2003 10:02 AM