Start Free Trial
Come for the solution, stay for everything else.
Start Free Trial
Linux df command
I've this Linux machine:
Linux version 2.6.18-371.3.1.el5xen (gcc version 4.1.2 20080704 (Red Hat 4.1.2-54))
I run df command:
[ora11g@hy]$ df -h
Filesystem Size Used Avail Use% Mounted on
9.7G 6.8G 2.5G 74% /u01
59G 47G 8.2G 86% /sxr/oracle
I'd like to know Why the total size 9.7G isn't the same as Used+Available 6.8G + 2.5G (9.3G) and total 59G isn't the same as 47G + 8.2G (55.2)?
Thanks in advance!
Linux OS Dev
8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Log in or sign up to see answer
Become an EE member today
7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
I Know that 5% of the disk might be reserved for root but with plus 5% is still less of total size 59G
no points please
The difference in size you observed is due to file system over head, There is no exact ratio for this as it depends on factor like number of files or dirs and their sizes.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Amount of space used is based on number of files and their space, inodes have a minimum file size (often 4k)such that a 1character file (1 byte) will account for 4k of space used when computing how much space is left while not being reflected in actual space used.
Can you post df output without parameters?
Plans and Pricing
Certified Expert Program
© 1996-2022 Experts Exchange, LLC. All rights reserved. Covered by US Patent