- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: diff in df -h and du -sh
Operating System - Linux
1753797
Members
7751
Online
108799
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО09-14-2010 02:26 AM
тАО09-14-2010 02:26 AM
diff in df -h and du -sh
oracle:~ # df -h | grep u10
/dev/sdi1 200G 118G 83G 59% /u10
oracle:~ # du -sh /u10/
111G /u10/
why is there a difference in df -h and du-sh?
used space is 118G with df and 111G in du -sh
/dev/sdi1 200G 118G 83G 59% /u10
oracle:~ # du -sh /u10/
111G /u10/
why is there a difference in df -h and du-sh?
used space is 118G with df and 111G in du -sh
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2010 04:14 AM
тАО09-14-2010 04:14 AM
Re: diff in df -h and du -sh
du..>Disk Usage - report the amount of disk space used by the specified files and for each subdirectory
df ..> report file system disk space usage
orphan files on the file system were responsible for the significant difference between the df and du commands.
ie,one files may be opened by one process and the file get deleted before the precess end.At this state du can't count the deleted file ,but df will see that it is used by the process.
Find the below thread.
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1284464040318+28353475&threadId=1134300
Bijeesh
df ..> report file system disk space usage
orphan files on the file system were responsible for the significant difference between the df and du commands.
ie,one files may be opened by one process and the file get deleted before the precess end.At this state du can't count the deleted file ,but df will see that it is used by the process.
Find the below thread.
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1284464040318+28353475&threadId=1134300
Bijeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2010 08:55 PM
тАО09-14-2010 08:55 PM
Re: diff in df -h and du -sh
df - report file system disk space usage
du -- display disk usage statistics
in file system it also displayes size of whatever files has been open, that is why its always more.
du would only tell you the exact size of files in the server.
BR,
Kapil+
du -- display disk usage statistics
in file system it also displayes size of whatever files has been open, that is why its always more.
du would only tell you the exact size of files in the server.
BR,
Kapil+
I am in this small bowl, I wane see the real world......
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2010 04:50 AM
тАО09-15-2010 04:50 AM
Re: diff in df -h and du -sh
thank you all for the clarification
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP