Discussion:
Root Squash
Deon Borman
2010-11-26 08:46:26 UTC
Permalink
Hi,

I'm running Lustre 1.8.4 and configured root squash as follows on the
MDS/MGS:

tunefs.lustre --param "mdt.rootsquash=1500:513" --param
"mdt.nosquash_nid=***@tcp0" /dev/sdb

It's working as expected, but I find myself in a position where it would
be convenient to have an extra client with no root squashing. However,
as far as I can determine from the manual, there's no way to configure
multiple NIDs. Experimenting with lctl set_param seems to verify my
suspicions. Am I missing something, or am I really limited to only one NID?

Thanks,
Deon
Wojciech Turek
2010-11-26 11:11:51 UTC
Permalink
Hi Deon,

As far as I know only one client can be granted no squashing.

Cheers

Wojciech
Post by Deon Borman
Hi,
I'm running Lustre 1.8.4 and configured root squash as follows on the
tunefs.lustre --param "mdt.rootsquash=1500:513" --param
It's working as expected, but I find myself in a position where it would
be convenient to have an extra client with no root squashing. However,
as far as I can determine from the manual, there's no way to configure
multiple NIDs. Experimenting with lctl set_param seems to verify my
suspicions. Am I missing something, or am I really limited to only one NID?
Thanks,
Deon
_______________________________________________
Lustre-discuss mailing list
http://lists.lustre.org/mailman/listinfo/lustre-discuss
--
Wojciech Turek
Andreas Dilger
2010-11-26 19:27:24 UTC
Permalink
Post by Deon Borman
I'm running Lustre 1.8.4 and configured root squash as follows on the
tunefs.lustre --param "mdt.rootsquash=1500:513" --param
It's working as expected, but I find myself in a position where it would
be convenient to have an extra client with no root squashing. However,
as far as I can determine from the manual, there's no way to configure
multiple NIDs. Experimenting with lctl set_param seems to verify my
suspicions. Am I missing something, or am I really limited to only one NID?
It is only possible to have a single nosquash NID today.

It would be fairly straight forward to add support for a short list of client NIDs, but Eric Barton previously expressed performance concerns for any complex sets of nodes (e.g. subnet masks and such), so that is not currently available.

Cheers, Andreas
--
Andreas Dilger
Lustre Technical Lead
Oracle Corporation Canada Inc.

Continue reading on narkive:
Loading...