[LU-12174] Overly permissive fs name matching in liblustreap::get_root_path Created: 09/Apr/19  Updated: 09/Apr/19

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.9.0, Lustre 2.10.7, Lustre 2.12.1
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Nathaniel Clark Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

http://review.whamcloud.com/5007 (LU-28  fileset: add fileset mount support) introduced an issue in fs name matching in get_root_path().

[root@ieel-c01 ~]# findmnt -t lustre
TARGET   SOURCE                                  FSTYPE OPTIONS
/mnt/fs1 192.168.56.11@tcp:192.168.56.10@tcp:/fs lustre rw,lazystatfs
[root@ieel-c01 ~]# lfs fid2path fs [0x2000013a2:0x229:0x0]
core.4697
[root@ieel-c01 ~]# lfs fid2path fsBAD [0x2000013a2:0x229:0x0]
core.4697

If another filesystem with a name of fsX is mounted on the client, fid2path (which uses get_root_path() to find the filesystem) may not match the correct filesystem when searching.


Generated at Sat Feb 10 02:50:17 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.