Re: [osol-discuss] More about sharenfs - how to designate options

2010-03-13 Thread Matthias Pfützner
Simply put: You don't need the on option, if you specify any other options,
the other options implicitly then assume on, so simply remove the on
option...

You (Harry Putnam) wrote:
 I'm not coming up with the right syntax after looking at share_nfs man
 page, to give options to sharenfs besides `on'
 
 The man page claims options are delineated by a comma.
 
   -o specific_options
 
  Specify specific_options in a  comma-separated  list  of
  keywords  and attribute-value-assertions for interpreta-
  tion  by  the  file-system-type-specific   command.   If
  specific_options is not specified, then by default shar-
  ing is read-write to all clients.  specific_options  can
  be any combination of the following:
 
 But using zfs set it seems not to work.
 
 For example these fail:
 
   zfs set sharenfs=on,r...@somehost.xxx.xxx.xxx z3/projects
   zfs set sharenfs=on=r...@somehost.xxx.xxx.xxx z3/projects
   zfs set sharenfs=on,root=SOMEHOST.xxx.xxx.xxx  z3/projects
 
 All give the error:
   `cannot set property for 'z3/projects': 'sharenfs' cannot be set to
   invalid options'
 
 Whats the gimmick here... its being discussed elsewhere about how the
 the fqdn is required, but I haven't actually seen a full example 
 `zfs set' cmd showing the syntax for giving more options to
 `sharenfs=on'.
 
 ___
 opensolaris-discuss mailing list
 opensolaris-discuss@opensolaris.org
 

-- 
Matthias Pfützner | Tel.: +49 700 PFUETZNER  | I'm not holding my breath
Lichtenbergstr.73 | mailto:matth...@pfuetzner.de | for reliable voice 
D-64289 Darmstadt | AIM: pfuetz, ICQ: 300967487  | recognition.
Germany  | http://www.pfuetzner.de/matthias/ | Ted Nelson
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] More about sharenfs - how to designate options

2010-03-12 Thread Harry Putnam
I'm not coming up with the right syntax after looking at share_nfs man
page, to give options to sharenfs besides `on'

The man page claims options are delineated by a comma.

  -o specific_options

 Specify specific_options in a  comma-separated  list  of
 keywords  and attribute-value-assertions for interpreta-
 tion  by  the  file-system-type-specific   command.   If
 specific_options is not specified, then by default shar-
 ing is read-write to all clients.  specific_options  can
 be any combination of the following:

But using zfs set it seems not to work.

For example these fail:

  zfs set sharenfs=on,r...@somehost.xxx.xxx.xxx z3/projects
  zfs set sharenfs=on=r...@somehost.xxx.xxx.xxx z3/projects
  zfs set sharenfs=on,root=SOMEHOST.xxx.xxx.xxx  z3/projects

All give the error:
  `cannot set property for 'z3/projects': 'sharenfs' cannot be set to
  invalid options'

Whats the gimmick here... its being discussed elsewhere about how the
the fqdn is required, but I haven't actually seen a full example 
`zfs set' cmd showing the syntax for giving more options to
`sharenfs=on'.

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


Re: [osol-discuss] More about sharenfs - how to designate options

2010-03-12 Thread Hugh McIntyre

Harry Putnam wrote:

I'm not coming up with the right syntax after looking at share_nfs man
page, to give options to sharenfs besides `on'


I think you need to use *either*:

  zfs set sharenfs=on z3/projects
OR:
  zfs set sharenfs=root=SOMEHOST.xxx.xxx.xxx z3/projects
OR:
  zfs set sharenfs=off z3/projects

I.e., you specify options or on, but on is not one of the options.

Hugh.



The man page claims options are delineated by a comma.

  -o specific_options

 Specify specific_options in a  comma-separated  list  of
 keywords  and attribute-value-assertions for interpreta-
 tion  by  the  file-system-type-specific   command.   If
 specific_options is not specified, then by default shar-
 ing is read-write to all clients.  specific_options  can
 be any combination of the following:

But using zfs set it seems not to work.

For example these fail:

  zfs set sharenfs=on,r...@somehost.xxx.xxx.xxx z3/projects
  zfs set sharenfs=on=r...@somehost.xxx.xxx.xxx z3/projects
  zfs set sharenfs=on,root=SOMEHOST.xxx.xxx.xxx  z3/projects

All give the error:
  `cannot set property for 'z3/projects': 'sharenfs' cannot be set to
  invalid options'

Whats the gimmick here... its being discussed elsewhere about how the
the fqdn is required, but I haven't actually seen a full example 
`zfs set' cmd showing the syntax for giving more options to

`sharenfs=on'.

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



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