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

sanity-lfsck defect: global MDT_DEVNAME can not be used after stop()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.15.0
    • Lustre 2.15.0
    • None
    • 3
    • 9223372036854775807

    Description

      Global MDT_DEVNAME set at the start of sanity-lfsck equal to a device-mapper device can not be used after stop() because of a device-mapper device is removed and facet device is restored:

            stop () ->
               elif dm_flakey_supported $facet; then
                  if [[ -n ${!failover_host} && ${!failover_host} != ${!host} ]]
                     dm_cleanup_dev $facet ->
                        unexport_dm_dev $facet
      

      The tests: 1a, 1b, 1c, 2a, 2b, 2c, 2d, 4, 5, 7a, 7b, 8, 30 fail on failover setup with:

              losetup: /dev/mapper/mds1_flakey: failed to set up loop device
      

      This defect is introduced by:
      54b9e3f ("LU-684 tests: replace dev_read_only patch with dm-flakey")

      Attachments

        Activity

          People

            egryaznova Elena Gryaznova
            egryaznova Elena Gryaznova
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: