20
Apr/095
Apr/095
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:
- Linux: Cannot turn on a virtual machine after unclean shutdown – failed to lock the file error VMware Server
- Linux: Cannot move folders – inter-device move failed, unable to remove target: Is a directory
- Windows: Error opening installation log file. Verify that the specified log file location exists and is writable
- Linux: A simple and quick way of sharing a folder with Windows systems using Samba
Enjoy this article?
Please, insert a valid App ID, otherwise your plugin won't work correctly.
Comments (5)
Trackbacks (0) ( subscribe to comments on this post )
Leave a comment
No trackbacks yet.

10:51 AM on February 9th, 2010
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
10:45 PM on January 11th, 2011
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.
2:09 PM on January 14th, 2011
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.
7:35 PM on April 19th, 2011
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
9:42 AM on October 31st, 2011
Mozilla/5.0 (X11; Linux i686; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
Spot on thanks!