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

FSTYPE=zfs bash lustre/tests/llmount.sh fails unless /tmp/lustre-{mdt1,ost1,ost2} all exist and have size at least 64M

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      m:lustre-release# rm /tmp/lustre-*
      m:lustre-release# FSTYPE=zfs bash lustre/tests/llmount.sh 
      ...
      Formatting mgs, mds, osts
      Format mds1: lustre-mdt1/mdt1
      
      mkfs.lustre FATAL: Unable to create pool lustre-mdt1 (256)
      
      mkfs.lustre FATAL: mkfs failed 256
      

      The command that fails is zpool create:

      m:lustre-release# zpool create -f -O canmount=off lustre-mdt1 /tmp/lustre-mdt1
      cannot create 'lustre-mdt1': one or more devices is less than the minimum size (64M)
      

      Attachments

        Issue Links

          Activity

            [LU-10424] FSTYPE=zfs bash lustre/tests/llmount.sh fails unless /tmp/lustre-{mdt1,ost1,ost2} all exist and have size at least 64M
            emoly.liu Emoly Liu added a comment -

            Thanks, John!

            emoly.liu Emoly Liu added a comment - Thanks, John!
            jhammond John Hammond added a comment - - edited

            I should add that if I run

            m:lustre-release# truncate --size=64M /tmp/lustre-{mdt1,ost1,ost2}
            

            before llmount.sh then it works fine.

            jhammond John Hammond added a comment - - edited I should add that if I run m:lustre-release# truncate --size=64M /tmp/lustre-{mdt1,ost1,ost2} before llmount.sh then it works fine.

            People

              wc-triage WC Triage
              jhammond John Hammond
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: