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

allow 'lfs migrate' for only a single FLR mirror

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • None

    Description

      Currently, "lfs migrate" does not work very well for FLR mirrored files. If an FLR mirrored file is migrated, it will replace all of the mirrors with the target layout. It is not currently possible to migrate only a single mirror of a file.

      It is not even possible to specify a mirrored layout for the target file ("lfs migrate" apparently doesn't parse the options correctly, and even if this was working it would significant increase write amplification to make multiple copies of a file for the common case of trying to remove objects from a specific OST.

      It should be possible for "lfs migrate" to properly migrate only a single FLR mirror of a file by specifying --mirror-id or --comp-id as with "lfs mirror split". Internally, this might be implemented by extending the file with a new FLR mirror using the specified layout and then removing the old mirror, but the user interface should make this transparent.

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: