20
Apr/09
1

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.

Share this article
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Twitter
  • LinkedIn

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. Linux: A simple and quick way of sharing a folder with Windows systems using Samba

Filed under: Linux
Comments (1) 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

Leave a comment

No trackbacks yet.