- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Filesystem show 66% used while it is free
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
Discussions
Discussions
Discussions
Forums
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
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
тАО06-17-2008 09:47 PM
тАО06-17-2008 09:47 PM
Filesystem show 66% used while it is free
I have filesystem on hp-ux 11.23 show 66% used, and it is only have only 4 small files.
bdf
/dev/vgora3/lvolarch 580829184 375993500 192034120 66% /ora/arch
cd /ora/arch
du -ks *
5 ARC_1_5559_627560237.arc
0 lost+found
37 system_info_v7.sh
94 system_info_Oracle.txt
Please advice.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2008 09:53 PM
тАО06-17-2008 09:53 PM
Re: Filesystem show 66% used while it is free
Otherwise this happens if you had a large file that was opened and then you removed it. The space still stays there until that process is finished.
You can use lsof(1) to find who has it opened.
There are lots of threads on this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2008 10:26 PM
тАО06-17-2008 10:26 PM
Re: Filesystem show 66% used while it is free
This may occur if we touch open files.
"du" shows output in a positive view: it shows the number of currently allocated locks and counts the blocks you've just deleted as free.
"bdf" has a more negative perspective: it shows the free disk space available.
The difference is here: if a still-active process has allocated blocks (such as for a logfile that you've just deleted), "bdf" counts these as still occupied.
This won't change until the process closes the file ("deallocates the blocks")
as it usually happens when the process terminates.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2008 10:30 PM
тАО06-17-2008 10:30 PM
Re: Filesystem show 66% used while it is free
Download the crashinfo.bin file from the above link for IA or PA.
Once on HP-UX system:
# cd /tmp
# ./crashinfo -v
There may be remarkable differences in the bdf(1) and du(1) outputs, because bdf(1) looks at file system statistics, while du(1) looks at the files it finds in the directories.
Under certain circumstances, files that actually exist in a file system, might not be visible. There are two reasons for that, which are also the reason why du(1) wouldn't count their sizes when calculating the disk usage:
1) files that have already been deleted, but are still opened by running processes
You can find such files with
# /tmp/crashinfo -unlinked
It will print their inodes and sizes, and also the processes that still have this file open, e.g.
[formatted]
PID PPID COMMAND INODE DEVICE SIZE(bytes)
3844 1 swagentd 6725 /dev/vg00/lvol6 133
[unformatted]
These files will still occupy space in the file system, but they will not be visible in the directory listings because their directory entries have already been deleted. The files themselves will only be deleted after all processes that have the file open either close the file, or terminate.
If that doesn't happen on its own, you might need to kill the appropriate processes, to free the disk space by
# kill -9
NOTE: If still there are issue, you need to stop the Database to release the unlinked file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2008 02:39 AM
тАО06-18-2008 02:39 AM
Re: Filesystem show 66% used while it is free
lsof /ora/arch |more
look through the list and kill the process.
rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2008 12:48 AM
тАО06-19-2008 12:48 AM
Re: Filesystem show 66% used while it is free
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2008 02:44 AM
тАО06-19-2008 02:44 AM
Re: Filesystem show 66% used while it is free
try the above post answer to check which files are still opened that were previously deleted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2008 02:50 AM
тАО06-19-2008 02:50 AM
Re: Filesystem show 66% used while it is free
Please refer to the below link which you help you
http://www11.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c01055283-2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2008 06:44 AM
тАО06-19-2008 06:44 AM
Re: Filesystem show 66% used while it is free
to check which processes are still locking it just issue a lsof on your FS and it ll shows you the processes in cause
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2008 06:52 AM
тАО06-19-2008 06:52 AM
Re: Filesystem show 66% used while it is free
This command will give all processes running under this FS.
Kill the processes under the presence of some DBA guys.
Sometimes you rm some bigger files, it takes some times to free up the space.
Thanks