df shows no file systems processed

Posted at October 23, 2015 at 8:06 am by InterServer Staff

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

0.00 avg. rating (0% score) - 0 votes

You can skip to the end and leave a response. Pinging is currently not allowed.

5 Responses to “df shows no file systems processed”

  1. Slick Admin says:

    Simple fix. thank you!

  2. Tauqir says:

    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