Operating System - Linux
1748104 Members
4917 Online
108758 Solutions
New Discussion юеВ

Re: df: cannot read table of mounted filesystems

 
SOLVED
Go to solution
Maaz
Valued Contributor

df: cannot read table of mounted filesystems

# cat /etc/SuSE-release
SUSE LINUX Enterprise Server 9 (x86_64)
VERSION = 9

# df -h
df: cannot read table of mounted filesystems: No such file or directory

This is a live but very low profile/priority machine(I mean users rarely connect to this machine).

Any help will be highly appreciated

Regards
Maaz
5 REPLIES 5
Gokul Chandola
Trusted Contributor

Re: df: cannot read table of mounted filesystems

Hi,
There is probably something wrong with your /etc/mtab or /etc/fstab
files. If you have a reasonably new version of mount, /etc/mtab should
be emptied or deleted at boot time (in /etc/rc.local or /etc/rc.d/*).

Regards,
Gokul Chandola
There is always some scope for improvment.
Maaz
Valued Contributor

Re: df: cannot read table of mounted filesystems

Thanks Dear Gokul Chandola

# cat /etc/mtab
/dev/sda8 / reiserfs rw,acl,user_xattr 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
devpts /dev/pts devpts rw,mode=0620,gid=5 0 0
/dev/sda1 /boot reiserfs rw,acl,user_xattr 0 0
/dev/sda6 /tmp reiserfs rw,acl,user_xattr 0 0
/dev/sda5 /usr reiserfs rw,acl,user_xattr 0 0
/dev/sda7 /var reiserfs rw,acl,user_xattr 0 0
/dev/hdc /media/cdrom subfs ro,nosuid,nodev,fs=cdfss,procuid,iocharset=utf8 0 0
/dev/fd0 /media/floppy subfs rw,nosuid,nodev,sync,fs=floppyfss,procuid 0 0
usbfs /proc/bus/usb usbfs rw 0 0


# cat /etc/fstab
/dev/sda8 / reiserfs acl,user_xattr
1 1
/dev/sda1 /boot reiserfs acl,user_xattr
1 2
/dev/sda6 /tmp reiserfs acl,user_xattr
1 2
/dev/sda5 /usr reiserfs acl,user_xattr
1 2
/dev/sda7 /var reiserfs acl,user_xattr
1 2
/dev/sda2 swap swap pri=42
0 0
devpts /dev/pts devpts mode=0620,gid=5
0 0
proc /proc proc defaults
0 0
usbfs /proc/bus/usb usbfs noauto
0 0
sysfs /sys sysfs noauto
0 0
/dev/cdrom /media/cdrom subfs
fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/fd0 /media/floppy subfs
fs=floppyfss,procuid,nodev,nosuid,sync 0 0


# mount
/dev/sda8 on / type reiserfs (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/sda1 on /boot type reiserfs (rw,acl,user_xattr)
/dev/sda6 on /tmp type reiserfs (rw,acl,user_xattr)
/dev/sda5 on /usr type reiserfs (rw,acl,user_xattr)
/dev/sda7 on /var type reiserfs (rw,acl,user_xattr)
/dev/hdc on /media/cdrom type subfs
(ro,nosuid,nodev,fs=cdfss,procuid,iocharset=utf8)
/dev/fd0 on /media/floppy type subfs
(rw,nosuid,nodev,sync,fs=floppyfss,procuid)
usbfs on /proc/bus/usb type usbfs (rw)

Regards
Maaz
Sandeep_Chaudhary
Trusted Contributor
Solution

Re: df: cannot read table of mounted filesystems

I guess following Novell Forum post is having answer fr ur question:
Its probable file system full problem

http://www.novell.com/communities/node/2669/solving-error-when-using-df-h
Maaz
Valued Contributor

Re: df: cannot read table of mounted filesystems

Thanks Dear Gokul Chandola, and Sandeep_Chaudhary, for nice and prompt help

Regards
Maaz
Valued Contributor

Re: df: cannot read table of mounted filesystems

close ;)