Mounting HP-UX host LUNs with file systems after transition

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

After transitioning HP-UX host LUNs with file systems from Data ONTAP operating in 7-Mode to clustered Data ONTAP, you must mount the LUNs.

For copy-based transitions, perform these steps after completing the Storage Cutover operation in the 7-Mode Transition Tool (7MTT). Copy-free transitions are not supported for HP-UX hosts.

Steps
  1. Discover new clustered Data ONTAP LUNs:

    ioscan -fnC disk

  2. Verify that the clustered Data ONTAP LUNs have been discovered:

    sanlun lun show

  3. Verify that the lun-pathname for the clustered Data ONTAP LUNs is the same as the lun-pathname for the 7-Mode LUNs prior to transition.

  4. Verify that the output in the mode column has changed from 7 to C.

  5. Use the mapfile file to import the volume group:

    vgimport -s -v -m /tmp/mapfile.vg01 /dev/vg01"

  6. Activate the logical volumes:

    vgchange -a y vg_name

  7. Convert the legacy Device Special Filename (DSF) to persistent DSF:

    vgdsf -c /dev/vg01

  8. Verify that the VG Status is displayed as available:

    vgdisplay

  9. Manually mount each of the devices:

    mount -F vxfs -o largefiles device_name mount_point

  10. Run the fsck command if you are prompted to do so.

  11. Verify the mount points:

    bdf

    The following example shows how the mount points should be displayed:

    bash-2.05# bdf
    Filesystem          kbytes     used     avail     used   Mounted on
    /dev/vg01/lvol1   23592960   1050952   22189796    5%   /mnt/qa/vg01
    /dev/vg01/lvol2   23592960    588480   22645044    3%   /mnt/qa/vg02