VMware Cloud Community
Vincentl2
Contributor
Contributor

Rescan complete, however some dead paths were not removed because they were in use by the system.

Dear Team

I did removed VM, datastore and luns. I followed processes to unmount the datastore first ,  detach the devices and then remove the luns in SAN.

After it, i found that it has dead luns problem in my second host of HBA 2. HBA 1 is ok.

We have 3 hosts in cluster. The first and third has no issue, the dead luns is removed after rescan. But on second host, it shown below error. Anyone know how to solve it? restart host ?

[root@host2:~] esxcfg-rescan vmhba1

[root@host2:~] esxcfg-rescan vmhba2

Rescan complete, however some dead paths were not removed because they were in use by the system. Please use the 'storage core device world list' command to see   

pastedImage_0.png

Reply
0 Kudos
3 Replies
Alex_Romeo
Leadership
Leadership

Hi,

This command instructs the host to rescan a specific hba and clear any paths which are showing as dead:

esxcfg-rescan -d vmhba#

Remove dead/error storage devices

ARomeo

Blog: https://www.aleadmin.it/
Reply
0 Kudos
Vincentl2
Contributor
Contributor

Thanks to AlessandroRomeo68

But i am not sure if this command will have any impact to the system? Do you know about it?

Vincentl2
Contributor
Contributor

Hi

I tried to run the command esxcfg-rescan -d vmhba2

But i got the same message"Rescan complete, however some dead paths were not removed because they were in use by the system. Please use the 'storage core device world list' command to see the VMkernel worlds still using these paths."

This is one of the dead luns information

fc.51402ec0017c789b:51402ec0017c789a-fc.500143801139b7a0:500143801139b7a9-naa.6001438009b054710000800003220000

   UID: fc.51402ec0017c789b:51402ec0017c789a-fc.500143801139b7a0:500143801139b7a9-naa.6001438009b054710000800003220000

   Runtime Name: vmhba2:C0:T1:L17

   Device: naa.6001438009b054710000800003220000

   Device Display Name: HP Fibre Channel Disk (naa.6001438009b054710000800003220000)

   Adapter: vmhba2

   Channel: 0

   Target: 1

   LUN: 17

   Plugin: NMP

   State: dead

   Transport: fc

   Adapter Identifier: fc.51402ec0017c789b:51402ec0017c789a

   Target Identifier: fc.500143801139b7a0:500143801139b7a9

   Adapter Transport Details: Unavailable or path is unclaimed

   Target Transport Details: Unavailable or path is unclaimed

   Maximum IO Size: 33553920

Reply
0 Kudos