Got it

LUN Information Fails to Be Updated After LUN Replacement

104 0 0 0 0

Symptom

After a LUN is replaced (the new LUN uses the same host ID as the original LUN), the information about the new LUN cannot be updated.

Root Cause

The LUN is not updated on the host.

Solution

Perform the following operations to remove or change the mapping of a LUN used by Red Hat hosts:

  1. Before removing or changing LUN mapping on the storage system, stop all services running on the disk mapped by the LUN.

  2. On DeviceManager, unmap the LUN.

  3. Scan for LUNs on the host.

  4. Run the multipath –ll command on the host. Find and record the name of the multipath disk (mpathX) corresponding to the unmapped LUN and the physical path (sdX).

  5. Run the multipath -f mpathX command to delete the multipath disk identified in 4.

  6. Run the echo 1 > /sys/block/sdX/device/delete command to delete the physical path identified in 4.

  7. On DeviceManager, map a new LUN to the host.

  8. Scan for LUNs on the host and reconfigure services.

Comment

You need to log in to comment to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.