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

'mkfs.lustre --writeconf' not working anymore with Lustre 2.4

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • Lustre 2.4.0
    • None
    • 3
    • 9043

    Description

      Hi,

      With Lustre 2.4, '--writeconf' flag of mkfs.lustre is ignored. Indeed, after formatting a target with this flag, its label separator is ':', which means VIRGIN, instead of '='.
      To force writeconf, one has to run 'tunefs.lustre --writeconf' on the target prior to starting it for the first time.

      This is seen as a regression compared to Lustre 2.1, with which we can directly pass the writeconf flag at mkfs.lustre time.

      We need this feature (ie forcing writeconf at mkfs time) when we reformat an existing file system registered at an external MGS after modifying its characteristics.

      Could it be possible to revise writeconf flag implementation in Lustre 2.4 so that it can be used directly at mkfs.lustre time?

      TIA,
      Sebastien.

      Attachments

        Issue Links

          Activity

            [LU-3575] 'mkfs.lustre --writeconf' not working anymore with Lustre 2.4
            spitzcor Cory Spitz added a comment -

            If 'mkfs.lustre --writeconf' is flat broke, why didn't we catch this prior to 2.4.0?

            spitzcor Cory Spitz added a comment - If 'mkfs.lustre --writeconf' is flat broke, why didn't we catch this prior to 2.4.0?

            Hi there,

            I can confirm that this patch (http://review.whamcloud.com/#/c/7232/) solves the problem for me.
            Is it possible to also have it on b2_4?

            TIA,
            Sebastien.

            sebastien.buisson Sebastien Buisson (Inactive) added a comment - Hi there, I can confirm that this patch ( http://review.whamcloud.com/#/c/7232/ ) solves the problem for me. Is it possible to also have it on b2_4? TIA, Sebastien.

            Peter, Alex,
            Sébastien is out of his office for 2 weeks and will be back on next monday (august 19).
            Patrick

            patrick.valentin Patrick Valentin (Inactive) added a comment - Peter, Alex, Sébastien is out of his office for 2 weeks and will be back on next monday (august 19). Patrick
            pjones Peter Jones added a comment -

            Sebastien

            Any word as to whether this patch solves the problem for you?

            Peter

            pjones Peter Jones added a comment - Sebastien Any word as to whether this patch solves the problem for you? Peter

            Sebastien,
            could you try http://review.whamcloud.com/#/c/7232/ please ?

            bzzz Alex Zhuravlev added a comment - Sebastien, could you try http://review.whamcloud.com/#/c/7232/ please ?

            Alex,
            Could you please comment on this one?
            Thank you!

            jlevi Jodi Levi (Inactive) added a comment - Alex, Could you please comment on this one? Thank you!

            People

              bzzz Alex Zhuravlev
              sebastien.buisson Sebastien Buisson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: