[LU-11977] [mount.lustre] Semantics of option 'network' in routed clients Created: 20/Feb/19 Updated: 20/Feb/19 Resolved: 20/Feb/19 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.10.5 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Diego Moreno | Assignee: | WC Triage |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Server: [root@oss01 lustre-2.10.5_ddn7]# uname -a Linux le-oss01 3.10.0-862.9.1.el7_lustre.ddn1.x86_64 #1 SMP Tue Sep 11 19:05:37 JST 2018 x86_64 x86_64 x86_64 GNU/Linux lustre-2.10.5_ddn7-1.el7.x86_64 lustre-osd-ldiskfs-mount-2.10.5_ddn7-1.el7.x86_64 Client: [root@a2-029 ~]# rpm -qa | grep ^lustre lustre-client-2.10.5_ddn2_2_gda48415-1.el7.x86_64 [root@lo-a2-029 ~]# uname -a Linux lo-a2-029 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux |
||
| Issue Links: |
|
||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
We're currently doing some tests in a multi-tenancy environment with Lustre routers. In this environment we have defined several filesets exported to the same clients but with different LNETs, like: Client LNETs: tcp0, tcp1 The Lustre routers connect the LNETs in the following way: tcp0 <
Now when we look at the 'network' option in mount.lustre: network=net
Limit connections from the client to be on the network NID specified by 'net'. ´net´ designates a single network NID, like 'o2ib2' or 'tcp1'. This option can be useful in case of several Lustre client mount points on the same node, with each mount point using a different network. It is also interesting when running Lustre clients from containers, by restricting each container to a specific network.
Since it's limiting the connections from the client we should use the following command to mount dataset2: mount -t lustre -o network=tcp1 <mgs_ip>@tcp11:/ /lustre/dataset2 But that's not working because network needs to be the network on the server. This is working: mount -t lustre -o network=tcp11 <mgs_ip>@tcp11:/ /lustre/dataset2 The semantics of the option is not respected. After discussing with Sebastien it looks like LU-11959 would be the patch for this. |
| Comments |
| Comment by Peter Jones [ 20/Feb/19 ] |
|
Diego It sounds like you agree that this request is a duplicate of LU-11959. Is there anything else that you are wanting from this ticket? Peter |
| Comment by Diego Moreno [ 20/Feb/19 ] |
|
Peter, That sounds good, just wanted to give the use case of LU-11959 since Sebastien asked for it. Maybe it would have been better to just add a comment there, sorry... |
| Comment by Peter Jones [ 20/Feb/19 ] |
|
ok thanks! |