i experienced the similar problem. the mounted share stays good for a while
and then suddenly spit i/o error and i have to login as root to umount it.
but no reboot is needed and i can mount it again after umounting.
as i posted a question here several hours ago, i'm not sure of the security
implications if we run smbmount/smbumount as setuid (man pages say ok for
smbumount, but nothing about smbmount). but that will let normal users to
mount shares on their own.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Geoff Croxson
Sent: Thursday, October 07, 1999 8:27 PM
To: [EMAIL PROTECTED]
Subject: [expert] Samba and Cron
Dear Experts,
I have my Mandrake 6.0-2 machine smbmounting drives from my Win98 PC. It
seems that I always get errors after cron has run, and I'm not sure if its
a samba problem, or a cron problem. Here is they scenario:
I 'smbmount \\mypc\pcdirectory /home/userinquestion/pcdirectory'
mounts fine, no problems whatsoever, infact I mount two of my pc
directories this way. After cron runs, sometimes one, sometimes two of them
mysteriously stop working. I all I get is Input/Output error if I try to
view the directory as the user or as root.
The cron emails to root say the same thing. Sometimes they say 'Too many
files open' and list the files that are open at the time.
I can't smbumount the directories, neither can I remount them, they only
thing I have found to do is to reboot and remount them. There has to be a
better way!!!
Also, what are the commands to make my mounted PC directories writeable,
not just read-only, I heard somewhere it can be done, but have found
nothing on it.
below is the current /var/log/samba/log.smb. Maybe it can be of some use.
TIA for your time and expertise
Geoff
[1999/09/10 08:26:57, 1] smbd/server.c:main(628)
smbd version 2.0.5a started.
Copyright Andrew Tridgell 1992-1998
[1999/09/10 08:26:58, 1] smbd/files.c:file_init(216)
file_init: Information only: requested 10000 open files, 1014 are
available.
[1999/09/30 11:53:02, 1] smbd/server.c:main(628)
smbd version 2.0.5a started.
Copyright Andrew Tridgell 1992-1998
[1999/09/30 11:53:02, 1] smbd/files.c:file_init(216)
file_init: Information only: requested 10000 open files, 1014 are
available.
[1999/10/06 14:37:01, 1] smbd/server.c:main(628)
smbd version 2.0.5a started.
Copyright Andrew Tridgell 1992-1998
[1999/10/06 14:37:02, 1] smbd/files.c:file_init(216)
file_init: Information only: requested 10000 open files, 1014 are
available.
[1999/10/06 20:49:14, 0] lib/util_sock.c:open_socket_in(854)
Get_Hostbyname: Unknown host jsa-01.hum.uts.edu.au
[1999/10/06 20:49:14, 0] smbd/oplock.c:open_oplock_ipc(92)
open_oplock_ipc: Failed to get local UDP socket for address 100007f.
Error was
Success
[1999/10/06 20:49:24, 0] lib/util_sock.c:open_socket_in(854)
Get_Hostbyname: Unknown host jsa-01.hum.uts.edu.au
[1999/10/06 20:49:24, 0] smbd/oplock.c:open_oplock_ipc(92)
open_oplock_ipc: Failed to get local UDP socket for address 100007f.
Error was
Success
Regards
Geoff Croxson
-----------------------------------------------------------------------
Page me http://wwp.mirabilis.com/1120068
Senior Micro-Computing Support Officer Ph: 9514 1218
Humanities and Social Sciences Fax:9514 1041
University of Technology, Sydney [EMAIL PROTECTED]