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

Running mke2fs to get alternate superblocks on >16TB LUN

    XMLWordPrintable

Details

    • Question/Request
    • Resolution: Fixed
    • Critical
    • None
    • Lustre 2.4.1
    • None
    • RHEL 6.4
      e2fsprogs 1.42.9.wc1
    • 14152

    Description

      We have an OST that is not mountable because a superblock is unreadable from the backend storage. In order to begin repairs, we need to run mke2fs to get the alternate superblocks to then run debugfs. Unfortunately, the current version of e2fsprogs does not handle this by default. Can you advise the correct options to use with mke2fs with -n (very important!). If we run with -O64bit without any other of the original filesystem options, will that do it?

      [root@f1-oss1d5 share]# /tmp/e2fsprogs-new/sbin/mke2fs -n /dev/mapper/f1-ddn1d-l30
      mke2fs 1.42.9.wc1 (24-Feb-2014)
      mke2fs: Size of device (0x151e00000 blocks) /dev/mapper/f1-ddn1d-l30 too big to be expressed
      in 32 bits using a blocksize of 4096.

      [root@f1-oss1d5 man8]# dumpe2fs /dev/mapper/f1-ddn1d-l30 | grep superblock
      dumpe2fs 1.42.7.wc2 (07-Nov-2013)
      dumpe2fs: Attempt to read block from filesystem resulted in short read while trying to open /dev/mapper/f1-ddn1d-l30
      Couldn't find valid filesystem superblock.
      [root@f1-oss1d5 man8]#

      Attachments

        Activity

          People

            yujian Jian Yu
            blakecaldwell Blake Caldwell
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: