File system concepts (df command)

Posted by mkab on Super User See other posts from Super User or by mkab
Published on 2012-04-09T22:00:06Z Indexed on 2012/04/09 23:36 UTC
Read the original article Hit count: 331

I'm finding it difficult to understand some stuffs about the df command. Suppose I type df and I have the following output

Filesystem    1k-blocks    Used           Avail    Capacity    Mounted on
/dev/da0s1    some number  some number    number   percentage  /win
/dev/da0s2    some number  some number    number   percentage  /win/home
/dev/da0s3a   some number  some number    number   percentage  /
devfs         some number  some number    number   percentage  /dev
/dev/da0s3g   some number  some number    number   percentage  /local
/dev/da0s3h   some number  some number    -number     102%     /reste
/dev/da0s3d   some number  some number    number   percentage  /tmp
/dev/da1s3f   some number  some number    number   percentage  /usr
/dev/da1s3e   some number  some number    number   percentage  /var
/dev/da1s1a   some number  some number    number   percentage  /public

Are the answers to the following questions correct?

How many physical drives do I have? Ans: 2. da0s1 and da1s1

How many physical partitions on each disk? Ans: 8 for da0s1 and 1 for da1s1

How many BSD partition on each physical partition Ans: Impossible to determine. We have to use the -T to determine its type

How is it possible for the file system /dev/da0s3h filled at 102%? And where is this overflowed data written?Ans: I have no idea for this one

Thanks.

© Super User or respective owner

Related posts about linux

Related posts about hard-drive