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

Posix copytool --dry-run option flawed

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.8.0
    • None
    • None
    • Any
    • 3
    • 17397

    Description

      If the --dry-run option is used, the syntax checking allows --hsm-root to be omitted, which implies that the HSM root won't been dereferenced if doing a dry run. This does not appear to be the case.

      In particular, the command:

      $ lhsmtool_posix --max-sequence --dry-run /lustre

      will segfault. Other instances look like they will have the same problem.

      The check in ct_parseopts() that reads:

      if (!opt.o_dry_run && opt.o_hsm_root == NULL)

      should simply remove the "!opt.dry_run &&" clause. All valid operations require that the hsm root be specified.

      Attachments

        Activity

          [LU-6221] Posix copytool --dry-run option flawed
          donut-crowd Donut Crowd (Inactive) made changes -
          Remote Link Original: This issue links to "Page (HPDD Community Wiki)" [ 14721 ]
          donut-crowd Donut Crowd (Inactive) made changes -
          Remote Link Original: This issue links to "Page (HPDD Community Wiki)" [ 14622 ]
          sarah Sarah Liu made changes -
          Remote Link Original: This issue links to "Page (HPDD Community Wiki)" [ 14622 ] New: This issue links to "Page (HPDD Community Wiki)" [ 14622 ]
          sarah Sarah Liu made changes -
          Remote Link New: This issue links to "Page (HPDD Community Wiki)" [ 14721 ]
          sarah Sarah Liu made changes -
          Remote Link New: This issue links to "Page (HPDD Community Wiki)" [ 14622 ]
          pjones Peter Jones made changes -
          Link Original: This issue is related to LDEV-36 [ LDEV-36 ]
          pjones Peter Jones made changes -
          Link Original: This issue is related to LDEV-18 [ LDEV-18 ]
          pjones Peter Jones made changes -
          Link New: This issue is related to LDEV-19 [ LDEV-19 ]
          pjones Peter Jones made changes -
          Link Original: This issue is related to LDEV-14 [ LDEV-14 ]
          pjones Peter Jones made changes -
          Link New: This issue is related to LDEV-13 [ LDEV-13 ]

          People

            bfaccini Bruno Faccini (Inactive)
            bfaccini Bruno Faccini (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: