ali aboos

Linux: df: cannot read table of mounted file systems

by on Apr.20, 2009, under Linux

“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.

CC0 1.0 To the extent possible under law, the creator has waived all copyright and related or neighboring rights to this work.


8 Comments for this entry

Leave a Reply

Time limit is exhausted. Please reload CAPTCHA.

Search InsaneLabs.com

Can't find what you're looking for? Drop a comment on a post or email (ali aht insanelabs doht com)

Links

Links open in a new window