Re: [Samba] Export Samba mount using nfs
> Nop, no syslog entry. Nothing? Not even in /var/log/messages, dmesg, any dedicated nfs logs your distro might have? Can you start nfsd in debug mode? > Is it even possible to share smb/cifs mounted filesystems with nfs? I can't see why not - I'm sure I've done it in the past - I'll try it now. ... Well that's interesting - I too get a 'Permission Denied' error, and syslog on the server says: rpc.mountd: getfh failed: Operation not permitted This was attempting to export a CIFS-mounted folder via NFS. Can someone else try this to confirm whether it's actually possible with a recent Samba release??? I could've sworn I'd done this in the past. Cheers, Adam. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Export Samba mount using nfs
On Thu, 15 Jun 2006 00:28:18 -0700 Doug VanLeuven <[EMAIL PROTECTED]> wrote: > 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. I also tried with cifs. Doesn't work :( > > Regards, Doug -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Export Samba mount using nfs
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 <[EMAIL PROTECTED]> 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. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Export Samba mount using nfs
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 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Export Samba mount using nfs
> 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. I've only seen this happen when the mountpoint was inside an exported filesystem. If you explicitly export the mountpoint it seems to work (e.g. exporting /mnt will make a few empty folders available via NFS, but exporting /mnt/blah explicitly will make the entire /mnt/blah filesystem available over NFS.) Cheers, Adam. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Export Samba mount using nfs
> 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. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Export Samba mount using nfs
> >I don't think you understand my problem. > >I Have an Windows server A with with I smbmount into B. Than I what to share with 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 [EMAIL PROTECTED] |Owings Mills, MD 21117 http://www.tkevans.com/ |443-394-3864 http://www.come-here.com/News/ | -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Export Samba mount using nfs
On Wed, 14 Jun 2006 17:52:17 +1000 Adam Nielsen <[EMAIL PROTECTED]> wrote: > > I Have an Windows server A with with I smbmount into B. Than I what to > > share with nfs from B into the rest. > > So when workstation X starts copying files off B, it's actually getting > the files from A? Yes, that is correct. This is because A and B and on a Gigabit network. B is also in an 100Mbs Network with a lot other machines. Since some people (sometimes) need data from A I need this solution. > > > Do you have this working? > > Yep, like Gary says, just set it up like you normally would. Don't > forget that you probably need to mount the share *before* you load the > NFS server, otherwise you'll share the empty mountpoint instead of the > actual files (yes, even once you mount the folder with smbmount the NFS > server will continue to share the empty mountpoint until you restart > it.) I did, the problem is that on server X i mount: mount B:/TERABYTE local_dir I get mount: B:/TERABYTE failed, reason given by server: Permission denied On B's fstab I have: //A/terabyte /TERABYTE smbfs dmask=0777,fmask=0666,username=genuser,password=genuser 1 1 On B's exports I have: /TERABYTE *(rw,sync) Any ideas? Thanks Luis -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Export Samba mount using nfs
> I Have an Windows server A with with I smbmount into B. Than I what to > share with nfs from B into the rest. So when workstation X starts copying files off B, it's actually getting the files from A? > Do you have this working? Yep, like Gary says, just set it up like you normally would. Don't forget that you probably need to mount the share *before* you load the NFS server, otherwise you'll share the empty mountpoint instead of the actual files (yes, even once you mount the folder with smbmount the NFS server will continue to share the empty mountpoint until you restart it.) Cheers, Adam. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Export Samba mount using nfs
Hi, I don't think you understand my problem. I Have an Windows server A with with I smbmount into B. Than I what to share with nfs from B into the rest. Do you have this working? Best regards, Luis On Tue, 13 Jun 2006 09:49:17 -0400 Gary Dale <[EMAIL PROTECTED]> wrote: > Luis Rodrigues wrote: > > On Tue, 13 Jun 2006 09:28:33 -0400 > > Gary Dale <[EMAIL PROTECTED]> 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 > > > > > > everything is as per a normal NFS export > > /path/to/share 192.168.2.99(rw,sync) > > for each share. Then in /etc/fstab I use > > server:/path/to/share /mnt/point nfs user,rw,hard,intr 0 0 > > Like I said, just do it normally. The fact that the shares are also > available using Samba is irrelevant. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Export Samba mount using nfs
Luis Rodrigues wrote: On Tue, 13 Jun 2006 09:28:33 -0400 Gary Dale <[EMAIL PROTECTED]> 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 everything is as per a normal NFS export /path/to/share 192.168.2.99(rw,sync) for each share. Then in /etc/fstab I use server:/path/to/share /mnt/point nfs user,rw,hard,intr 0 0 Like I said, just do it normally. The fact that the shares are also available using Samba is irrelevant. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Export Samba mount using nfs
On Tue, 13 Jun 2006 09:28:33 -0400 Gary Dale <[EMAIL PROTECTED]> 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 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Export Samba mount using nfs
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 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba