Hello, I have an Lacie NAS disk attached to an Gigabit network. Since it only exports samba I mounted on one of my gigabit Linux boxes with smbmount //lacie/terabyte /TERABYTE -o defaults,username=genuser,password=genuser Now I need to export that to all my linux boxes not on the Gigabit network using nfs. When I try to mount I get: mount: old:/TERABYTE failed, reason given by server: Permission denied Is it possible to export an smbmounted filesystem? I saw another theread about this on the mailing list but it wasn't verry helpfull :( Thanks in advance. Luis Rodrigues
On Tue, 13 Jun 2006 09:28:33 -0400 Gary Dale <garydale@torfree.net> wrote:> > > > It's not a problem. I export my Samba shares using NFS too. That way, my > Linux boxes don't need to run the Samba client. Just NFS-export them > normally. There don't seem to be any strange interactions.How are you exporting from /etc/exports? What parameters are you using to mount the smb filesystem? If it work for you has to work for me :-p Best regards, Luis
> >I don't think you understand my problem. > >I Have an Windows server A with with I smbmount into B. Than I what to sharewith nfs from B into>the rest.Generally speaking, it is a fundamental security tenet of NFS that you cannot re-export a filesystem you have mounted from another system to still other systems. I don't know if this applies to smb-mounted filesystems. -- Tim Evans, TKEvans.com, Inc. | 5 Chestnut Court tkevans@tkevans.com | Owings Mills, MD 21117 http://www.tkevans.com/ | 443-394-3864 http://www.come-here.com/News/ |
Luis Rodrigues wrote:> Hello, > > I have an Lacie NAS disk attached to an Gigabit network. Since it only exports samba I mounted on one > of my gigabit Linux boxes with > smbmount //lacie/terabyte /TERABYTE -o defaults,username=genuser,password=genuser >Hi Luis, Although I don't use it, I've seen numerous posts about smbfs filesystems not being supported anymore, and there are no more code fixes for it. Have you tried the replacement filesystem cifs? My understanding is cifs accomplishes the same goals and is supported in the kernel. See the command mount.cifs in the doco. Regards, Doug
Nop, no syslog entry. Is it even possible to share smb/cifs mounted filesystems with nfs? Luis On Thu, 15 Jun 2006 09:33:22 +1000 Adam Nielsen <adam.nielsen@uq.edu.au> wrote:> > mount: B:/TERABYTE failed, reason given by server: Permission denied > > Any ideas? > > What does syslog say? NFS will usually give you a reason why > permission was denied. > > Cheers, > Adam.