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

mkfs.lustre ext4 extended options passed via --mkfsoptions are ignored

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Lustre 2.1.0
    • Fix Version/s: Lustre 2.1.0, Lustre 1.8.7
    • Labels:
      None
    • Environment:
      RHEL 5.6, e2fsprogs-1.41.90.wc2-0redhat, mkfs.lustre v2.0.62
    • Severity:
      3
    • Rank (Obsolete):
      4958

      Description

      Using mkfs.ext4, I can set extended options using the -E flag:
      mkfs.ext4 -b 4096 -E stride=64,stripe-width=384 -j -m 0 -J device=/dev/md25 /dev/md15

      According to the manpage and mailing list http://comments.gmane.org/gmane.comp.file-systems.lustre.user/9766, I should be able to do the same for mkfs.lustre using the --mkfsoptions flag. However, mkfs.lustre calls mke2fs with its own set of extended options which causes mine to be ignored:

      mke2fs -j -b 4096 -L punch-OST0000 -b 4096 -E stride=64,stripe-width=384 -j -m 0 -J device=/dev/md20 -I 256 -i 262144 -O extents,uninit_bg,dir_nlink,huge_file,flex_bg -G 256 -E resize=4290772992,lazy_journal_init, -F /dev/md10 732579456

      The output of mkfs.lustre includes "Stride=0 blocks, Stripe width=0 blocks" suggesting that these options are ignored by mkfs.ext4.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bobijam Zhenyu Xu
                Reporter:
                jhammond John Hammond
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: