Migrating from an environment where a SCSI device is already set

Dynamic Link Manager (for Linux®) User Guide

Version
9.0.x
Audience
anonymous
Part Number
MK-92DLM113-64
ft:lastEdition
2025-11-06

To move an already set SCSI device to an HDLM device:

  1. Identify the name of the logical device file of the HDLM device to be mounted automatically.

    Execute the dlnkmgr command's view operation, and identify the applicable name of the logical device file of the HDLM and SCSI devices. For details on the view operation, see COM_MNL_VIEW_(DISPLAYS_INFORMATION)=GUID-311C4B1B-E8E6-4963-9C3C-6D33AD0261DD=3=EN=.html. The following is an actual example.

    Example of executing the dlnkmgr command's view operation (with -drv specified):

    # /opt/DynamicLinkManager/bin/dlnkmgr view -drv
    PathID HDevName Device LDEV
    000000 sddlmaa /dev/sdh VSP_Gx00.410025.00280B
    000001 sddlmab /dev/sdi VSP_Gx00.410025.00280C
    000002 sddlmac /dev/sdj VSP_Gx00.410025.00280D
    000003 sddlmaa /dev/sdk VSP_Gx00.410025.00280B
    000004 sddlmab /dev/sdl VSP_Gx00.410025.00280C
    000005 sddlmac /dev/sdm VSP_Gx00.410025.00280D
    000006 sddlmaa /dev/sdn VSP_Gx00.410025.00280B
    000007 sddlmab /dev/sdo VSP_Gx00.410025.00280C
    000008 sddlmac /dev/sdp VSP_Gx00.410025.00280D
    000009 sddlmaa /dev/sdq VSP_Gx00.410025.00280B
    000010 sddlmab /dev/sdr VSP_Gx00.410025.00280C
    000011 sddlmac /dev/sds VSP_Gx00.410025.00280D
    KAPL01001-I The HDLM command completed normally. Operation name = view(-vstv), completion time = yyyy/mm/dd hh:mm:ss
    #

    In the example, the name of the logical device file of the HDLM device that corresponds to /dev/sdh can be identified as sddlmaa.

  2. In the /etc/fstab file, change the logical device file name for a SCSI device to that for the HDLM device that you confirmed in step 1.

    The following is an example of editing the /etc/fstab file:

    • For FC-SAN environments

      # /dev/sdh         /mnt/sdh        ext2    defaults       0 0
      /dev/sddlmaa     /mnt/sdh        ext2    defaults       0 0
    • For IP-SAN environments

      • If the OS is Red Hat Enterprise Linux 7, 8, or 9:

        # /dev/sdh         /mnt/sdh        ext2    _netdev        0 0
        /dev/sddlmaa     /mnt/sdh        ext2    _netdev        0 0
      • If the OS is SUSE LINUX Enterprise Server 12 or 15:

        # /dev/sdh         /mnt/sdh        ext2    nofail       0 0
        /dev/sddlmaa     /mnt/sdh        ext2    nofail       0 0
    • For QLogic 8400 Series (FCoE) environments

      • If the OS is Red Hat Enterprise Linux 7:

        # /dev/sdh         /mnt/sdh        ext2    _netdev        0 0
        /dev/sddlmaa     /mnt/sdh        ext2    _netdev        0 0

    This example comments out the line for /dev/sdh (logical device file name of the SCSI device) and adds a line for /dev/sddlmaa (logical device file name of the HDLM device). For IP-SAN environments, add the line if neither _netdev nor nofail is specified for the mount option.In addition, for QLogic 8400 Series (FCoE) environments, make sure _netdev is specified for the mount option.

  3. Restart the host or manually mount the HDLM device.

    The HDLM-managed device is mounted using the logical device file name of the HDLM device.