- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Differensies in output of bdf and du
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
10-05-2008 10:57 PM
10-05-2008 10:57 PM
Can one explain why bdf differs with du?
I have filesystem made on LVM LV
bdf shows that:
size 661520384 kbytes
used 380609243 kbytes
avail 263354293 kbytes
the most size used is Oracle archive logs
there ~90 files of 2 Gb - it is ~180Gb
du shows the same 180 Gb
ll also shows that files are of 2Gb size and manual calculation gives the same 180 Gb
HPUX 11.23
What it can be?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2008 11:08 PM
10-05-2008 11:08 PM
Solutionregards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2008 11:12 PM
10-05-2008 11:12 PM
Re: Differensies in output of bdf and du
du - summarize disk usage
where did u execute the du? in mount point or a particular folder within a file mount point?
anyway, sometimes it observes that, file system may still hold the released file(s). check which file(s) are now being accessing in that mount point with lsof.
#lsof +aL1 /
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2008 11:34 PM
10-05-2008 11:34 PM
Re: Differensies in output of bdf and du
ahsan, I tried du on mountpoint and on specific dir within mountpoint
Collegues, do you know any precendents with Oracle? This filesystem is used as storedge for Oracle archive logs.
Also, as I understand I should try to unmount it in oder to be sure that no one uses open but deleted files in this fs?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2008 11:39 PM
10-05-2008 11:39 PM
Re: Differensies in output of bdf and du
all his output is just strings like this
oracle 564 oracle 413u REG 64,0x280001 33286004736 0 47 /u18 (/dev/vgarcl/lvol1)
total 431 strings that show that different oracle process hold /dev/vgarcl/lvol1
total existing files on that filesystem is 154
does this show that I have a lot of unlinkeds?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2008 11:49 PM
10-05-2008 11:49 PM
Re: Differensies in output of bdf and du
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2008 11:56 PM
10-05-2008 11:56 PM
Re: Differensies in output of bdf and du
So, how can I clear them? Should I try to unmount this FS or reboot of server is more correct solution?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2008 12:00 AM
10-06-2008 12:00 AM
Re: Differensies in output of bdf and du
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2008 12:06 AM
10-06-2008 12:06 AM
Re: Differensies in output of bdf and du
Thanks :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2008 01:29 AM
10-06-2008 01:29 AM
Re: Differensies in output of bdf and du
These two utilities use different means to obtain space.
BDF will not show free space until file handles are closed on deleted files. A common cause of discrepancy is a file handle is open on a deleted file and the space is recognized by du and not bdf.
example:
I rm /tmp/bigfile.dbf
Its 200 GB.
But its an oracle database and oracle is running and has an open file handle.
fuser -cu /tmp
Will show an open process and file handle
fuser -cuk will kill that process. But if in my example that will bring down the oracle database so you must use this command with extreme caution.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2008 06:47 AM
10-06-2008 06:47 AM