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

sanity-hsm test_606: losetup: /dev/mapper/mds1_flakey: failed to set up loop dev

    XMLWordPrintable

Details

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

    Description

      To reproduce:

      setup Lustre with config mds1_HOST != mds1failover_HOST;

      without llmount.sh before the test run:  ONLY=606 sh sanity-hsm.sh

      Test fails with :

      
            losetup: /dev/mapper/mds1_flakey: failed to set up loop device: No such file or directory
      
      

      The reason of failure:

      After check_and_setup_lustre() mds1_dev is equal to /dev/mapper/mds1_flakey, which is unexported to saved real device  (/dev/vdc) by stop():

      
            stop mds1
      
              elif dm_flakey_supported mds1; then
      
                  dm_cleanup_dev mds1
      
                    unexport_dm_dev mds1
      
      

      As a result test_606():stack_trap() is called with non existing  /dev/mapper/mds1_flakey:

      
      stack_trap 'stop mds1; start mds1 /dev/mapper/mds1_flakey -o rw,user_xattr' EXIT
      
      

      and failed as:

      
       losetup: /dev/mapper/mds1_flakey: failed to set up loop device: No such file or directory
      
      

       

      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: