“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.
wow, thanks.. working again 😀
I type a command but getting an error : grep: write error: No space left on device.
How can I do ?
Thanks.
Do a df -l and check your partitions, one should say 100% used – clean it up.
Thank you sir, helped me while trying to rescue the old grub 🙂
Spot on thanks!
Perfect, it worked instantly with Centos 6 and cpanel.
Thanks!
very helpful! thanks!
Thanks. This was really helpful