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

unable to migrate mirrored files

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Lustre 2.14.0, Lustre 2.12.5
    • Fix Version/s: Lustre 2.14.0
    • Labels:
    • Severity:
      3
    • Rank (Obsolete):
      9223372036854775807

      Description

      I created a subdirectory and put a mirrored file in it. When I tried to migrate the mirrored file to another MDT, it returned an error migrating the mirrored file that I didn't expect:

      tests# lfs mkdir -i 0 /mnt/testfs/dir1
      tests# cp /etc/hosts /mnt/testfs/dir1
      tests# lfs mirror extend -N1 /mnt/testfs/dir1/hosts
      tests# lfs migrate -m 1 /mnt/testfs/dir1
      lfs migrate: /mnt/testfs/dir1/hosts migrate failed: Operation not supported (95)
      tests# lfs getstripe -m /mnt/testfs/dir1
      1
      tests# lfs getstripe -m /mnt/testfs/dir1/hosts
      0
      

      So it seems like the directory was migrated, but the mirrored file was not. Is there some reason that the mirrored file could not be migrated? I don't think that should be any different than migrating some other composite file.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tappro Mikhail Pershin
                Reporter:
                adilger Andreas Dilger
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: