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

upgrade to 2.15.2 lost sever top level directories

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • None
    • None
    • 2
    • 9223372036854775807

    Description

      After upgrading filesystem from 2.12 to 2.15.2 Several top level directories got corrupted. 

      [root@nbp11-srv1 ~]# ls -l /nobackupp11/
      ls: cannot access '/nobackupp11/ylin4': No such file or directory
      ls: cannot access '/nobackupp11/mbarad': No such file or directory
      ls: cannot access '/nobackupp11/ldgrant': No such file or directory
      ls: cannot access '/nobackupp11/kknizhni': No such file or directory
      ls: cannot access '/nobackupp11/mzhao4': No such file or directory
      ls: cannot access '/nobackupp11/afahad': No such file or directory
      ls: cannot access '/nobackupp11/jliu7': No such file or directory
      ls: cannot access '/nobackupp11/jswest': No such file or directory
      ls: cannot access '/nobackupp11/hsp': No such file or directory
      ls: cannot access '/nobackupp11/vjespos1': No such file or directory
      ls: cannot access '/nobackupp11/ssepka': No such file or directory
      ls: cannot access '/nobackupp11/cjang1': No such file or directory

       

      debugfs:  stat ylin4
      Inode: 43051102   Type: directory    Mode:  0000   Flags: 0x80000
      Generation: 503057142    Version: 0x00000000:00000000
      User:     0   Group:     0   Project:     0   Size: 4096
      File ACL: 0
      Links: 2   Blockcount: 8
      Fragment:  Address: 0    Number: 0    Size: 0
       ctime: 0x63dd8e2f:22c83c08 – Fri Feb  3 14:43:59 2023
       atime: 0x63dd8e2f:22c83c08 – Fri Feb  3 14:43:59 2023
       mtime: 0x63dd8e2f:22c83c08 – Fri Feb  3 14:43:59 2023
      crtime: 0x63dd8e2f:22c83c08 – Fri Feb  3 14:43:59 2023
      Size of extra inode fields: 32
      Extended attributes:
        lma: fid=[0x280015902:0x2:0x0] compat=0 incompat=2
      EXTENTS:
      (0):671099035

       

      Not thinking I delete these via ldiskfs. The data is still there how can we recover the director data.

      1. lfs quota -u ylin4  /nobackupp11
        Disk quotas for usr ylin4 (uid 11560):
             Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
           /nobackupp11 11337707848* 1073741824 2147483648       -  208359  500000  600000       -

       

       

      Attachments

        Issue Links

          Activity

            People

              adilger Andreas Dilger
              mhanafi Mahmoud Hanafi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: