Welcome, Guest. Please login or register.

Author Topic: SMBFS cannot connect  (Read 2584 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Doppie1200Topic starter

  • Sr. Member
  • ****
  • Join Date: May 2004
  • Posts: 497
    • Show only replies by Doppie1200
SMBFS cannot connect
« 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.

Regards,
Erno

(O\\\\_|_/O) <- this is supposed to look like the front of my beetle
(entire front not possible in signature)
 

Offline Colmiga

  • Full Member
  • ***
  • Join Date: Mar 2002
  • Posts: 105
    • Show only replies by Colmiga
    • http://colmiga.org
Re: SMBFS cannot connect
« Reply #1 on: January 04, 2007, 11:03:56 AM »
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.

Sam460ex: PPC460ex/1GHz, 2GB RAM, 30GB SSD via on-board SATA-2, DVD-RW via USB, Radeon 5450 1GB PCIe, Catweasel Mk4 PCI, A4000 KB and Competition Pro CD32 Pad.
A4000D: 030/25MHz, 16MB RAM, Indivision Mk1, 8GB CF as HDD and IDE CD-ROM.

Amiga user since 1992.
 

Offline Doppie1200Topic starter

  • Sr. Member
  • ****
  • Join Date: May 2004
  • Posts: 497
    • Show only replies by Doppie1200
Re: SMBFS cannot connect
« Reply #2 on: January 04, 2007, 11:16:17 AM »
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.
Regards,
Erno

(O\\\\_|_/O) <- this is supposed to look like the front of my beetle
(entire front not possible in signature)
 

Offline Colmiga

  • Full Member
  • ***
  • Join Date: Mar 2002
  • Posts: 105
    • Show only replies by Colmiga
    • http://colmiga.org
Re: SMBFS cannot connect
« Reply #3 on: January 04, 2007, 12:01:56 PM »
Quote

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.
Sam460ex: PPC460ex/1GHz, 2GB RAM, 30GB SSD via on-board SATA-2, DVD-RW via USB, Radeon 5450 1GB PCIe, Catweasel Mk4 PCI, A4000 KB and Competition Pro CD32 Pad.
A4000D: 030/25MHz, 16MB RAM, Indivision Mk1, 8GB CF as HDD and IDE CD-ROM.

Amiga user since 1992.
 

Offline Doppie1200Topic starter

  • Sr. Member
  • ****
  • Join Date: May 2004
  • Posts: 497
    • Show only replies by Doppie1200
Re: SMBFS cannot connect
« Reply #4 on: January 04, 2007, 12:25:36 PM »
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.
Regards,
Erno

(O\\\\_|_/O) <- this is supposed to look like the front of my beetle
(entire front not possible in signature)
 

Offline Colmiga

  • Full Member
  • ***
  • Join Date: Mar 2002
  • Posts: 105
    • Show only replies by Colmiga
    • http://colmiga.org
Re: SMBFS cannot connect
« Reply #5 on: January 04, 2007, 02:08:05 PM »
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.
Sam460ex: PPC460ex/1GHz, 2GB RAM, 30GB SSD via on-board SATA-2, DVD-RW via USB, Radeon 5450 1GB PCIe, Catweasel Mk4 PCI, A4000 KB and Competition Pro CD32 Pad.
A4000D: 030/25MHz, 16MB RAM, Indivision Mk1, 8GB CF as HDD and IDE CD-ROM.

Amiga user since 1992.
 

Offline Doppie1200Topic starter

  • Sr. Member
  • ****
  • Join Date: May 2004
  • Posts: 497
    • Show only replies by Doppie1200
Re: SMBFS cannot connect
« Reply #6 on: January 04, 2007, 03:17:04 PM »
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.

Regards,
Erno

(O\\\\_|_/O) <- this is supposed to look like the front of my beetle
(entire front not possible in signature)
 

Offline J-Golden

  • TOP SECRET USER!!!
  • Hero Member
  • *****
  • Join Date: Jun 2002
  • Posts: 1325
  • Country: us
  • Gender: Male
    • Show only replies by J-Golden
    • http://about.me/J.Golden
Re: SMBFS cannot connect
« Reply #7 on: January 04, 2007, 04:29:19 PM »
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...
AMIGA: (NOUN) THE FIRST COMPUTER THAT BRIDGED THE GAP BETWEEN HUMANITY AND TECHNOLOGY.
 

Offline Doppie1200Topic starter

  • Sr. Member
  • ****
  • Join Date: May 2004
  • Posts: 497
    • Show only replies by Doppie1200
Re: SMBFS cannot connect
« Reply #8 on: January 04, 2007, 04:36:52 PM »
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.

Regards,
Erno

(O\\\\_|_/O) <- this is supposed to look like the front of my beetle
(entire front not possible in signature)
 

Offline sandpiper

  • Full Member
  • ***
  • Join Date: Apr 2005
  • Posts: 133
    • Show only replies by sandpiper
Re: SMBFS cannot connect
« Reply #9 on: February 11, 2007, 02:20:26 PM »
@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.

 

Offline Doppie1200Topic starter

  • Sr. Member
  • ****
  • Join Date: May 2004
  • Posts: 497
    • Show only replies by Doppie1200
Re: SMBFS cannot connect
« Reply #10 on: February 11, 2007, 03:21:22 PM »
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.
Regards,
Erno

(O\\\\_|_/O) <- this is supposed to look like the front of my beetle
(entire front not possible in signature)
 

Offline sandpiper

  • Full Member
  • ***
  • Join Date: Apr 2005
  • Posts: 133
    • Show only replies by sandpiper
Re: SMBFS cannot connect
« Reply #11 on: February 11, 2007, 11:14:20 PM »
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.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: SMBFS cannot connect
« Reply #12 on: February 12, 2007, 12:21:50 AM »
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.