Rolling back ONTAP LUNs to 7-Mode LUNs on RHEL hosts

Contributors netapp-ivanad ntap-bmegan Download PDF of this page

If your ONTAP LUNs are not performing as you expect after transition from Data ONTAP operating in 7-Mode, you can rollback from ONTAP to 7-Mode LUNs on a Red Hat Enterprise Linux (RHEL) 5 or RHEL 6 host.

Your 7-Mode LUNs must be mapped back to your RHEL 5 or RHEL 6 host.

Steps
  1. Discover the 7-Mode LUNs:

    rescan-scsi-bus.sh

  2. Configure your DMMP devices for 7-Mode LUNs:

    multipath

  3. Verify your 7-Mode LUNs:

    sanlun lun show

  4. Determine the 7-Mode LUN device handle ID:

    multipath -ll device_handle_name

  5. If the host was configured with Logical Volume Manager (LVM), do the following:

    1. Import the volume group:
      vgimport vg_name

    2. Verify the volume group status:
      vgdisplay

    3. Enable logical volumes:
      vgchange -ay vg_name

    4. Verify logical volume status:
      lvdisplay

      The LV Status should be displayed as available.

    5. Mount the logical volumes from the ONTAP LUN to its respective mount point directory:
      mount lv_name mount_point

      If the mount points are defined in the etc/fstab file, you can also use the mount -a command to mount the logical volumes.

    6. Verify the mount points:
      mount