df command show no output

Posted by user119720 on Server Fault See other posts from Server Fault or by user119720
Published on 2012-09-12T07:30:27Z Indexed on 2012/09/12 9:40 UTC
Read the original article Hit count: 246

Filed under:
|
|

I'm running the linux distro on my server.When i want to verify the size of the disk, i'm issuing this commnand to get the output.

 df -h

But it does not produce ANY output.Strangely enough when i'm issuing other command such as fdisk -l or du -h it can show output normally.

Does anyone now why is this happening?Thanks.

edit:

here is the output of cat /etc/fstab

 none     /dev/pts       devpts   rw   0     0

and this is for mount command

 none on /dev/pts type devpts (rw)
 none on /proc/sys/fs/binfmt_misc tpe binfmt_misc  (rw)

edit(2):

here is the output of cat /proc/mounts

 /dev/vzfs / vzfs rw,relatime,usrquota,grpquota 0 0
 proc /proc proc rw,relatime 0 0
 sysfs /sys sysfs rw,relatime 0 0
 none /dev/tmpfs rw,relatime 0 0
 none /dev/pts devpts rw,relatime 0 0
 none /proc/sys/fs/binfmt_misc binfmt_msc rw,relatime 0 0

© Server Fault or respective owner

Related posts about linux

Related posts about centos