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

mkfs.lustre fails by "don't specify multiple -E options"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • Lustre 1.8.7
    • None
    • 3
    • 6551

    Description

      I'm testing with lustre-1.8.6.60 for early 1.8.7 testing.
      mkfs.lustre failed and got the following errors when I added "-E stride=32 -E stripe-width=256" to --mkfsoptions.

      mkfs.lustre --reformat --ost --param ost.quota_type=ug2 --fsname=lustre --mkfsoptions="-E stride=32 -E stripe-width=256" --mgsnode=192.168.10.120@o2ib /dev/mpath/ost00

      Permanent disk data:
      Target: lustre-OSTffff
      Index: unassigned
      Lustre FS: lustre
      Mount type: ldiskfs
      Flags: 0x72
      (OST needs_index first_time update )
      Persistent mount opts: errors=remount-ro,extents,mballoc
      Parameters: ost.quota_type=ug2 mgsnode=192.168.10.120@o2ib

      device size = 14934016MB
      mkfs.lustre: don't specify multiple -E options

      mkfs.lustre FATAL: mkfs failed 22
      mkfs.lustre: exiting with 22 (Invalid argument)

      Without these options, mkfs.lustre works well.

      mkfs.lustre --reformat --ost --param ost.quota_type=ug2 --fsname=lustre --mgsnode=192.168.10.120@o2ib /dev/mpath/ost00
      Permanent disk data:
      Target: lustre-OSTffff
      Index: unassigned
      Lustre FS: lustre
      Mount type: ldiskfs
      Flags: 0x72
      (OST needs_index first_time update )
      Persistent mount opts: errors=remount-ro,extents,mballoc
      Parameters: ost.quota_type=ug2 mgsnode=192.168.10.120@o2ib

      device size = 14934016MB
      formatting backing filesystem ldiskfs on /dev/mpath/ost00
      target name lustre-OSTffff
      4k blocks 3823108096
      options -J size=400 -I 256 -i 524288 -q -O extents,uninit_bg,dir_nlink,huge_file,flex_bg -G 256 -E resize=4290772992,lazy_journal_init -F
      mkfs_cmd = mke2fs -j -b 4096 -L lustre-OSTffff -J size=400 -I 256 -i 524288 -q -O extents,uninit_bg,dir_nlink,huge_file,flex_bg -G 256 -E resize=4290772992,lazy_journal_init -F /dev/mpath/ost00 3823108096
      Writing CONFIGS/mountdata

      Attachments

        Activity

          People

            bobijam Zhenyu Xu
            ihara Shuichi Ihara (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: