Luke Scharf
2006-Sep-11 19:10 UTC
[zfs-discuss] zfs share=".foo-internal.bar.edu" on multiple interfaces?
I have a Sun x4200 with 4x gigabit ethernet NICs. I have several of them configured with distinct IP addresses on an internal (10.0.0.0) network. I have shared the ZFS filesystem with the following command: zfs set sharenfs=''rw=.foo-internal.bar.edu insecure no_root_squash'' xr7/group/ntnt ; zfs share -a The problem is that when I mount from a client, I can only mount if I specify the IP address 1st network interface. If I use the 2nd or 3rd interface (both also on the internal network), then I get the following error: kernel: nfs server 10.1.5.10:/xr7/group/ntnt: not responding The Solaris fellow that I just pinged about this said that this works for him on his non-ZFS box without anything special. Has anyone run into a similar issue? Is there a list of interface to which NFS will export? Thanks, -Luke -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3271 bytes Desc: S/MIME Cryptographic Signature URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20060911/6bf9231c/attachment.bin>
Luke Scharf
2006-Sep-11 20:49 UTC
[zfs-discuss] zfs share=".foo-internal.bar.edu" on multiple interfaces?
Luke Scharf wrote:> zfs set sharenfs=''rw=.foo-internal.bar.edu insecure no_root_squash'' > xr7/group/ntnt ; zfs share -aAlso, is this the proper syntax for the no_root_squash? Thanks, -Luke -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3271 bytes Desc: S/MIME Cryptographic Signature URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20060911/2d1daeaf/attachment.bin>
Dale Ghent
2006-Sep-11 20:59 UTC
[zfs-discuss] zfs share=".foo-internal.bar.edu" on multiple interfaces?
On Sep 11, 2006, at 4:49 PM, Luke Scharf wrote:> Luke Scharf wrote: >> zfs set sharenfs=''rw=.foo-internal.bar.edu insecure >> no_root_squash'' xr7/group/ntnt ; zfs share -a > Also, is this the proper syntax for the no_root_squash?no_root_squash is a Linux-ism. What you''re looking for in Solaris is: root=<hostname> Refer to the share_nfs man page for a complete list of valid NFS sharing options you can use. /dale
Luke Scharf
2006-Sep-11 21:13 UTC
[zfs-discuss] zfs share=".foo-internal.bar.edu" on multiple interfaces?
Dale Ghent wrote:> On Sep 11, 2006, at 4:49 PM, Luke Scharf wrote: > >> Luke Scharf wrote: >>> zfs set sharenfs=''rw=.foo-internal.bar.edu insecure >>> no_root_squash'' xr7/group/ntnt ; zfs share -a >> Also, is this the proper syntax for the no_root_squash? > > no_root_squash is a Linux-ism. > > What you''re looking for in Solaris is: root=<hostname> > > Refer to the share_nfs man page for a complete list of valid NFS > sharing options you can use.I don''t k now how I missed that when I was scrolling through the man page... That part is up and running! Many thanks, -Luke -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3271 bytes Desc: S/MIME Cryptographic Signature URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20060911/60f1db34/attachment.bin>
Nicolas Dorfsman
2006-Sep-12 09:30 UTC
[zfs-discuss] Re: zfs share=".foo-internal.bar.edu" on multipleinterfaces?
> I have a Sun x4200 with 4x gigabit ethernet NICs. I > have several of > them configured with distinct IP addresses on an > internal (10.0.0.0) > network.[off topic] Why are you using distinct IP addresses instead of IPMP ? [/off] This message posted from opensolaris.org
Luke Scharf
2006-Sep-14 13:26 UTC
[zfs-discuss] zfs share=".foo-internal.bar.edu" on multiple interfaces?
Luke Scharf wrote:> The problem is that when I mount from a client, I can only mount if I > specify the IP address 1st network interface. If I use the 2nd or 3rd > interface (both also on the internal network), then I get the > following error: > kernel: nfs server 10.1.5.10:/xr7/group/ntnt: not responding > The Solaris fellow that I just pinged about this said that this works > for him on his non-ZFS box without anything special.The problem went away when I passed a "-o tcp" to the mount command on the client. I''m guessing that the response from the server didn''t necessarily come from the interface that handled the request. Thanks to those who helped offline! -Luke -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3271 bytes Desc: S/MIME Cryptographic Signature URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20060914/2a76364a/attachment.bin>