No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Huawei SAN Storage Host Connectivity Guide for Red Hat

HUAWEI SAN Storage Host Connectivity Guide for Red Hat Servers

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Drive Letter Changes After Link Down for a Long Time

Drive Letter Changes After Link Down for a Long Time


After the link between the host and the storage system recovers from a long-time breakdown, the previously mounted drive letters are no longer available. The output of lsscsi shows that the drive letters change to new ones.

Root Cause

During the link recovery, the host deletes the original drive letters and generates new drive letters for the identified LUNs under the DEV directory. However, an error occurs and the original drive letters are not deleted. As a result, new drive letters are generated for the identified LUNs following the original drive letters. Therefore, drive letters shift backwards.


This problem can be resolved by mounting disks by UUID. Perform the following steps:

  1. Run the fdisk -l command to discover all disks.
  2. Partition and format the detected disks and create file systems for them.
  3. Run the following command to query the UUIDs of disks that you want to mount:

    SMCDB-1:/# blkid 
    /dev/sdb1: UUID="894d76a6-b175-4eb1-89e5-3fd8d146eab7" SEC_TYPE="xfs" TYPE="ext2" 
    /dev/sdc1: UUID="ef285a94-2f34-4025-baa6-d35d8fbd0a86" SEC_TYPE="xfs" TYPE="ext2"

  4. Set files on disk partitions to be automatically mounted after the system restarts.

    Modify the /etc/fstab file and add the following information to the end of this file (mount file systems sdb1 and sdc1 to directories fs1 and fs2 respectively):

    UUID=894d76a6-b175-4eb1-89e5-3fd8d146eab7 /fs1 ext3 defaults 0 0 
    UUID=ef285a94-2f34-4025-baa6-d35d8fbd0a86 /fs2 ext3 defaults 0 0

  5. Run the following command to mount the file system:

    SMCDB-1:/# mount -a

  6. Modify the system startup file to ensure the system mounts the file system after a restart as described in the /etc/fstab file.

    SMCDB-1:/# vi /etc/rc.d/rc  ####Add /bin/ mount –a to the end of the file.

    The /bin/mount -a command must be added in front of exit0.

    After removing cables, unmount the directories and mount the disks.

Updated: 2020-01-17

Document ID: EDOC1000150157

Views: 67941

Downloads: 2035

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next