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

Test-framework.sh ignores MDSDEV when FSTYPE=zfs

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.6.0
    • Lustre 2.4.0
    • 3
    • 5815

    Description

      Test-framework.sh ignores MDSDEV here:

      mdsdevname() {
          num=$1
          DEVNAME=MDSDEV$num
      
              local fstype=$(facet_fstype mds$num)
      
              case $fstype in
                      ldiskfs )
                              #if $MDSDEVn isn't defined, default is $MDSDEVBASE + num
                              eval DEVPTR=${!DEVNAME:=${MDSDEVBASE}${num}};;
                      zfs )   
                              #dataset name is independent of vdev device names
                              eval DEVPTR=${FSNAME}-mdt${num}/mdt${num};;
                      * )
                              error "unknown fstype!";;
              esac
      

      andreas suggests:
      eval DEVPTR=${!DEVNAME:=${FSNAME}-mdt${num}/mdt${num}}"
      as a fix

      Attachments

        Issue Links

          Activity

            People

              utopiabound Nathaniel Clark
              cliffw Cliff White (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: