Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-12174

Overly permissive fs name matching in liblustreap::get_root_path

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • Lustre 2.9.0, Lustre 2.10.7, Lustre 2.12.1
    • None
    • 3
    • 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.

      Attachments

        Activity

          People

            wc-triage WC Triage
            utopiabound Nathaniel Clark
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: