1828218 Members
2048 Online
109975 Solutions
New Discussion

Re: Mount problem

 
Atul Gautam
Valued Contributor

Mount problem

Hi Xperts,

I have a share defined on MS Windows 2K server whose access has been given to a Local User on the same server.

e.g. \\a.b.c.d\XML which is accessible by "swadmin" user.

This share has been mounted on RHEL4AS server for which the entry in /etc/fstab is ---

//a.b.c.d/XML /mnt/xml smbfs credentials=/etc/samba/XML_info,uid=,gid= 0 0

My credentials file has got following info ---

username=swadmin
password=swadmin

PROBLEM :
=========
The share from Win2K machine gets dismounted/umounted automatically. When I verify what filesystems are currently mounted, it still gives me an entry for the same share but the mount point never shows any file inside it. I have to manually pass on the command to unmount that share and then mount all command to mount all the partitions.

I have verified that Windows user account doesn't get locked at that moment.

What can be the possible reason for this to happen, although I find no reason but if you people can help with this.

Waiting for your expert comments......

If you need any other information from my side, kindly ask me for it.

TIA


Atul
10 REPLIES 10
Court Campbell
Honored Contributor

Re: Mount problem

have you checked your log files? i googled this issue and it seems that there are man others with this problem. One suggestion was to setup a cron entry to access the filesystem every 5 minutes or so.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Atul Gautam
Valued Contributor

Re: Mount problem

My logs say this -------


-----------------------------------------------------------
Apr 9 16:45:30 mlxilgenmigdb kernel: smb_retry: no connection process
Apr 9 16:46:00 mlxilgenmigdb kernel: smb_add_request: request [e2202e80, mid=0] timed out!
Apr 9 16:46:00 mlxilgenmigdb kernel: smb_delete_inode: could not close inode 2
Apr 9 16:46:00 mlxilgenmigdb mount.smbfs[23059]: [2007/04/09 16:46:00, 0] client/smbmount.c:send_fs_socket(410)
Apr 9 16:46:00 mlxilgenmigdb mount.smbfs[23059]: mount.smbfs: entering daemon mode for service \\10.16.168.105\XML, pid=23059
Apr 11 10:21:08 mlxilgenmigdb kernel: SMB connection re-established (-5)
Apr 11 10:53:19 mlxilgenmigdb kernel: smb_retry: no connection process
Apr 11 10:53:49 mlxilgenmigdb kernel: smb_add_request: request [db301e80, mid=0] timed out!
Apr 11 10:53:49 mlxilgenmigdb kernel: smb_delete_inode: could not close inode 2
Apr 11 10:53:49 mlxilgenmigdb mount.smbfs[10243]: [2007/04/11 10:53:49, 0] client/smbmount.c:send_fs_socket(410)
Apr 11 10:53:49 mlxilgenmigdb mount.smbfs[10243]: mount.smbfs: entering daemon mode for service \\10.16.168.105\XML, pid=10243
Apr 11 10:53:50 mlxilgenmigdb kernel: smb_retry: no connection process
Apr 11 10:54:20 mlxilgenmigdb kernel: smb_add_request: request [db301080, mid=0] timed out!
Apr 11 10:54:20 mlxilgenmigdb kernel: smb_delete_inode: could not close inode 2
Apr 11 10:54:20 mlxilgenmigdb mount.smbfs[10252]: [2007/04/11 10:54:20, 0] client/smbmount.c:send_fs_socket(410)
Apr 11 10:54:20 mlxilgenmigdb mount.smbfs[10252]: mount.smbfs: entering daemon mode for service \\10.16.168.105\Upload, pid=10252

-----------------------------------------------------------
Court Campbell
Honored Contributor

Re: Mount problem

what is the version of samba? Also what is your kernel version?
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Atul Gautam
Valued Contributor

Re: Mount problem

Hey Court,

Here's the information that you requested ---

1) Linux version 2.6.9-34.ELsmp
2) I'm not using SAMBA for this , rather it is being mounted using an entry present in /etc/fstab.



Atul
Court Campbell
Honored Contributor

Re: Mount problem

trust me you are using samba. can you please provide the version? run

# rpm -qa samba*

"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Court Campbell
Honored Contributor

Re: Mount problem

it doesn't look as if there are any stable/tested versions above 3.0.10. The latest stable release is 3.0.24. You would have to build from source. Not sure if you are comfortable with that. But it may have fixes for your problem.. Only other option would be to move to rhel5. It uses 3.0.23c.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Atul Gautam
Valued Contributor

Re: Mount problem

Okay, here's the output ----

[root@mlxilgenmigdb ~]# service smb status
smbd (pid 28978 28975) is running...
nmbd dead but pid file exists
[root@mlxilgenmigdb ~]# rpm -qa samba*
samba-client-3.0.10-1.4E.6
samba-common-3.0.10-1.4E.6
samba-3.0.10-1.4E.6
samba-swat-3.0.10-1.4E.6
[root@mlxilgenmigdb ~]#
Atul Gautam
Valued Contributor

Re: Mount problem

Hey....i've no problem in downloading a newer SMB version and then compile and install it but that newer version will require newer libraries and this server is a database server on which currently 5 different databases are running...so I would prefer not doing that.

Also, I cannot upgrade the OS to RHEL5.

Do we have any other solution by which I can find out why it is happening.....???
Court Campbell
Honored Contributor

Re: Mount problem

my try the suggestions in this thread:

http://mail.linux-sxs.org/pipermail/linux-users/2004-September/058928.html

Not sure if it exactly relates, but it is worth a try.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Atul Gautam
Valued Contributor

Re: Mount problem

Thanks Court....

Seems as if this link is worth.

I've implemented two of the options I found in that thread, so lemme see what happens in the next 2-3 days...will keep watching it.


Thanks a lot..


ATUL