On Thu, 02 Sep 2010 10:24:05 +0200 Bernard Scharp <freebsd-questi...@itsacon.net> articulated:
> Hi all, > > I'm having some problems with a bash script. > > It's a backup script that periodically checks if a list of systems is > online, and if so, uses samba to mount a specified list of shares, > rsyncs them to a local directory and unmounts again. > > This used to run fine till a few months ago (I don't know what the > trigger was that caused them to first fail). > > Now, when the script is run, it gives the following error when > mounting the shares: > > mount_smbfs: can't get handle to requester (no /dev/nsmb* device) > > Which is strange, as there are (by last count) 1170 /dev/nsmb* devices > in /dev/ (is that normal?) > > Searching the internet, FreeBSD and Samba mailing lists gave me no > recent info, and the old info wasn't helpful. > > I've narrowed it down to the point where I think it's caused by one > process trying to open two (or more) shares at the same time. (a > simple script mounting two shares gives the same error). > > I can mount the shares from the command line without problems, it's > only in the bash script it gives me problems. > > ~/.nsmbrc and /etc/nsmb.conf are correct, smbd, nmbd and winbindd are > running. The system is FreeBSD 8.0 Stable. > > Anyone got any suggestions? Could you post the script? Anything else would be pure guess work. You also might consider posting this on the "BASH" mail forum: bug-b...@gnu.org although you might have to subscribe first: http://lists.gnu.org/mailman/listinfo/bug-bash -- Jerry ✌ freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ Vital papers will demonstrate their vitality by spontaneously moving from where you left them to where you can't find them. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"