Amiga.org
Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: Doppie1200 on January 04, 2007, 10:42:13 AM
-
Hi all,
I'm trying to connect with my 250G NAS using SMBFS.
Sadly I get;
ERRSRV - ERRerror (Non-specific error code).
Cannot connect to server (23, Too many open files in system).
Could not connect to server (23, Too many open files in system).
Is the capacity of the NAS overwhelming the SMBFS tool?
The stack size is set to 65535
Any help appreciated.
-
Were you sharing files on the NAS to other computers on the network when you tried to access it from the Amiga?
The reason I ask is because the error 'Too many open files in system' is usually associated with the SMB server (your NAS) hitting the maximum number of files allowed to be open (which I've read is 2048) simultaniously.
-
There is one PC turned on that mounts two shares from the NAS. However it has no files open. My laptop usually mounts the shares too. But that is turned off. The laptop and the PC have no trouble using the NAS simultaniously.
I created an empty folder on the NAS and shared that. Even that share has too many open files according to the Amiga.
It is possible to mount the shares the PC offers using the amiga. But that was not were I was after.
The error prior to the open files messages is suspicious too. Maybe something else went wrong and the errors indicating too many files are open are just nonsense.
Anyone else have had this problem and solved it. I'm not looking forward debugging SMBFS.
-
Doppie1200 wrote:
It is possible to mount the shares the PC offers using the amiga. But that was not were I was after.
That can indicate one of two things:
1. SMBFS is doing something the NAS does not understand.
2. The NAS is doing something SMBFS does not understand.
SMBFS working with Windows points more toward 1. In that case, I would suggest making sure the firmware on the NAS is the latest version as there may be a chance the issue has been fixed.
Interesting to note, a large number of Consumer/SOHO NAS products run Linux as the OS with Samba to share files on the network. Chances are your NAS runs Linux/Samba.
What version of SMBFS do you run? I'll fire up my A4000 and see if I have issues accessing my Linksys NSLU2 NAS with it.
-
Thanks for your help.
The history file tells me it is 1.66
The NAS is a Sitecom MD250
It runs firmware called; NAS-BASIC45, LOADER 68
Whatever that means.
I'll check for an update
Edit: Checked and updated to the latest version. Sadly no change in behaviour.
-
Tried SMBFS 1.66 on the A4000, has trouble connecting to both my NAS, and a Samba server on my Laptop. smbclient from the Samba 2.2.5 archive on Aminet works fine on the other hand, can browse, create, delete, etc.
My guess is there is something up with SMBFS. Debugging it sounds like a good idea. Also, send an email to the author with the issue, he might be able to help.
Other than that, updating the firmware on the NAS is the only other thing I can suggest.
-
Thanks for trying.
I have upgraded the firmware but it does not solve the problem. For some reason the NAS acts differently than the PC.
Sometime in the distant future I will try to build this tool on the amiga and hook up a debugger / network sniffer. Then I'll see what the differences are and if I can come up with a fix.
Currenly I'm occupied with a more 8bit oriented project so this has to be shelved for now.
In case anyone beats me to a solution I'd be happy to hear about it.
-
SO you have a prebuilt/store bought NAS? Hmmm, I've always heard bad things about those because they are geared towards Win/Mac boxs.
If you haven't had it long, I'd suggest taking it back and picking up an old P-III and installing FreeNAS (google it). I have had NO problems getting onto it with Mac, Windows, and Amiga. It's alot more configurable then the commercial products you can get...
-
Thanks for the suggestion but no thanks.
I think it is pretty obvious things are geared towards Win or Mac boxes. Commercially these are the only ones rellevant for the consumer market.
Since my primairy goal was using the NAS in conjunction with wintel boxes I'm pretty confortable with it.
A seperate PC system would be too much hassle IMHO and consumes way too much power.
I'll stick with the NAS and fix the SMBFS if time permits and I still have interest. The Amiga is not that much important to me since it's primairy use is gaming. It does fine without NAS but It would be a nice backup option if it had worked.
-
@Doppie1200
Did you ever get this working? I just got a Coolmax NAS and set it up on my network. Works fine with the PCs and iMac but I receive the same message as you when trying to connect to it with smbfs from my Amiga (too many open files). I have tried smb-handler, no luck yet with this either.
-
No, I haven't. Gave up on it. Even FTP is a hassle. AmFTP and AmiTradeCenter both goof up that. Only Dopus does FTP correctly with my NAS. I didn't bother to sort it out since I do not use my amiga much lately. If you find a workaround please let me no.
-
Yes, you are right. Ftp works but its not practical for what I want to do. I would like to keep all of my mp3s on the NAS so they can be used by all machines on the network. I will keep you posted if I find a solution.
-
That's quite weird. I wonder what smb stack they're using in those devices, considering the regular linux samba is just fine.
I've got 1TB HDD on a cel d 360 box for storage needs. It's relatively low power (for a x86) and sure is quiet (well perhaps due to the CPU cooler with a 120mm fan ;-)) This box triples as a gateway, firewall and web/ftp/mail server, too, so it'd just take even more power to have separate NAS...
I can watch movies from any computer in my LAN (Windows, Linux, Mac OS X, MorphOS). smbfs has no issues. Gigabit ethernet ensures the bandwidth isn't eaten up by some ftp transfers for example.