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

mounting bigalloc enabled large OST takes a long time

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • None
    • master
    • 3
    • 9223372036854775807

    Description

      Not only Lustre OST, but also when OSS mounts large OST device which 'bigalloc' is enabled, it takes huge amount of time to complete.

      # time mount -t ldiskfs /dev/ddn/scratch0_ost0000 /lustre/scratch0/ost0000
      
      real    12m32.153s
      user    0m0.000s
      sys     11m49.887s
      
      # dumpe2fs -h /dev/ddn/scratch0_ost0000
      dumpe2fs 1.45.2.wc1 (27-May-2019)
      Filesystem volume name:   scratch0-OST0000
      Last mounted on:          /
      Filesystem UUID:          1ca9dd81-8b70-4805-a430-78b0eafc1c45
      Filesystem magic number:  0xEF53
      Filesystem revision #:    1 (dynamic)
      Filesystem features:      has_journal ext_attr dir_index filetype needs_recovery meta_bg extent 64bit mmp flex_bg sparse_super large_file huge_file uninit_bg dir_nlink quota bigalloc
      Filesystem flags:         signed_directory_hash 
      Default mount options:    user_xattr acl
      Filesystem state:         clean
      Errors behavior:          Continue
      Filesystem OS type:       Linux
      Inode count:              1074397184
      Block count:              275045679104
      Reserved block count:     2750456791
      Free blocks:              274909403680
      Free inodes:              1074396851
      First block:              0
      Block size:               4096
      Cluster size:             131072
      Group descriptor size:    64
      Blocks per group:         1048576
      Clusters per group:       32768
      Inodes per group:         4096
      Inode blocks per group:   512
      RAID stride:              512
      RAID stripe width:        512
      Flex block group size:    256
      Filesystem created:       Mon Jul  1 00:43:14 2019
      Last mount time:          Wed Jul  3 05:55:22 2019
      Last write time:          Wed Jul  3 05:55:22 2019
      Mount count:              8
      Maximum mount count:      -1
      Last checked:             Mon Jul  1 00:43:14 2019
      Check interval:           0 (<none>)
      Lifetime writes:          2693 GB
      Reserved blocks uid:      0 (user root)
      Reserved blocks gid:      0 (group root)
      First inode:              11
      Inode size:               512
      Required extra isize:     32
      Desired extra isize:      32
      Journal inode:            8
      Default directory hash:   half_md4
      Directory Hash Seed:      4eeb2234-062d-4af5-8973-872baabd2e9f
      Journal backup:           inode blocks
      MMP block number:         131680
      MMP update interval:      5
      User quota inode:         3
      Group quota inode:        4
      Journal features:         journal_incompat_revoke journal_64bit
      Journal size:             4096M
      Journal length:           1048576
      Journal sequence:         0x00000494
      Journal start:            0
      MMP_block:
          mmp_magic: 0x4d4d50
          mmp_check_interval: 10
          mmp_sequence: 0x0000cd
          mmp_update_date: Wed Jul  3 06:00:33 2019
          mmp_update_time: 1562133633
          mmp_node_name: es18k-vm11
          mmp_device_name: sda
      

      Without bigalloc

      # time mount -t ldiskfs /dev/ddn/scratch0_ost0000 /lustre/scratch0/ost0000
      
      real	0m6.484s
      user	0m0.000s
      sys	0m4.954s
      

      Attachments

        1. dumpe2fs.out.gz
          14.48 MB
          Shuichi Ihara

        Issue Links

          Activity

            People

              dongyang Dongyang Li
              sihara Shuichi Ihara
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: