Networking Forums

Networking Forums > Computer Networking > Linux Networking > Mounting NFS on Samba share

Reply
Thread Tools Display Modes

Mounting NFS on Samba share

 
 
snovgorodsky@gmail.com
Guest
Posts: n/a

 
      03-26-2009, 05:16 PM
Hi -

I need to re-export Samba share (on SuSE Linux) via NFS mount.

This is what I have in my smb.conf:

[global]
workgroup = MY-CIFS
server string = "My CIFS Archive"
security = SHARE
syslog = 6
log level = 6

max smbd processes = 15
hosts allow = 127.0.0.1 my.host.ip.address
hosts deny = ALL
interfaces = eth* lo

[Archive]

path = /opt1/samba
read only = No
guest ok = Yes
locking = no

This is what I got in /etc/exports :
/opt1/nfs *(rw,root_squash,sync)

My host is not listed in either /etc/hosts.allow or /etc/hosts.deny


I create Samba share:
mount -t cifs //my.host.ip.address/archive /opt1/nfs -v -o
directio,user="user",password="pwd"

Then I'm trying to create NFS share:
mount -v -t nfs my.host.ip.address:/opt1/nfs /tmp/mymnt

and I get the error message : mount: my.host.ip.address:/opt1/nfs
failed, reason given by server: Permission denied

NFS mount works ok if Samba is not mounted.

Any ideas why I'm getting permission denied error?


Thanks,
Sergey
 
Reply With Quote
 
 
 
 
Grant
Guest
Posts: n/a

 
      03-26-2009, 11:59 PM
On Thu, 26 Mar 2009 11:16:11 -0700 (PDT), (E-Mail Removed) wrote:

>Hi -
>
>I need to re-export Samba share (on SuSE Linux) via NFS mount.

....
>NFS mount works ok if Samba is not mounted.


Of course, as you're only exporting the mountpoint.

Grant.
--
http://bugsplatter.id.au
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with samba mounting Radek R. Linux Networking 1 04-21-2005 03:41 PM
Samba mounting problem Lawrence D¹Oliveiro Linux Networking 2 01-18-2005 05:07 AM
autofs mounting window share problems PING CHIEK KOH Linux Networking 0 07-21-2004 05:37 AM
Mounting a network share as a folder, not as a drive Jibba Jabba Windows Networking 7 02-09-2004 04:59 AM
Problem mounting a Linux share in OS X Timur Tabi Linux Networking 3 12-20-2003 07:21 AM



1 2 3 4 5 6 7 8 9 10 11