Bug 6352 - smbfs corrupts mount point
smbfs corrupts mount point
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: distribution (Show other bugs)
6.1
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-10-25 17:57 EDT by das_deniz
Modified: 2007-04-18 12:24 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-10-27 12:02:20 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description das_deniz 1999-10-25 17:57:07 EDT
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
Comment 1 Bill Nottingham 1999-10-25 19:05:59 EDT
Do a umount /maim.

If smbmount fails, it can leave a stale 'mount' on
the mount point.
Comment 2 das_deniz 1999-10-26 08:49:59 EDT
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
Comment 3 Manuel S. 2004-07-01 15:23:20 EDT
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...

Note You need to log in before you can comment on or make changes to this bug.