Re: [Samba] Re: sharing NFS mounts
The most elegant would be one box with one domain but then not always does elegent = easy. A quick-n-dirty workaround to avoid nfs in your example: net use \\serverA\home /user:Adomain\john net use \\\lab/user:Adomain\labmanager May work using other names in "netbios aliases" too, haven't tried. - toby bluhm philips medical systems, cleveland ohio [EMAIL PROTECTED] 440-483-5323 Ben Ransom <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 05/25/2005 01:19 PM To: samba@lists.samba.org cc: (bcc: Tobias Bluhm/CLE/MS/PHILIPS) Subject: Re: [Samba] Re: sharing NFS mounts Classification: True, would be good to share both SMB and NFS from the same server. However, there is a possible reason to use SMB from NFS client mount point: Win clients cannot mount SMB shares of two different user names on the same box. I.E., from a Win box I cannot do: net use \\serverA\home /user:Adomain\john net use \\serverA\lab/user:Adomain\labmanager In my case, 'home' and 'lab' files were historically in different Win domains anyway, so I moved on to a work-around to the above, where I NFS mount the 'lab' files from serverA in Adomain to server B in a different domain, and I can do: net use \\serverA\home /user:Adomain\john net use \\serverB\lab /user:Bdomain\labmanager I have a small subset of users in both A Bdomain, so the accounts management is not too cumbersome. Perhaps there are more elegant solutions though, serving all from the same SMB+NFS box. Will look at some of the suggestions as to how to get SMB from NFS mount to work again now with Samba 3 -Ben Ransom >I think you should have your Samba daemon running on the same machine as >the NFS daemon. If you do it the other way, then you have two different >points of latency for file retrieval for the Samba downloads. >Furthermore, what will happen if you have to take down either Samba or >NFS for maintenance? This way they need not both be down. > >For larger systems you might consider having an SCSI hard drive with two >ports so that you can access it from two different machine's busses. >One machine could run Samba and the other NFS. For even larger storage >solutions, think "Network Attached Storage" with a gigabit or fiber >backbone and possibly Balancing Domain Controllers. > > >Jim C. >-BEGIN PGP SIGNATURE- >Version: GnuPG v1.2.5 (MingW32) >Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > >iD8DBQFClALrB4AhF6wVFMERAghWAKCBLIjWP3aNCGQ2PueV29QB/Lnx7ACfS2dn >kGSrYgOljPo03YYPo2BhtME= >=JG87 >-END PGP SIGNATURE- > >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: sharing NFS mounts
True, would be good to share both SMB and NFS from the same server. However, there is a possible reason to use SMB from NFS client mount point: Win clients cannot mount SMB shares of two different user names on the same box. I.E., from a Win box I cannot do: net use \\serverA\home /user:Adomain\john net use \\serverA\lab/user:Adomain\labmanager In my case, 'home' and 'lab' files were historically in different Win domains anyway, so I moved on to a work-around to the above, where I NFS mount the 'lab' files from serverA in Adomain to server B in a different domain, and I can do: net use \\serverA\home /user:Adomain\john net use \\serverB\lab /user:Bdomain\labmanager I have a small subset of users in both A Bdomain, so the accounts management is not too cumbersome. Perhaps there are more elegant solutions though, serving all from the same SMB+NFS box. Will look at some of the suggestions as to how to get SMB from NFS mount to work again now with Samba 3 -Ben Ransom I think you should have your Samba daemon running on the same machine as the NFS daemon. If you do it the other way, then you have two different points of latency for file retrieval for the Samba downloads. Furthermore, what will happen if you have to take down either Samba or NFS for maintenance? This way they need not both be down. For larger systems you might consider having an SCSI hard drive with two ports so that you can access it from two different machine's busses. One machine could run Samba and the other NFS. For even larger storage solutions, think "Network Attached Storage" with a gigabit or fiber backbone and possibly Balancing Domain Controllers. Jim C. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFClALrB4AhF6wVFMERAghWAKCBLIjWP3aNCGQ2PueV29QB/Lnx7ACfS2dn kGSrYgOljPo03YYPo2BhtME= =JG87 -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: sharing NFS mounts
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > OK, I've been searching the archives and google with little luck... > > I have a directory which needs to be shared with a number of UNIX > clients via NFS and with Windows clients via Samba. What is the best > way to do this? Should I configure Samba to share the actual NFS mount? > Or should I configure Samba to share the actual filesystem directory? > > Reason I ask, we were using the former method (sharing the NFS mount) > and Windows users were complaining about flaky Samba shares. I think you should have your Samba daemon running on the same machine as the NFS daemon. If you do it the other way, then you have two different points of latency for file retrieval for the Samba downloads. Furthermore, what will happen if you have to take down either Samba or NFS for maintenance? This way they need not both be down. For larger systems you might consider having an SCSI hard drive with two ports so that you can access it from two different machine's busses. One machine could run Samba and the other NFS. For even larger storage solutions, think "Network Attached Storage" with a gigabit or fiber backbone and possibly Balancing Domain Controllers. Jim C. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFClALrB4AhF6wVFMERAghWAKCBLIjWP3aNCGQ2PueV29QB/Lnx7ACfS2dn kGSrYgOljPo03YYPo2BhtME= =JG87 -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba