df shows no file systems processed

Posted on October 23rd, 2015

A df -m command on the system shows:

df -m
df: no file systems processed

on Openvz file systems are mounted on the hostnode. In order for openvz to know about the filesystems it reads /etc/mtab (which shows the data from /proc/mounts).

To fix the issue run

cat /proc/mounts > /etc/mtab

 

If you need any further assistance please contact our support department.

5 Responses to “df shows no file systems processed”

  1. Slick Admin says:

    Simple fix. thank you!

  2. Tauqir says:

    Thanks
    Easy,simple and perfect solution

  3. venkat says:

    Am getting the following Error..

    [root@localhost etc]# cat /proc/mounts > /etc/mtab
    -bash: /etc/mtab: Read-only file system
    [root@localhost etc]#

  4. Fabio Venturi says:

    Try to remount root filesystem:
    mount -o remount,rw /dev/sdXY /

    where X is the disk letter and Y the partition number in sdXY
    then cat /proc/mounts > /etc/mtab

Leave a Reply