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

MGS fails to mount due to "has no index assigned (probably formatted with old mkfs" error

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • Lustre 2.4.0
    • Lustre 2.4.0
    • None
    • 3
    • 4132

    Description

      In 2.4 the MGS is not formated with a index. In fact you can't specify a index but mount.lustre will not mount any device without a index.

      Attachments

        Issue Links

          Activity

            [LU-2022] MGS fails to mount due to "has no index assigned (probably formatted with old mkfs" error
            sarah Sarah Liu added a comment -

            I will file a separated ticket for the interop issue and close this one. Thanks.

            sarah Sarah Liu added a comment - I will file a separated ticket for the interop issue and close this one. Thanks.

            BTW I think the lack of index for MDT with older test frameworks should be a separate ticket from this.

            simmonsja James A Simmons added a comment - BTW I think the lack of index for MDT with older test frameworks should be a separate ticket from this.
            simmonsja James A Simmons added a comment - - edited

            The patch only fixed the case of where the MGS and MDS were not on the same box. What you are seeing is from the lack of a index for the MDT when run from older lustre versions on the clients. We could fix this either but updating the test framework on earlier lustre to detect the lustre version on the MDS and supply a --index=0 or we could patch mkfs.lustre to automatically supply a index of zero for a MDT if no index was supplied.

            simmonsja James A Simmons added a comment - - edited The patch only fixed the case of where the MGS and MDS were not on the same box. What you are seeing is from the lack of a index for the MDT when run from older lustre versions on the clients. We could fix this either but updating the test framework on earlier lustre to detect the lustre version on the MDS and supply a --index=0 or we could patch mkfs.lustre to automatically supply a index of zero for a MDT if no index was supplied.
            sarah Sarah Liu added a comment -

            Still hit this failures in interop testing between master and b2_2/b1_8

            https://maloo.whamcloud.com/test_sessions/98a446b8-170a-11e2-962d-52540035b04c
            https://maloo.whamcloud.com/test_sessions/f1eae4c8-1649-11e2-9c65-52540035b04c

            13:52:33:Starting mds: -o user_xattr,acl  /dev/lvm-MDS/P1 /mnt/mds
            13:52:33:CMD: client-29vm3 mkdir -p /mnt/mds; mount -t lustre -o user_xattr,acl  /dev/lvm-MDS/P1 /mnt/mds
            13:52:33:client-29vm3: mount.lustre: /dev/mapper/lvm--MDS-P1 has no index assigned (probably formatted with old mkfs)
            
            sarah Sarah Liu added a comment - Still hit this failures in interop testing between master and b2_2/b1_8 https://maloo.whamcloud.com/test_sessions/98a446b8-170a-11e2-962d-52540035b04c https://maloo.whamcloud.com/test_sessions/f1eae4c8-1649-11e2-9c65-52540035b04c 13:52:33:Starting mds: -o user_xattr,acl /dev/lvm-MDS/P1 /mnt/mds 13:52:33:CMD: client-29vm3 mkdir -p /mnt/mds; mount -t lustre -o user_xattr,acl /dev/lvm-MDS/P1 /mnt/mds 13:52:33:client-29vm3: mount.lustre: /dev/mapper/lvm--MDS-P1 has no index assigned (probably formatted with old mkfs)

            The above patch was merged.

            keith Keith Mannthey (Inactive) added a comment - The above patch was merged.
            pjones Peter Jones added a comment -

            Thanks for the patch James.

            Keith can you please take care of this one?

            pjones Peter Jones added a comment - Thanks for the patch James. Keith can you please take care of this one?
            simmonsja James A Simmons added a comment - Patch at http://review.whamcloud.com/#change,4084

            People

              keith Keith Mannthey (Inactive)
              simmonsja James A Simmons
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: