Re: [osol-discuss] Where can I find a full Walk thru setting up nfs4 from scratch

2011-11-14 Thread Harry Putnam
Ian Collins i...@ianshome.com writes:

 On 11/14/11 02:38 PM, Harry Putnam wrote:
 Running openindiana b 151a as vm guest on host win7

 Where can I find an up to date detailed description of setting up nfs4
 from scratch on a home lan zfs server with linux nfs4 clients.

 There really isn't that much to it, just set snarenfs=true on the
 filesystem(s) you want to share.

Egad... that's it?

I must be mixing up with having set up the automounter for nfs .. I
remember getting tangled up with some edit of files last time I did
this, which by now must be a pretty while ago.

The solaris box will be both server and client.

Is there a good URL for whatever is involved getting the NFS client
shares auto mounted?  They would be on a Debian linux server.  Both
boxes will be both server and client.

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Where can I find a full Walk thru setting up nfs4 from scratch

2011-11-14 Thread Ian Collins

On 11/15/11 05:14 AM, Harry Putnam wrote:

Ian Collinsi...@ianshome.com  writes:


On 11/14/11 02:38 PM, Harry Putnam wrote:

Running openindiana b 151a as vm guest on host win7

Where can I find an up to date detailed description of setting up nfs4
from scratch on a home lan zfs server with linux nfs4 clients.

There really isn't that much to it, just set snarenfs=true on the
filesystem(s) you want to share.

Egad... that's it?

I must be mixing up with having set up the automounter for nfs .. I
remember getting tangled up with some edit of files last time I did
this, which by now must be a pretty while ago.

The solaris box will be both server and client.

Is there a good URL for whatever is involved getting the NFS client
shares auto mounted?  They would be on a Debian linux server.  Both
boxes will be both server and client.


For Solaris, man automount.

--
Ian.

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Where can I find a full Walk thru setting up nfs4 from scratch

2011-11-14 Thread Harry Putnam
Ian Collins i...@ianshome.com writes:

 Is there a good URL for whatever is involved getting the NFS client
 shares auto mounted?  They would be on a Debian linux server.  Both
 boxes will be both server and client.

 For Solaris, man automount.

Yes, of course but if you don't really understand that page then is
there a more detailed URL with more examples somewhere?

As always the man page is intended for someone who has the basic idea
and just needs reminders of syntax or the like... I need to start
somewhere below that.

For example:

From man automount
 (/etc/auto_master)
# Master map for automounter
   #
   +auto_master
   /net  -hosts-nosuid
   /home auto_home

It says that `+auto_master' is reference to NIS or NIS+ map if one
exists.

So if one does not exist do you leave `+auto_master' out?

 `/homeauto_home'

Is auto_home a reference to another file somewhere? Or is it meant
verbatim?  Or am I supposed to know to put a map entry there...  like
host:/path/to ?

In my case I want to mount a directory from a linux machine at 

/pub
and another at
   /projects

On the linux machine `pub' is found at /pub
`projects' is found at /path/to/projects

After studying that man page I still have no idea what my entries should
look like.  And further if auto_pub is a map... what does it look
like?  There appear to be `direct' and `indirect' ... and ...

 /pub   linux.machine.onlan:/pub  which, if any options ?

/pub auto_pub ?  (and if so, is auto_pub another file   somewhere?)

Then the whole question of possible options leads off into more
man pages with more confusing information.  That is, confusing unless
you are at or above a fairly sophisticated level already.

I need to see some simplified examples that take the whole matter up
in one go and explain why, for someone who is not already at a fairly
sophisticated level... Or in fact is in no way sophisticated at all.

If it matters there are users with the same name and group.  The
numeric gid is also the same. Uid is different and unless I really
need to, I'd as soon leave that alone since there are already numbers
of files belonging to a specific (though different) number uid on both
machines.


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Where can I find a full Walk thru setting up nfs4 from scratch

2011-11-14 Thread Edward Martinez

On 11/14/11 15:24, Harry Putnam wrote:

Ian Collinsi...@ianshome.com  writes:


Is there a good URL for whatever is involved getting the NFS client
shares auto mounted?  They would be on a Debian linux server.  Both
boxes will be both server and client.

For Solaris, man automount.

Yes, of course but if you don't really understand that page then is
there a more detailed URL with more examples somewhere?

As always the man page is intended for someone who has the basic idea
and just needs reminders of syntax or the like... I need to start
somewhere below that.

For example:

 From man automount
  (/etc/auto_master)
 # Master map for automounter
#
+auto_master
/net  -hosts-nosuid
/home auto_home

It says that `+auto_master' is reference to NIS or NIS+ map if one
exists.

So if one does not exist do you leave `+auto_master' out?

  `/homeauto_home'

Is auto_home a reference to another file somewhere? Or is it meant
verbatim?  Or am I supposed to know to put a map entry there...  like
host:/path/to ?

In my case I want to mount a directory from a linux machine at

 /pub
and another at
/projects

On the linux machine `pub' is found at /pub
`projects' is found at /path/to/projects

After studying that man page I still have no idea what my entries should
look like.  And further if auto_pub is a map... what does it look
like?  There appear to be `direct' and `indirect' ... and ...

  /pub   linux.machine.onlan:/pubwhich, if any options  ?

/pub auto_pub ?  (and if so, is auto_pub another file   somewhere?)

Then the whole question of possible options leads off into more
man pages with more confusing information.  That is, confusing unless
you are at or above a fairly sophisticated level already.

I need to see some simplified examples that take the whole matter up
in one go and explain why, for someone who is not already at a fairly
sophisticated level... Or in fact is in no way sophisticated at all.

If it matters there are users with the same name and group.  The
numeric gid is also the same. Uid is different and unless I really
need to, I'd as soon leave that alone since there are already numbers
of files belonging to a specific (though different) number uid on both
machines.


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


few links that may help. I think the proper command is 
sharemgr if these two are not much help,  I suggest do a web search 
using  sharemgr and nfs. as keywords :


 
http://prefetch.net/blog/index.php/2009/05/05/using-sharemgr-to-manage-nfs-file-systems-on-opensolaris-hosts/

 http://blogs.oracle.com/dougm/entry/introduction_to_sharemgr


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] Where can I find a full Walk thru setting up nfs4 from scratch

2011-11-13 Thread Harry Putnam
Running openindiana b 151a as vm guest on host win7

Where can I find an up to date detailed description of setting up nfs4
from scratch on a home lan zfs server with linux nfs4 clients.

I've turned up loads of stuff googling, way too much to paw through it
all. 

I'm running openindiana and have posted a similar request on that
group. 

Some of the directions I've found insist on setting up nis.  Do I
really need nis to be setup to share fs with nfs on a home lan?

This is a home lan with no real internet address on the inner network,
just a homemade 192.168.1.0/24 setup.  With a domain name of
`local.lan'.

I'm not sure how that effects how I setup nfs4.

I need the most basic guidance on this... I do not have a working
knowledge of nfs.

Hopefully there is some url online for real greenhorns that describes
how to do this in detail.

When I start to edit /etc/default/nfs as described in some of the
directions I've found I see:

  # Moved to SMF. Use sharectl(1M) to manage NFS properties.

So at least several of the guides I've run across are apparently out
of date and insist on editing /etc/default/nfs.

Hard to tell what guides hold water for modern solaris and offshoots.

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Where can I find a full Walk thru setting up nfs4 from scratch

2011-11-13 Thread Ian Collins

On 11/14/11 02:38 PM, Harry Putnam wrote:

Running openindiana b 151a as vm guest on host win7

Where can I find an up to date detailed description of setting up nfs4
from scratch on a home lan zfs server with linux nfs4 clients.


There really isn't that much to it, just set snarenfs=true on the 
filesystem(s) you want to share.

I've turned up loads of stuff googling, way too much to paw through it
all.

I'm running openindiana and have posted a similar request on that
group.

Some of the directions I've found insist on setting up nis.  Do I
really need nis to be setup to share fs with nfs on a home lan?

No.

Just make sure the file permissions are correct for clients to access 
the shares.


--
Ian.

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org