20
Apr/09
5

Linux: df: cannot read table of mounted file systems

“df -l” returned an error: “df: cannot read table of mounted file systems”. I looked at my “/etc/mtab” file – empty! I did a “fdisk -l” and saw my partitions there, then proceeded to create a new mtab from my /proc/mount:

grep -v rootfs /proc/mounts > /etc/mtab

Error message: no space left on the device!

Ran out of room… my SQL dumps are taking a lot of space :( Freed up some space and executed the command again – df is now returning what it’s supposed to return.

Related posts:

  1. Linux: Cannot turn on a virtual machine after unclean shutdown – failed to lock the file error VMware Server
  2. Linux: Cannot move folders – inter-device move failed, unable to remove target: Is a directory
  3. Windows: Error opening installation log file. Verify that the specified log file location exists and is writable
  4. Linux: A simple and quick way of sharing a folder with Windows systems using Samba

Filed under: Linux
You are not authorized to see this part
Please, insert a valid App ID, otherwise your plugin won't work correctly.
Comments (5) Trackbacks (0)
  1. nexus
    10:51 AM on February 9th, 2010
    Firefox 3.5.7 Firefox 3.5.7 Windows XP Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7

    wow, thanks.. working again :D

  2. s0l0m4n
    10:45 PM on January 11th, 2011
    Firefox 3.6.13 Firefox 3.6.13 Mac OS X 10.6 Mac OS X 10.6
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13

    I type a command but getting an error : grep: write error: No space left on device.

    How can I do ?

    Thanks.

  3. Ali
    2:09 PM on January 14th, 2011
    Firefox 3.6.13 Firefox 3.6.13 Windows 7 Windows 7
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 GTB7.1 ( .NET CLR 3.5.30729; .NET4.0E)

    Do a df -l and check your partitions, one should say 100% used – clean it up.

  4. Lalo
    7:35 PM on April 19th, 2011
    Opera 11.10 Opera 11.10 GNU/Linux GNU/Linux
    Opera/9.80 (X11; Linux i686; U; es-LA) Presto/2.8.131 Version/11.10

    Thank you sir, helped me while trying to rescue the old grub :)

  5. csw
    9:42 AM on October 31st, 2011
    Firefox 4.0.1 Firefox 4.0.1 GNU/Linux GNU/Linux
    Mozilla/5.0 (X11; Linux i686; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

    Spot on thanks!

Leave a comment

No trackbacks yet.

Plugin from the creators of Brindes Personalizados :: More at Plulz Wordpress Plugins