All of lore.kernel.org
 help / color / mirror / Atom feed
* nfs v4.1 client without pNFS
@ 2012-05-13 11:42 Lior
  2012-05-13 13:37 ` Tigran Mkrtchyan
  0 siblings, 1 reply; 7+ messages in thread
From: Lior @ 2012-05-13 11:42 UTC (permalink / raw)
  To: Myklebust, Trond; +Cc: Linux NFS mailing list

Hi Trond,

The rfc 5661 states that pNFS is an optional feature.
Is there currently an intent to implement some sort of an option (module 
option ,or mount option) to run the NFSv4.1 client without pNFS 
functionality?

Thanks,
  Lior K.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: nfs v4.1 client without pNFS
  2012-05-13 11:42 nfs v4.1 client without pNFS Lior
@ 2012-05-13 13:37 ` Tigran Mkrtchyan
  2012-05-13 13:54   ` Lior
  0 siblings, 1 reply; 7+ messages in thread
From: Tigran Mkrtchyan @ 2012-05-13 13:37 UTC (permalink / raw)
  To: Lior; +Cc: Myklebust, Trond, Linux NFS mailing list

Hi Lior,

you can blacklist the layout driver in /etc/modprobe.d/nfsv41.conf

blacklist nfs_layout_nfsv41_files


Tigran.
On Sun, May 13, 2012 at 1:42 PM, Lior <lior@tonian.com> wrote:
> Hi Trond,
>
> The rfc 5661 states that pNFS is an optional feature.
> Is there currently an intent to implement some sort of an option (module
> option ,or mount option) to run the NFSv4.1 client without pNFS
> functionality?
>
> Thanks,
>  Lior K.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: nfs v4.1 client without pNFS
  2012-05-13 13:37 ` Tigran Mkrtchyan
@ 2012-05-13 13:54   ` Lior
  2012-05-13 14:16     ` Jim Rees
  2012-05-14  9:25     ` Boaz Harrosh
  0 siblings, 2 replies; 7+ messages in thread
From: Lior @ 2012-05-13 13:54 UTC (permalink / raw)
  To: tigran.mkrtchyan; +Cc: Myklebust, Trond, Linux NFS mailing list

Hi Tigran,

I guess that's one way ( a dark white box way, which still needs to be 
looked into)... but I was more thinking of a more high level built in 
user method  (e.g module option ,or mount option)

Thanks for the fast response,
Lior K.

בתאריך 13/05/2012 16:37, ציטוט Tigran Mkrtchyan:
> Hi Lior,
>
> you can blacklist the layout driver in /etc/modprobe.d/nfsv41.conf
>
> blacklist nfs_layout_nfsv41_files
>
>
> Tigran.
> On Sun, May 13, 2012 at 1:42 PM, Lior<lior@tonian.com>  wrote:
>> Hi Trond,
>>
>> The rfc 5661 states that pNFS is an optional feature.
>> Is there currently an intent to implement some sort of an option (module
>> option ,or mount option) to run the NFSv4.1 client without pNFS
>> functionality?
>>
>> Thanks,
>>   Lior K.
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: nfs v4.1 client without pNFS
  2012-05-13 13:54   ` Lior
@ 2012-05-13 14:16     ` Jim Rees
  2012-05-14  9:25     ` Boaz Harrosh
  1 sibling, 0 replies; 7+ messages in thread
From: Jim Rees @ 2012-05-13 14:16 UTC (permalink / raw)
  To: Lior; +Cc: tigran.mkrtchyan, Myklebust, Trond, Linux NFS mailing list

Lior wrote:

  I guess that's one way ( a dark white box way, which still needs to
  be looked into)... but I was more thinking of a more high level
  built in user method  (e.g module option ,or mount option)

Just think of it as a module option.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: nfs v4.1 client without pNFS
  2012-05-13 13:54   ` Lior
  2012-05-13 14:16     ` Jim Rees
@ 2012-05-14  9:25     ` Boaz Harrosh
  2012-05-14 11:30       ` Lior
  1 sibling, 1 reply; 7+ messages in thread
From: Boaz Harrosh @ 2012-05-14  9:25 UTC (permalink / raw)
  To: Lior; +Cc: tigran.mkrtchyan, Myklebust, Trond, Linux NFS mailing list

On 05/13/2012 04:54 PM, Lior wrote:

> Hi Tigran,
> 
> I guess that's one way ( a dark white box way, which still needs to be 
> looked into)... but I was more thinking of a more high level built in 
> user method  (e.g module option ,or mount option)
> 


We used to have it but it was removed, being pointless. 4.1 means pNFS.

The optional clause in the STD means client need no implement it but since
we slaved so hard to do implement it we see no point ever disabling it.

As an administrator policy it is best controlled in a single place at the
Server. Instead of having a crap option set at every client. What does that
give you?

If the admin wants to let you have a choice, for what ever reason that I
can't currently imagine, He can setup two exports of the same FS one
with the pnfs option, one without.

The point of the all pNFS support is that everything is automatic, Server
upgraded/extended/scaled boom transparently works.

NACK on any user visible disables. It's a maintenance disaster. If you
do find any real bugs with the pNFS option left on, please report ASAP
and we'll fix it

Cheers
Boaz

> Thanks for the fast response,
> Lior K.
> 
> בתאריך 13/05/2012 16:37, ציטוט Tigran Mkrtchyan:
>> Hi Lior,
>>
>> you can blacklist the layout driver in /etc/modprobe.d/nfsv41.conf
>>
>> blacklist nfs_layout_nfsv41_files
>>
>>
>> Tigran.
>> On Sun, May 13, 2012 at 1:42 PM, Lior<lior@tonian.com>  wrote:
>>> Hi Trond,
>>>
>>> The rfc 5661 states that pNFS is an optional feature.
>>> Is there currently an intent to implement some sort of an option (module
>>> option ,or mount option) to run the NFSv4.1 client without pNFS
>>> functionality?
>>>
>>> Thanks,
>>>   Lior K.
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: nfs v4.1 client without pNFS
  2012-05-14  9:25     ` Boaz Harrosh
@ 2012-05-14 11:30       ` Lior
  2012-05-14 11:41         ` Boaz Harrosh
  0 siblings, 1 reply; 7+ messages in thread
From: Lior @ 2012-05-14 11:30 UTC (permalink / raw)
  To: Boaz Harrosh; +Cc: tigran.mkrtchyan, Myklebust, Trond, Linux NFS mailing list

בתאריך 14/05/2012 12:25, ציטוט Boaz Harrosh:
> On 05/13/2012 04:54 PM, Lior wrote:
>
>> Hi Tigran,
>>
>> I guess that's one way ( a dark white box way, which still needs to be
>> looked into)... but I was more thinking of a more high level built in
>> user method  (e.g module option ,or mount option)
>>
>
> We used to have it but it was removed, being pointless. 4.1 means pNFS.
>
> The optional clause in the STD means client need no implement it but since
> we slaved so hard to do implement it we see no point ever disabling it.
>
> As an administrator policy it is best controlled in a single place at the
> Server. Instead of having a crap option set at every client. What does that
> give you?
>
> If the admin wants to let you have a choice, for what ever reason that I
> can't currently imagine, He can setup two exports of the same FS one
> with the pnfs option, one without.
I don't think you can export the same FS ( same path ) twice in 2 
different ways...
In any case, I understand the explanation above concerning the design. 
just tried to check if this line of thinking (4.1 without pNFS) is 
needed and/or /wanted.

Thanks,

Lior K.
> The point of the all pNFS support is that everything is automatic, Server
> upgraded/extended/scaled boom transparently works.
>
> NACK on any user visible disables. It's a maintenance disaster. If you
> do find any real bugs with the pNFS option left on, please report ASAP
> and we'll fix it
>
> Cheers
> Boaz
>
>> Thanks for the fast response,
>> Lior K.
>>
>> בתאריך 13/05/2012 16:37, ציטוט Tigran Mkrtchyan:
>>> Hi Lior,
>>>
>>> you can blacklist the layout driver in /etc/modprobe.d/nfsv41.conf
>>>
>>> blacklist nfs_layout_nfsv41_files
>>>
>>>
>>> Tigran.
>>> On Sun, May 13, 2012 at 1:42 PM, Lior<lior@tonian.com>   wrote:
>>>> Hi Trond,
>>>>
>>>> The rfc 5661 states that pNFS is an optional feature.
>>>> Is there currently an intent to implement some sort of an option (module
>>>> option ,or mount option) to run the NFSv4.1 client without pNFS
>>>> functionality?
>>>>
>>>> Thanks,
>>>>    Lior K.
>>>> --
>>>> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
>>>> the body of a message to majordomo@vger.kernel.org
>>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: nfs v4.1 client without pNFS
  2012-05-14 11:30       ` Lior
@ 2012-05-14 11:41         ` Boaz Harrosh
  0 siblings, 0 replies; 7+ messages in thread
From: Boaz Harrosh @ 2012-05-14 11:41 UTC (permalink / raw)
  To: Lior; +Cc: tigran.mkrtchyan, Myklebust, Trond, Linux NFS mailing list

On 05/14/2012 02:30 PM, Lior wrote:

> I don't think you can export the same FS ( same path ) twice in 2 
> different ways...


Look into bind mounts. 

In lots of admin schools they teach you that you actually export an
alias of a path at /export and not expose the real path on Server.
So you can change in the future with out changing Clients fstabs or
scripts.

Cheers
Boaz


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-05-14 11:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-13 11:42 nfs v4.1 client without pNFS Lior
2012-05-13 13:37 ` Tigran Mkrtchyan
2012-05-13 13:54   ` Lior
2012-05-13 14:16     ` Jim Rees
2012-05-14  9:25     ` Boaz Harrosh
2012-05-14 11:30       ` Lior
2012-05-14 11:41         ` Boaz Harrosh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.