[Linux-cluster] grokking gfs_tool df output

Ramon van Alteren ramon at vanalteren.nl
Thu Jul 13 09:48:43 UTC 2006


Hi List,

I couldn't find an answer in the archive.

If I df my gfs share I get these numbers:
/dev/mapper/vg--data-gfs_test--lv
                     8588492768    347684 8588145084   1% /mnt/gfs

If I run gfs_tool df I get these:

/mnt/gfs:
  SB lock proto = "lock_dlm"
  SB lock table = "testcluster:gfs1_test"
  SB ondisk format = 1309
  SB multihost format = 1401
  Block size = 4096
  Journals = 5
  Resource Groups = 32766
  Mounted lock proto = "lock_dlm"
  Mounted lock table = "testcluster:gfs1_test"
  Mounted host data = ""/mnt/gfs:
  SB lock proto = "lock_dlm"
  SB lock table = "testcluster:gfs1_test"
  SB ondisk format = 1309
  SB multihost format = 1401
  Block size = 4096
  Journals = 5
  Resource Groups = 32766
  Mounted lock proto = "lock_dlm"
  Mounted lock table = "testcluster:gfs1_test"
  Mounted host data = ""
  Journal number = 0
  Lock module flags =
  Local flocks = FALSE
  Local caching = FALSE
  Oopses OK = FALSE

  Type           Total          Used           Free           use%
  ------------------------------------------------------------------------
  inodes         39127          39127          0              100%
  metadata       1009589        1754           1007835        0%
  data           2146074476     45912          2146028564     0%

  Journal number = 0
  Lock module flags =
  Local flocks = FALSE
  Local caching = FALSE
  Oopses OK = FALSE

  Type           Total          Used           Free           use%
  ------------------------------------------------------------------------
  inodes         39127          39127          0              100%
  metadata       1009589        1754           1007835        0%
  data           2146074476     45912          2146028564     0%

I'm unsure how to interpret these numbers.

The used data * block size doesn't come near my reported df size.
I can't make sense of the differences...

Could anybody enlighten me on what the output of gfs_tool df actually 
means ??
Or point me to a source of documentation ?

Thanx

Ramon

-- 
To be stupid and selfish and to have good health are the three requirements for happiness, though if stupidity is lacking, the others are useless.

Gustave Flaubert

  
  




More information about the Linux-cluster mailing list