[Users] df showing zero space used

Garith Dugmore garith at saao.ac.za
Fri Nov 21 09:46:13 EST 2008


Hello fellow openvz users,

Would anyone know why a 'df -h' is showing zero space used?

proxy:/var/cache# df -h
Filesystem            Size  Used Avail Use% Mounted on
simfs                 100G     0  100G   0% /
tmpfs                 2.0G     0  2.0G   0% /lib/init/rw
tmpfs                 2.0G     0  2.0G   0% /dev/shm

I've done some searching around and have had no luck finding a solution 
yet and seems to only be this container ('df -h' is giving correct 
results in other containers).

My config for that container (excluding ip,dns config):

====================================
ONBOOT="yes"

# UBC parameters (in form of barrier:limit)
KMEMSIZE="11055923:11377049"
LOCKEDPAGES="256:256"
PRIVVMPAGES="195536:195536"
SHMPAGES="19553:19553"
NUMPROC="240:240"
PHYSPAGES="0:2147483647"
VMGUARPAGES="195536:195536"
OOMGUARPAGES="195536:195536"
NUMTCPSOCK="360:360"
NUMFLOCK="188:206"
NUMPTY="16:16"
NUMSIGINFO="256:256"
TCPSNDBUF="1720320:2703360"
TCPRCVBUF="1720320:2703360"
OTHERSOCKBUF="1126080:2097152"
DGRAMRCVBUF="262144:262144"
NUMOTHERSOCK="360:360"
DCACHESIZE="3409920:3624960"
NUMFILE="9312:9312"
AVNUMPROC="180:180"
NUMIPTENT="128:128"

# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE="104857600:115302400"
DISKINODES="1953124992:1953124992"
QUOTATIME="0"

# CPU fair sheduler parameter
CPUUNITS="1000"

VE_ROOT="/var/lib/vz/root/$VEID"
VE_PRIVATE="/var/lib/vz/private/$VEID"
OSTEMPLATE="debian-4.0-i386-minimal"
ORIGIN_SAMPLE="vps.basic"

====================================

Any pointers will be greatly appreciated!

-- 

Garith Dugmore
Senior Systems Administrator
South African Astronomical Observatory
and Southern African Large Telescope



More information about the Users mailing list