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

Attempt to add PCC with param 'size>{1M}&size<{500G} reports Invalid argument (22)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • Lustre 2.14.0
    • None
    • 3
    • 9223372036854775807

    Description

      Step to to reproduce:

      Use combination of parameters  size with  both  M and G affix

      Add cache:

       /usr/sbin/lctl pcc add /mnt/lustre /mnt/pccro --param '*size>\{1M}&size<\{500G}* roid=7 ropcc=1'
      lctl pcc pcc: error: setting llite.lustre-ffff92c83864f000.pcc='add /mnt/pccro size>\{1M}&size<\{500G} roid=7 ropcc=1': *Invalid argument (22)*
      
       /usr/sbin/lctl pcc add /mnt/lustre /mnt/pccro --param 'size>*{100M}&size<\{500G}* roid=7 ropcc=1'
      lctl pcc pcc: error: setting llite.lustre-ffff92c83864f000.pcc='add /mnt/pccro size>\{100M}&size<\{500G} roid=7 ropcc=1': *Invalid argument (22)*
       

      Also is it support for K postfix? it also reports Invalid argument

      Attachments

        Activity

          People

            qian_wc Qian Yingjin
            vilapa Vikentsi Lapa
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: