Koozali.org: home of the SME Server

How to mount network shares thats located on a Netgear NAS as a IBAY

Offline thianb

  • **
  • 33
  • +0/-0
Hi All

I installed an NAS and I want the users to be able access the pastel database that is located on the NAS. Can anyone please help me to solve this issue?

Thian

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: How to mount network shares thats located on a Netgear NAS as a IBAY
« Reply #1 on: September 29, 2009, 04:54:19 PM »
I think you should read the nas manual.. I mean: usually  nas use samba to share files and dirs.. so you already have what you are asking for

my 2c

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: How to mount network shares thats located on a Netgear NAS as a IBAY
« Reply #2 on: September 29, 2009, 11:48:17 PM »
Moving to General Discussions as requested.
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline thianb

  • **
  • 33
  • +0/-0
Re: How to mount network shares thats located on a Netgear NAS as a IBAY
« Reply #3 on: September 30, 2009, 08:05:37 AM »
Stefano there is nothing in the manual regarding the setup of SAMBA for the NAS. Can anyone please help me to solve this?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: How to mount network shares thats located on a Netgear NAS as a IBAY
« Reply #4 on: September 30, 2009, 09:07:41 AM »
Stefano there is nothing in the manual regarding the setup of SAMBA for the NAS. Can anyone please help me to solve this?
first of all: can you tell us which netgear nas model are we talking about?

then.. you don't have to setup samba on your nas because it's already there.. all you  have to do is configure a share on nas itself.. I don't know if your nas has user rights management, but if so, just use the same user/password that you have on SME.
some nas permit to auth users via domain.

hth

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: How to mount network shares thats located on a Netgear NAS as a IBAY
« Reply #5 on: September 30, 2009, 09:08:42 AM »
thianb

I don't use a NAS so I may be wrong, but the implication is that a NAS sets up a share(s) on your network.

You would then access that share, say from your Windows workstations, by mapping the share.
I assume you configure that sharename(s) and network details eg workgroup name, IP, in the NAS setup screens.
 
The suggestion was that the NAS uses samba to provide the windows workgroup networking emulation, so you don't need to directly configure samba, but you do need to configure the share correctly (on the NAS).

Is there something like that in the manual ?
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline compsos

  • *
  • 472
  • +0/-0
Re: How to mount network shares thats located on a Netgear NAS as a IBAY
« Reply #6 on: September 30, 2009, 10:51:07 AM »
Hi thianb

try this
mount -t smbfs -o --username=<defined in Netgear NAS>,password=<username password> //<Name of NAS>/<Name of share defined in NAS> /media/<Mount point required>

The mount point could if you want be under an ibay

So go to the nas with a web browser and set up the users and groups, then the share and rights to the share.

Good luck
Regards

Gordon............

Offline thianb

  • **
  • 33
  • +0/-0
Re: How to mount network shares thats located on a Netgear NAS as a IBAY
« Reply #7 on: September 30, 2009, 10:59:41 AM »
Hi Gordon

I want to mount it as an Ibay but how do I specify the mount point?

What directory does the Ibay use? I already have an Ibay with the name pasteldata.

Regards

Thian

Offline compsos

  • *
  • 472
  • +0/-0
Re: How to mount network shares thats located on a Netgear NAS as a IBAY
« Reply #8 on: September 30, 2009, 11:12:05 AM »
The path would be /home/e-smith/files/ibays/pasteldata/files/

Is that Pasteldata for Pastel accounting files? If so Pastel users pervasive SQL so it would need to be setup very carefully and do not forget the licence will have to run from a Windows machine. I would put the data in a directory within the ibay and back it up to the NAS.
Regards

Gordon............

Offline thianb

  • **
  • 33
  • +0/-0
Re: How to mount network shares thats located on a Netgear NAS as a IBAY
« Reply #9 on: September 30, 2009, 11:56:40 AM »
Hi Gordon

I tried the mount command from my SME Server but its giving me the following error message:

7013: Session setup failed: ERRDOS: ERRnoaccess (Access Denied)
SMB connection failed

I am using the username and password of admin on the NAS.

How can I solve this?

Regards

Thian

Offline byte

  • *
  • 2,183
  • +2/-0
Re: How to mount network shares thats located on a Netgear NAS as a IBAY
« Reply #10 on: September 30, 2009, 12:27:53 PM »
The readynas uses cifs not smbfs, you really do need to read the manual/readynas forums as they will help more. I recently purchased a readynas duo and had no problems mounting with cifs option you just need to make sure all permissons and users/groups are set correctly.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline jjcuk

  • *
  • 90
  • +0/-0
Regards
Jim C

Offline compsos

  • *
  • 472
  • +0/-0
Re: How to mount network shares thats located on a Netgear NAS as a IBAY
« Reply #12 on: October 01, 2009, 12:13:05 AM »
The Netgear NAS supports CIFS, NFS, HTTP/S and Rsync just go to the shares page and set the protocol required via http://<ip address of NAS>/admin.
Regards

Gordon............

Offline thianb

  • **
  • 33
  • +0/-0
Re: How to mount network shares thats located on a Netgear NAS as a IBAY
« Reply #13 on: October 01, 2009, 08:17:15 AM »
Hi Gordon

What command do I use to mount the share from the SME server into the pasteldata Ibay?

Your help would be appreciated.

Thian

Offline thianb

  • **
  • 33
  • +0/-0
Re: How to mount network shares thats located on a Netgear NAS as a IBAY
« Reply #14 on: October 01, 2009, 08:26:10 AM »
Hi

The model of the NAS is a netgear ready NAS 2100

Thian