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

lctl llog_print doesn't accept snapshot names with leading number

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.13.0, Lustre 2.12.4
    • Lustre 2.10.0
    • None
    • 3
    • 9223372036854775807

    Description

      The "lctl llog_print" command (in llog_ioctl()) does not accept a filesystem/log name that begins with a number, in particular those that are created with the lsnapshot utility like "1d26cfb" or similar. This causes an error "OBD_IOC_LLOG_PRINT failed: Invalid argument" unless the log is escaped with a leading '$' like "lctl llog_print $1d26cfb-client".

      Attachments

        Activity

          [LU-12842] lctl llog_print doesn't accept snapshot names with leading number

          Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36933/
          Subject: LU-12842 utils: llog_print with snapshot name
          Project: fs/lustre-release
          Branch: b2_12
          Current Patch Set:
          Commit: 93f16cbb7210c390546ccd25244803770b52029f

          gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36933/ Subject: LU-12842 utils: llog_print with snapshot name Project: fs/lustre-release Branch: b2_12 Current Patch Set: Commit: 93f16cbb7210c390546ccd25244803770b52029f

          Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36933
          Subject: LU-12842 utils: llog_print with snapshot name
          Project: fs/lustre-release
          Branch: b2_12
          Current Patch Set: 1
          Commit: fc3ddfa799806c46106aca64cb4b7c4061943b5b

          gerrit Gerrit Updater added a comment - Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36933 Subject: LU-12842 utils: llog_print with snapshot name Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: fc3ddfa799806c46106aca64cb4b7c4061943b5b
          pjones Peter Jones added a comment -

          Landed for 2.13

          pjones Peter Jones added a comment - Landed for 2.13

          Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36414/
          Subject: LU-12842 utils: llog_print with snapshot name
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 6e73b5705c6f1cda391b3a9cec8825eb9f914d38

          gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36414/ Subject: LU-12842 utils: llog_print with snapshot name Project: fs/lustre-release Branch: master Current Patch Set: Commit: 6e73b5705c6f1cda391b3a9cec8825eb9f914d38

          Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36414
          Subject: LU-12842 utils: llog_print with snapshot name
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: ec80bbf090f344bad3e310918d09ddd1d5b87824

          gerrit Gerrit Updater added a comment - Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36414 Subject: LU-12842 utils: llog_print with snapshot name Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: ec80bbf090f344bad3e310918d09ddd1d5b87824

          People

            adilger Andreas Dilger
            adilger Andreas Dilger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: