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

setparam to modify fldb

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Lustre 2.14.0, Lustre 2.12.9, Lustre 2.16.1, Lustre 2.15.7
    • 9223372036854775807

      extend procfs to let lctl set_param add FLDB entries:

      [root@tmp tests]# lctl set_param fld.srv-lustre-MDT0000.fldb=[0x0000000280000400-0x0000000290000400]:0:mdt
      fld.srv-lustre-MDT0000.fldb=[0x0000000280000400-0x0000000290000400]:0:mdt
      [root@tmp tests]# lctl set_param fld.srv-lustre-MDT0000.fldb=[0x00000002a0000400-0x00000002b0000400]:2:ost
      fld.srv-lustre-MDT0000.fldb=[0x00000002a0000400-0x00000002b0000400]:2:ost
      [root@tmp tests]# lctl get_param fld.*.fldb
      fld.srv-lustre-MDT0000.fldb=
      [0x000000000000000c-0x0000000100000000]:0:mdt
      [0x0000000200000002-0x0000000200000003]:0:mdt
      [0x0000000200000007-0x0000000200000008]:0:mdt
      [0x0000000200000400-0x0000000240000400]:0:mdt
      [0x0000000280000400-0x0000000290000400]:0:mdt
      [0x00000002a0000400-0x00000002b0000400]:2:ost
      

            wc-triage WC Triage
            bzzz Alex Zhuravlev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: