- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- rm files and bdf
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-19-2002 08:17 AM
02-19-2002 08:17 AM
Any commands I can run to correct the situation. du -k shows the correct amount of space used.
..Joe
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2002 08:19 AM
02-19-2002 08:19 AM
Re: rm files and bdf
Check this thread:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x276050011d20d6118ff40090279cd0f9,00.html
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2002 08:20 AM
02-19-2002 08:20 AM
SolutionHTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2002 08:21 AM
02-19-2002 08:21 AM
Re: rm files and bdf
You have open file(s). Use fusers or lsof (which does a better job) to identify the process that is hanging on to the open file(s).
Once you terminate the rogue process, your bdf and du -sk output should match closely.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2002 08:22 AM
02-19-2002 08:22 AM
Re: rm files and bdf
You can do an fuser or (better an lsof) and determine which processes still have those files open.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2002 08:29 AM
02-19-2002 08:29 AM
Re: rm files and bdf
Take a look at this:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xdec879bffde7d4118fef0090279cd0f9,00.html
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2002 09:08 AM
02-19-2002 09:08 AM
Re: rm files and bdf
as all have mentioned, some process is holding the space. kill that user with fuser command, or shutting down the application and starting it again also will clear up the space.
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2002 09:13 AM
02-19-2002 09:13 AM
Re: rm files and bdf
#sync
#sync
This may be helpful to flush the buffer and sync the disc and will give U the exact match with bdf and df.... just give try .. it worked for me some times
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2002 09:15 AM
02-19-2002 09:15 AM
Re: rm files and bdf
As mentioned, get lsof (beats the hell out of fuser, plus it has network features!) from:
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.55/
and before blowing away files, make sure no one has them open, otherwise you are defeating the purpose.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2002 09:35 AM
02-19-2002 09:35 AM
Re: rm files and bdf
Did you try bdf -i ? You might have run out of inodes...
Do this from the file system that is 100%
ls -lR | grep "^-" | sort -nr -k 5 | more
This will list all files by size in descending order...
-Shabu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2002 11:00 AM
02-19-2002 11:00 AM
Re: rm files and bdf
..du checks for file existence, whereas bdf also accounts for reserved space.
# du -s /mnt_pnt would summarize
g`d luck
t+-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2002 03:45 PM
02-19-2002 03:45 PM
Re: rm files and bdf
for eg: you have a file call test in /tmp which occupies more space just try
$cp /dev/null /tmp/test
this will make the file to free up the space, but stll the file will be there with size of 0 bytes
By doing this you can see the free space immediately in BDF command