Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 268
  • Last Modified:

Linux df command

Hi Experts,
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
/dev/vg_ora
                             9.7G  6.8G  2.5G  74%       /u01
/dev/lv_ora
                              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!
0
ralph_rea
Asked:
ralph_rea
1 Solution
 
KimputerCommented:
Automatically reserved for root (during disaster, like storage fully filled, root can still log in, and do some work).
0
 
ralph_reaAuthor Commented:
I Know that 5% of the disk might be reserved for root but with plus 5% is still less of total size 59G
0
 
Alexander Eßer [Alex140181]Software DeveloperCommented:
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
omarfaridCommented:
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.
0
 
arnoldCommented:
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.
0
 
gheistCommented:
Can you post df output without parameters?
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now