Skip to contentSkip to conversation

nfs v4.1 client without pNFS

DISCUSSION Lior 4 participants 7 messages May 13, 2012 – May 14, 2012

Subsystems (2)
lore
Share & tools
lore

Lior

author
#0 lore raw

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.

#1 lore raw

Hi Lior,

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

blacklist nfs_layout_nfsv41_files

Tigran.

Quoted 13 lines · Lior

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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

author
#2 lore raw

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:

Quoted 22 lines

Hi Lior,

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

blacklist nfs_layout_nfsv41_files

Tigran.

Quoted 13 lines · Lior

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw

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.

#4 lore raw
In reply to Lior
Quoted 6 lines · Lior

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

Quoted 31 lines

Thanks for the fast response,
Lior K.

בתאריך 13/05/2012 16:37, ציטוט Tigran Mkrtchyan:

Quoted 22 lines

Hi Lior,

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

blacklist nfs_layout_nfsv41_files

Tigran.

Quoted 13 lines · Lior

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 [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#5 lore raw

בתאריך 14/05/2012 12:25, ציטוט Boaz Harrosh:

Quoted 14 lines · Lior
Quoted 7 lines

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.

Quoted 7 lines

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.

Quoted 42 lines

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

Quoted 30 lines

Thanks for the fast response,
Lior K.

בתאריך 13/05/2012 16:37, ציטוט Tigran Mkrtchyan:

Quoted 22 lines

Hi Lior,

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

blacklist nfs_layout_nfsv41_files

Tigran.

Quoted 13 lines · Lior

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 [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#6 lore raw
Quoted 2 lines · Lior

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