- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- filesystem size is not updating while doing 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
08-29-2008 10:42 AM
08-29-2008 10:42 AM
[root@server1:/root]
# bdf /oracle/F7C/sapdata3
Filesystem kbytes used avail %used Mounted on
/dev/vg_F7C_03/lv_data03
35586048 23145840 12343096 65% /oracle/F7C/sapdata3
[root@server1:/root]
# du -sk /oracle/F7C/sapdata3
8 /oracle/F7C/sapdata3
[root@server1:/root]
# lvdisplay /dev/vg_F7C_03/lv_data03
--- Logical volumes ---
LV Name /dev/vg_F7C_03/lv_data03
VG Name /dev/vg_F7C_03
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 34752
Current LE 8688
Allocated PE 8688
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
Hope someone could explain what happened
Thanks,
Mike
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2008 10:50 AM
08-29-2008 10:50 AM
SolutionIf you attempt to unmount the filesystem I would suspect you cannot because it is still busy.
run fuser or lsof to find the process.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2008 10:55 AM
08-29-2008 10:55 AM
Re: filesystem size is not updating while doing bdf
This is perfectly understandable if the file in question is a sparse one. "Sparse" files are those with unallocated extents, very common in databases. Try this:
# cd /path
# perl -le '$f="sparse";open(FH,">",$f);seek(FH,2**32,1);print FH "."'
# ls -l sparse
-rw-r--r-- 1 root sys 4294967298 Aug 29 14:53 sparse
# du sparse
16 sparse
Now, if you have the space in the filesystem where you created this file:
# cp sparse sparse.expanded
You can compare the 'bdf' output before and afterwards to see what you have observed, too.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2008 11:10 AM
08-29-2008 11:10 AM
Re: filesystem size is not updating while doing bdf
My apologies, I should learn to read :-(
Tim has answered your question most correctly.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2008 11:56 AM
08-29-2008 11:56 AM
Re: filesystem size is not updating while doing bdf
Points were assigned. Thanks :)
Regards, Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2008 11:59 AM
08-29-2008 11:59 AM
Re: filesystem size is not updating while doing bdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2008 12:12 PM
08-29-2008 12:12 PM
Re: filesystem size is not updating while doing bdf
Thanks
SKR