- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Free space not getting updated immediately
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-14-2000 03:05 PM
02-14-2000 03:05 PM
Free space not getting updated immediately
We have a hp715 w/s with hpux 10.2. We run an application on this which
generates a log file of around 800MB within a few days.
We run a cron job to remove this file once in a week.
After removing this file also, the bdf ouput shows 100% used. If the server is
rebooted it will come down to 49%.
Once we removed this file and left the system for 2 days. But the free space
was not updated. Only when we rebooted the server it shows 49% used.
Can some one help us ???
Thanks in advance
Sajith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2000 04:29 PM
02-14-2000 04:29 PM
Re: Free space not getting updated immediately
generally causes bdf to continue reporting that the space is in use, whereas
using df or du should show the space recovered. If this is the case, then you
could try halting the application first, then doing the removal or truncation,
and then restarting the application.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2000 04:53 PM
02-14-2000 04:53 PM
Re: Free space not getting updated immediately
Try and use the command lsof - list open files .
This will help you to see the open file that was created by the process you
run.
Then stop this process and the free space will be shown on the file system.
Try and use lsof "File name" or
lsof " Device name " .
(You can read the man page).
And then you will find the pid of the process that run the open file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2000 07:51 AM
02-15-2000 07:51 AM
Re: Free space not getting updated immediately
You mentioned on your reply to use lsof command to get the updated size of a
file. We tried using this command using root account but it seems that we dont
have this command in place on our system. By the way, we are on 10.20
version. I even check the man page but no entry of this command.
Please advise how can we have this command installed
Regards
Joey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2000 12:00 AM
02-16-2000 12:00 AM
Re: Free space not getting updated immediately
open file and the pid that has that file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2000 01:17 AM
02-16-2000 01:17 AM
Re: Free space not getting updated immediately
page is not avaiable for this tool. 'lsof' is a shareware program that must be
downloaded on your system & installed by you. However, it sounds like you do
not need this tool. You already know the name of the process that is creating
this file. I believe what is happening on your system is:
A pesky variant of a file that is filling a file system is an unlinked file to
which some process is still writing. When a process opens a file and then
unlinks it, the file's resources remain in use by the the process, but the
file's directory entries are removed. Hence, even when you know the directory
where the file once resided, you can't detect it with 'ls'.
This can be an administrative problem when the unlinked file is large, and the
process that holds it open continues to write to it. Only when the process
closes the file will its resources, particularly disk space, be released.
Like the advice given ealier, by Melvin, close the process that is creating
this file and then remove the file. This should do it - just as if you were
rebooting your system.
Go to a HP shareware Web site & look up 'lsof' or check out HP's Knowledge tool
for more information about this program.
Good Luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2000 09:50 PM
02-16-2000 09:50 PM