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

Can't add pcc cache with roid only parameter.

Details

    • Bug
    • Resolution: Not a Bug
    • Minor
    • None
    • Lustre 2.14.0
    • 3
    • 9223372036854775807

    Description

      Just create this bug to track it status and not miss it, because it was early mentioned in separate email.

      From email message

       

      [root@qian tests]# ../utils/lctl pcc add /mnt/lustre /mnt/pcc -p "projid={100} roid=2"

      lctl pcc pcc: error: setting llite.lustre-ffff9952eece7000.pcc='add /mnt/pcc projid={100} roid=2': Invalid argument (22)

       

      Details:

      According to the Lustre manual user can add PCC cache with rwid and roid options.

      Attempt to add cache with roid option only was failed. So as workaround it is necessary to use rwid option.

      Attachments

        Issue Links

          Activity

            [LU-13842] Can't add pcc cache with roid only parameter.

            Yes, I can confirm that it is possible to create with

            lctl pcc add /mnt/lustre /mnt/pccro_tst -p "projid={100} roid=5"

            lctl pcc list /mnt/lustre

            pcc:
              -
                pccpath: /mnt/pccro_tst
                hsmtool: posix
                rwid: 5
                roid: 5
                flags: 3e
                autocache: projid={100}
            
            

            Version for test:

            rpm -qa | grep lustre
            kmod-lustre-client-2.13.55_3_gaaa3279-1.el7.x86_64
            lustre-client-2.13.55_3_gaaa3279-1.el7.x86_64
            lustre-iokit-2.13.55_3_gaaa3279-1.el7.x86_64
            lustre-client-tests-2.13.55_3_gaaa3279-1.el7.x86_64
            kmod-lustre-client-tests-2.13.55_3_gaaa3279-1.el7.x86_64

            vilapa Vikentsi Lapa added a comment - Yes, I can confirm that it is possible to create with lctl pcc add /mnt/lustre /mnt/pccro_tst -p "projid={100} roid=5" lctl pcc list /mnt/lustre pcc: - pccpath: /mnt/pccro_tst hsmtool: posix rwid: 5 roid: 5 flags: 3e autocache: projid={100} Version for test: rpm -qa | grep lustre kmod-lustre-client-2.13.55_3_gaaa3279-1.el7.x86_64 lustre-client-2.13.55_3_gaaa3279-1.el7.x86_64 lustre-iokit-2.13.55_3_gaaa3279-1.el7.x86_64 lustre-client-tests-2.13.55_3_gaaa3279-1.el7.x86_64 kmod-lustre-client-tests-2.13.55_3_gaaa3279-1.el7.x86_64
            qian_wc Qian Yingjin added a comment -

            I fixed it in the original patch series

            qian_wc Qian Yingjin added a comment - I fixed it in the original patch series

            Where build with fix is located? Is it tracked it separate patch?

            vilapa Vikentsi Lapa added a comment - Where build with fix is located? Is it tracked it separate patch?
            qian_wc Qian Yingjin added a comment -

            Fix the bug:

             

            [root@qian tests]# ../utils/lctl pcc add /mnt/lustre /mnt/pcc -p "projid={100} roid=2"
            [root@qian tests]# ../utils/lctl pcc list /mnt/lustre                           
            /mnt/pcc:
              rwid: 2
              flags: 3e
              autocache: projid={100}
            

             

            qian_wc Qian Yingjin added a comment - Fix the bug:   [root@qian tests]# ../utils/lctl pcc add /mnt/lustre /mnt/pcc -p "projid={100} roid=2" [root@qian tests]# ../utils/lctl pcc list /mnt/lustre                            /mnt/pcc:   rwid: 2   flags: 3e   autocache: projid={100}  

            People

              wc-triage WC Triage
              vilapa Vikentsi Lapa
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: