wierd - but has happend twice in a week - here goes: do not have samba installed but am using smbfs to mount a winNT HPFS volume. works fine until it doesn't. last time it failed the mount point would spit up in the df output - it failed while mounted. this time it failed while mounting so the df output is clean but the directory listing for the mount point is corrupted as before. [root@ba /root]# cat /usr/local/bin/smbmount-maim smbmount "//maim/ten" /maim -U guest [root@ba /root]# smbmount-maim Added interface ip=192.168.0.10 bcast=192.168.0.255 nmask=255.255.255.0 Password: session setup failed: ERRDOS - ERRnoaccess (Access denied.) smbmount: login failed Could not umount /maim: Device or resource busy smbmount: exit [root@ba /root]# smbmount-maim Added interface ip=192.168.0.10 bcast=192.168.0.255 nmask=255.255.255.0 Could not resolve mount point /maim [root@ba /root]# ls /maim ls: /maim: Input/output error can't unload the smbfs module - reports busy - any cleanup hints - other than rebooting - i can still mount the NT volume to another mount point so don't have to reboot yet - like i said weird. - das
Do a umount /maim. If smbmount fails, it can leave a stale 'mount' on the mount point.
I swear i thought i tried that and it would tell me it's not in the mtab -- maybe that was 6.0? or maybe this solution failed when it was corrupted after the mount succedded? anyway for this specific failure - smbmount fails and mount point won't ls properly afterwards - this is the fix. thank you (RedHat's BUGZILLA rules!) - das
I am getting this in fedora core 2. I mount a smbfs drive OR NFS drive and it will corrupt the mount point with an input/output error.. It also locks up the terminal session as well.. I get the same with mounting using smbmount... And umount'ing does nothing.. Any suggestions...