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

mkfs.lustre allows formatting without --mgsnode

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.6.0
    • None
    • None
    • 3
    • 11511

    Description

      Was just formatting a second MDT for a test filesystem by hand, and forgot to add --mgsnode= to the mkfs.lustre options. This succeeded, but failed when the MDT was mounted:

      mount -t lustre /dev/vg_sookie/lvmdt2 /mnt/mds2
      mount.lustre: missing option mgsnode=<nid>
      

      This should really be a required option for mkfs.lustre, since no target is usable without this.

      Attachments

        Activity

          [LU-4227] mkfs.lustre allows formatting without --mgsnode
          emoly.liu Emoly Liu added a comment -

          The patch landed to 2.6.

          emoly.liu Emoly Liu added a comment - The patch landed to 2.6.
          emoly.liu Emoly Liu added a comment -
          emoly.liu Emoly Liu added a comment - patch tracking at: http://review.whamcloud.com/8387
          rread Robert Read added a comment -

          I would prefer to see target initialization divided into two steps: low level formatting, and the registration with a specific Lustre filesystem. The initial step would initialize ldiskfs, and the second step would assign the index, NIDs, mgsnode, etc, and then register it with the MGS.

          rread Robert Read added a comment - I would prefer to see target initialization divided into two steps: low level formatting, and the registration with a specific Lustre filesystem. The initial step would initialize ldiskfs, and the second step would assign the index, NIDs, mgsnode, etc, and then register it with the MGS.

          People

            emoly.liu Emoly Liu
            adilger Andreas Dilger
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: