Obscure df -h output

Kris Kennaway kris at FreeBSD.org
Thu Aug 28 08:30:25 UTC 2008


Marc Coyles wrote:
> One of my servers appears to be having a slightly dippy moment...
> Running FREEBSD 5.3-RELEASE-p5 i386 (I don't have the bottle to attempt
> freebsd-update to 7.0-REL, altho I really should... Still a relative
> newb tho, and not confident on a box I can only access by remote)
> running WHM 11.23.2 cPanel 11.23.4-R26157 - I'm seeing some very obscure
> results on df -h...
> 
> #Filesystem        Size    Used   Avail Capacity  Mounted on
> /dev/ad0s1a       1.9G    648M    1.1G    36%    /
> devfs             1.0K    1.0K      0B   100%    /dev
> /dev/ad0s1g        47G     18G     25G    42%    /home
> /dev/ad0s1d       1.9G    872K    1.8G     0%    /tmp
> /dev/ad0s1e       9.7G    3.5G    5.4G    40%    /usr
> /dev/ad0s1f       9.7G    2.1G    6.8G    23%    /var
> devfs             1.0K    1.0K      0B   100%    /etc/namedb/dev
> procfs            4.0K    4.0K      0B   100%    /proc
> /libexec          1.9G    648M    1.1G    36%    libexec
> /lib              1.9G    648M    1.1G    36%    lib
> /usr/lib          9.7G    3.5G    5.4G    40%    usr/lib
> /usr/sbin         9.7G    3.5G    5.4G    40%    usr/sbin
> /usr/share        9.7G    3.5G    5.4G    40%    usr/share
> /usr/bin          9.7G    3.5G    5.4G    40%    usr/bin
> /usr/man          9.7G    3.5G    5.4G    40%    usr/man
> /usr/X11R6        9.7G    3.5G    5.4G    40%    usr/X11R6
> /usr/libexec      9.7G    3.5G    5.4G    40%    usr/libexec
> /usr/local/bin    9.7G    3.5G    5.4G    40%    usr/local/bin
> /usr/local/lib    9.7G    3.5G    5.4G    40%    usr/local/lib
> /var/spool        9.7G    2.1G    6.8G    23%    var/spool
> /var/lib          9.7G    2.1G    6.8G    23%    var/lib
> /var/run          9.7G    2.1G    6.8G    23%    var/run
> /var/log          9.7G    2.1G    6.8G    23%    var/log
> /home/tff          47G     18G     25G    42%    tff
> /tmp              1.9G    872K    1.8G     0%    tmp
> /dev              1.0K    1.0K      0B   100%    dev
> /bin              1.9G    648M    1.1G    36%    bin
> /proc             4.0K    4.0K      0B   100%    proc
> 
> 
> /etc/fstab reads as follows...
> 
> # Device        Mountpoint FStype Options        Dump Pass#
> /dev/ad0s1b      none    swap   sw                      0 0
> /dev/ad0s1a      /       ufs    rw                      1 1
> /dev/ad0s1g      /home   ufs    rw                      2 2
> /dev/ad0s1d      /tmp    ufs    rw                      2 2
> /dev/ad0s1e      /usr    ufs    rw                      2 2
> /dev/ad0s1f      /var    ufs    rw                      2 2
> /dev/acd0        /cdrom  cd9660 ro,noauto               0 0
> 
> 
> Any clues as to what's going on / advice on how to proceed...? This box
> crashed last week whilst I was on holiday and appeared to be a brute for
> Planet's TechSupport to get back online... Can't find anything in logs
> as to why. Am wondering if HDD is a bit unhealthy? There is a spare
> drive mounted in the box that I can begin to clone everything on to if
> needs be (and have "Absolute FreeBSD 2nd Edition" and "Best of FreeBSD
> Basics" to hand).

Looks like they did some strange things trying to get it back.  Those 
look like nullfs mounts with the same source and destination, which 
makes no sense.  What does mount -v show you?

Kris


More information about the freebsd-questions mailing list