Sponsored Content
Full Discussion: Df -h does not tally
Top Forums UNIX for Beginners Questions & Answers Df -h does not tally Post 303004098 by desind on Tuesday 26th of September 2017 02:10:57 PM
Old 09-26-2017
Df -h does not tally

Hi,

My df -h numbers do not tally.

Code:
desind@abc123:~#> df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/xvda1       99G  6.9G   87G   8% /
tmpfs            16G     0   16G   0% /dev/shm
/dev/xvdi        50G   53M   47G   1% /home
/dev/xvdb       985G   72M  935G   1% /kafka/data/sda
/dev/xvdc       985G   19G  916G   3% /kafka/data/sdb
/dev/xvdd       985G   19G  916G   3% /kafka/data/sdc
/dev/xvde       985G   76G  859G   9% /kafka/data/sdd
/dev/xvdj        20G   44M   19G   1% /abv/monitoring
/dev/xvdf        69G  3.1G   63G   5% /cxt/sfw
/dev/xvdl       7.8G   19M  7.4G   1% /tmp
/dev/xvdg       9.8G  3.1G  6.2G  34% /var
/dev/xvdh        50G  205M   47G   1% /var/log
cm_processes     16G  168M   16G   2% /var/run/cloudera-scm-agent/process
/dev/xvdk        79G  214M   75G   1% /fgv/pep

I am concerned about the /kafka/data/* directories.

for example /kafka/data/sdd the used column is incorrect.

i did a du and the number still says 76G

Code:
desind@abc123:/kafka/data/sdd#> sudo du -sh
76G

If total size is 985G and used is 76G, then the available disk must be 909G

Is this a bug in redhat linux 6.7 ? can i check that is the exact usage ?

Last edited by desind; 09-26-2017 at 03:15 PM.. Reason: code tags
 
FDFORMAT(8)						     Linux Programmer's Manual						       FDFORMAT(8)

NAME
fdformat - Low-level formats a floppy disk SYNOPSIS
fdformat [ -n ] device DESCRIPTION
fdformat does a low level format on a floppy disk. device is usually one of the following (for floppy devices, the major = 2, and the minor is shown for informational purposes only): /dev/fd0d360 (minor = 4) /dev/fd0h1200 (minor = 8) /dev/fd0D360 (minor = 12) /dev/fd0H360 (minor = 12) /dev/fd0D720 (minor = 16) /dev/fd0H720 (minor = 16) /dev/fd0h360 (minor = 20) /dev/fd0h720 (minor = 24) /dev/fd0H1440 (minor = 28) /dev/fd1d360 (minor = 5) /dev/fd1h1200 (minor = 9) /dev/fd1D360 (minor = 13) /dev/fd1H360 (minor = 13) /dev/fd1D720 (minor = 17) /dev/fd1H720 (minor = 17) /dev/fd1h360 (minor = 21) /dev/fd1h720 (minor = 25) /dev/fd1H1440 (minor = 29) The generic floppy devices, /dev/fd0 and /dev/fd1, will fail to work with fdformat when a non-standard format is being used, or if the for- mat has not been autodetected earlier. In this case, use setfdprm(8) to load the disk parameters. OPTIONS
-n No verify. This option will disable the verification that is performed after the format. SEE ALSO
fd(4), setfdprm(8), mkfs(8), emkfs(8) AUTHOR
Werner Almesberger (almesber@nessie.cs.id.ethz.ch) Linux 0.99 1 February 1993 FDFORMAT(8)
All times are GMT -4. The time now is 04:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy