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

deactive MDT might cause 2 dir stripes created in the same MDT.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Lustre 2.10.0
    • Lustre 2.8.0, Lustre 2.9.0
    • None
    • 3
    • 9223372036854775807

    Description

      Deactive one MDT might cause 2 stripes created in the same MDT. I will cook a patch.

      [root@testnode tests]# ../utils/lfs df
      UUID                   1K-blocks        Used   Available Use% Mounted on
      lustre-MDT0000_UUID       125368        1936      114072   2% /mnt/lustre[MDT:0]
      MDT0001             : inactive device
      lustre-MDT0002_UUID       125368        1720      114288   1% /mnt/lustre[MDT:2]
      lustre-MDT0003_UUID       125368        1724      114284   1% /mnt/lustre[MDT:3]
      lustre-OST0000_UUID       350360       13908      308980   4% /mnt/lustre[OST:0]
      lustre-OST0001_UUID       350360       13912      308976   4% /mnt/lustre[OST:1]
      
      filesystem summary:       700720       27820      617956   4% /mnt/lustre
      
      [root@testnode tests]# ../utils/lfs mkdir -i0 -c5 /mnt/lustre/test3
      [root@testnode tests]# ../utils/lfs getdirstripe /mnt/lustre/test3
      lmv_stripe_count: 4 lmv_stripe_offset: 0
      mdtidx		 FID[seq:oid:ver]
           0		 [0x200000400:0x6:0x0]		
           2		 [0x280000402:0x6:0x0]		
           3		 [0x2c0000403:0x6:0x0]		
           0		 [0x200000400:0x7:0x0]		
      

      Attachments

        Issue Links

          Activity

            People

              di.wang Di Wang
              di.wang Di Wang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: