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

MGS fails to mount after 1.8 to 2.4.3 upgrade: checking for existing Lustre data: not found

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • Lustre 2.4.3
    • None
    • RHEL6.5
      kernel-2.6.32-358.23.2.el6
      e2fsprogs-1.42.7.wc1-7.el6.x86_64
    • 2
    • 15165

    Description

      After upgrading our lustre servers to lustre-2.4.3 (the exact branch can be seen at the github link below), we are not able to start the filesystem it fails at the first mount of the MGT with the messages below. A debugfs 'stats' output is attached.

      The only difference I am able to notice between this filesystem and another that was successfully upgraded to 2.4.3 from 1.8.9 is that this has the flag "update" in the tunefs.lustre output. Is there a particular meaning to that?

      We mounted with e2fsprogs-1.42.9 first, and then downgraded to e2fsprogs-1.42.7 and still noticed the same result. The system was last mounted as a 1.8.9 filesystem and was cleanly unmounted. The multipath configuration would have changed slightly in the rhel5 to rhel6 transition, but the block device is still readable by debugfs.

      Is this related to the index not being assigned in 1.8? There were several jira tickets related, but they all appear to have been resolved in 2.4.0.

      We are working on a public repo of our branch. This should be it, but the one we are running has the patch for LU-5284:http://review.whamcloud.com/#/c/11136/

      Our repo:
      https://github.com/ORNL-TechInt/lustre/commits/master

      [root@sns-mds1 ~]# mount -vt lustre /dev/mpath/snsfs-mgt /tmp/lustre/snsfs/sns-mgs
      arg[0] = /sbin/mount.lustre
      arg[1] = -v
      arg[2] = -o
      arg[3] = rw
      arg[4] = /dev/mpath/snsfs-mgt
      arg[5] = /tmp/lustre/snsfs/sns-mgs
      source = /dev/mpath/snsfs-mgt (/dev/mpath/snsfs-mgt), target = /tmp/lustre/snsfs/sns-mgs
      options = rw
      checking for existing Lustre data: not found
      mount.lustre: /dev/mpath/snsfs-mgt has not been formatted with mkfs.lustre or the backend filesystem type is not supported by this tool

      [root@sns-mds1 ~]# tunefs.lustre --dryrun /dev/mapper/snsfs-mgt
      checking for existing Lustre data: found
      Reading CONFIGS/mountdata

      Read previous values:
      Target: MGS
      Index: unassigned
      Lustre FS: lustre
      Mount type: ldiskfs
      Flags: 0x54
      (MGS needs_index update )
      Persistent mount opts: iopen_nopriv,user_xattr,errors=remount-ro
      Parameters:

      Permanent disk data:
      Target: MGS
      Index: unassigned
      Lustre FS: lustre
      Mount type: ldiskfs
      Flags: 0x44
      (MGS update )
      Persistent mount opts: iopen_nopriv,user_xattr,errors=remount-ro
      Parameters:

      exiting before disk write.

      Attachments

        Activity

          People

            green Oleg Drokin
            blakecaldwell Blake Caldwell
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: