VMware Cloud Community
imrazor
Enthusiast
Enthusiast

Datastore not available after migrating SATA hard drive to SAS controller

I have recently acquired a new Ryzen desktop based on the X370 chipset and its associated SATA controller. I was having problems in high I/O scenarios, so I tried to use an old SAS controller I had (Dell SAS 6/ir.) I attached my SATA hard drive to the SAS controller and it booted off the SATA hard drive fine. However, after booting the datastore was not available. The SAS HBA and the hard drive was visible, and I could view the partition layout of the drive. But nothing I did would allow me to access the old datastore. I eventually reconnected to the motherboard's onboard SATA controller, and my old VMs and datastore were once again available.

The fact that I can boot indicates that ESXi can access the hard drive, but something is preventing it from seeing the datastore after booting. Or maybe I'm missing a step in adding the datastore. Any suggestions?

Tags (4)
6 Replies
Pollard
Enthusiast
Enthusiast

Have the same issue every find a solution?

Reply
0 Kudos
IRIX201110141
Champion
Champion

Show us a "esxcfg-volume -l" after you have boot ESXi and missing your Datastore.

Regards,
Joerg

Reply
0 Kudos
a_p_
Leadership
Leadership

This is most likely caused by the fact that ESXi detects an already known datastore on another controller.

In such cases the datastore  will be detected as a Snapshot LUN. Please follow the steps in the "Command line" section fo https://kb.vmware.com/s/article/1011387, which should allow you to persistently mount the datastore again.

André

Pollard
Enthusiast
Enthusiast

BEFORE

[root@localhost:~] esxcli storage nmp device list

t10.ATA_____Samsung_SSD_860_EVO_500GB_______________S598NE0MA19023X_____

   Device Display Name: Local ATA Disk (t10.ATA_____Samsung_SSD_860_EVO_500GB___                                                                                                                                                                  ____________S598NE0MA19023X_____)

   Storage Array Type: VMW_SATP_LOCAL

   Storage Array Type Device Config: SATP VMW_SATP_LOCAL does not support device                                                                                                                                                                   configuration.

   Path Selection Policy: VMW_PSP_FIXED

   Path Selection Policy Device Config: {preferred=vmhba2:C0:T1:L0;current=vmhba                                                                                                                                                                  2:C0:T1:L0}

   Path Selection Policy Device Custom Config:

   Working Paths: vmhba2:C0:T1:L0

   Is USB: false

t10.ATA_____WDC_WD1003FBYX2D01Y7B1________________________WD2DWCAW33731585

   Device Display Name: Local ATA Disk (t10.ATA_____WDC_WD1003FBYX2D01Y7B1______                                                                                                                                                                  __________________WD2DWCAW33731585)

   Storage Array Type: VMW_SATP_LOCAL

   Storage Array Type Device Config: SATP VMW_SATP_LOCAL does not support device                                                                                                                                                                   configuration.

   Path Selection Policy: VMW_PSP_FIXED

   Path Selection Policy Device Config: {preferred=vmhba0:C0:T5:L0;current=vmhba                                                                                                                                                                  0:C0:T5:L0}

   Path Selection Policy Device Custom Config:

   Working Paths: vmhba0:C0:T5:L0

   Is USB: false

t10.ATA_____Samsung_SSD_860_EVO_500GB_______________S598NE0M870376J_____

   Device Display Name: Local ATA Disk (t10.ATA_____Samsung_SSD_860_EVO_500GB___                                                                                                                                                                  ____________S598NE0M870376J_____)

   Storage Array Type: VMW_SATP_LOCAL

   Storage Array Type Device Config: SATP VMW_SATP_LOCAL does not support device                                                                                                                                                                   configuration.

   Path Selection Policy: VMW_PSP_FIXED

   Path Selection Policy Device Config: {preferred=vmhba2:C0:T0:L0;current=vmhba                                                                                                                                                                  2:C0:T0:L0}

   Path Selection Policy Device Custom Config:

   Working Paths: vmhba2:C0:T0:L0

   Is USB: false

t10.ATA_____WDC_WD1001FALS2D00J7B0________________________WD2DWMATV0409523

   Device Display Name: Local ATA Disk (t10.ATA_____WDC_WD1001FALS2D00J7B0______                                                                                                                                                                  __________________WD2DWMATV0409523)

   Storage Array Type: VMW_SATP_LOCAL

   Storage Array Type Device Config: SATP VMW_SATP_LOCAL does not support device                                                                                                                                                                   configuration.

   Path Selection Policy: VMW_PSP_FIXED

   Path Selection Policy Device Config: {preferred=vmhba0:C0:T4:L0;current=vmhba                                                                                                                                                                  0:C0:T4:L0}

   Path Selection Policy Device Custom Config:

   Working Paths: vmhba0:C0:T4:L0

   Is USB: false

t10.ATA_____WDC_WD30EFRX2D68EUZN0_________________________WD2DWCC4N6DVYS7H

   Device Display Name: Local ATA Disk (t10.ATA_____WDC_WD30EFRX2D68EUZN0_______                                                                                                                                                                  __________________WD2DWCC4N6DVYS7H)

   Storage Array Type: VMW_SATP_LOCAL

   Storage Array Type Device Config: SATP VMW_SATP_LOCAL does not support device                                                                                                                                                                   configuration.

   Path Selection Policy: VMW_PSP_FIXED

   Path Selection Policy Device Config: {preferred=vmhba0:C0:T3:L0;current=vmhba                                                                                                                                                                  0:C0:T3:L0}

   Path Selection Policy Device Custom Config:

   Working Paths: vmhba0:C0:T3:L0

   Is USB: false

t10.ATA_____WDC_WD30EFRX2D68AX9N0_________________________WD2DWMC1T3457648

   Device Display Name: Local ATA Disk (t10.ATA_____WDC_WD30EFRX2D68AX9N0_______                                                                                                                                                                  __________________WD2DWMC1T3457648)

   Storage Array Type: VMW_SATP_LOCAL

   Storage Array Type Device Config: SATP VMW_SATP_LOCAL does not support device                                                                                                                                                                   configuration.

   Path Selection Policy: VMW_PSP_FIXED

   Path Selection Policy Device Config: {preferred=vmhba0:C0:T2:L0;current=vmhba                                                                                                                                                                  0:C0:T2:L0}

   Path Selection Policy Device Custom Config:

   Working Paths: vmhba0:C0:T2:L0

   Is USB: false

mpx.vmhba2:C0:T7:L0

   Device Display Name: Local Marvell Processor (mpx.vmhba2:C0:T7:L0)

   Storage Array Type: VMW_SATP_LOCAL

   Storage Array Type Device Config: SATP VMW_SATP_LOCAL does not support device                                                                                                                                                                   configuration.

   Path Selection Policy: VMW_PSP_FIXED

   Path Selection Policy Device Config: {preferred=vmhba2:C0:T7:L0;current=vmhba                                                                                                                                                                  2:C0:T7:L0}

   Path Selection Policy Device Custom Config:

   Working Paths: vmhba2:C0:T7:L0

   Is USB: false

[root@localhost:~]




AFTER



[root@localhost:~] esxcli storage nmp device list

naa.5002538e0987c7b8

   Device Display Name: Local ATA Disk (naa.5002538e0987c7b8)

   Storage Array Type: VMW_SATP_LOCAL

   Storage Array Type Device Config: SATP VMW_SATP_LOCAL does not support device                                     configuration.

   Path Selection Policy: VMW_PSP_FIXED

   Path Selection Policy Device Config: {preferred=vmhba3:C0:T1:L0;current=vmhba                                    3:C0:T1:L0}

   Path Selection Policy Device Custom Config:

   Working Paths: vmhba3:C0:T1:L0

   Is USB: false

t10.ATA_____WDC_WD1003FBYX2D01Y7B1________________________WD2DWCAW33731585

   Device Display Name: Local ATA Disk (t10.ATA_____WDC_WD1003FBYX2D01Y7B1______                                    __________________WD2DWCAW33731585)

   Storage Array Type: VMW_SATP_LOCAL

   Storage Array Type Device Config: SATP VMW_SATP_LOCAL does not support device                                     configuration.

   Path Selection Policy: VMW_PSP_FIXED

   Path Selection Policy Device Config: {preferred=vmhba0:C0:T5:L0;current=vmhba                                    0:C0:T5:L0}

   Path Selection Policy Device Custom Config:

   Working Paths: vmhba0:C0:T5:L0

   Is USB: false

t10.ATA_____WDC_WD1001FALS2D00J7B0________________________WD2DWMATV0409523

   Device Display Name: Local ATA Disk (t10.ATA_____WDC_WD1001FALS2D00J7B0______                                    __________________WD2DWMATV0409523)

   Storage Array Type: VMW_SATP_LOCAL

   Storage Array Type Device Config: SATP VMW_SATP_LOCAL does not support device                                     configuration.

   Path Selection Policy: VMW_PSP_FIXED

   Path Selection Policy Device Config: {preferred=vmhba0:C0:T4:L0;current=vmhba                                    0:C0:T4:L0}

   Path Selection Policy Device Custom Config:

   Working Paths: vmhba0:C0:T4:L0

   Is USB: false

t10.ATA_____WDC_WD30EFRX2D68EUZN0_________________________WD2DWCC4N6DVYS7H

   Device Display Name: Local ATA Disk (t10.ATA_____WDC_WD30EFRX2D68EUZN0_______                                    __________________WD2DWCC4N6DVYS7H)

   Storage Array Type: VMW_SATP_LOCAL

   Storage Array Type Device Config: SATP VMW_SATP_LOCAL does not support device                                     configuration.

   Path Selection Policy: VMW_PSP_FIXED

   Path Selection Policy Device Config: {preferred=vmhba0:C0:T3:L0;current=vmhba                                    0:C0:T3:L0}

   Path Selection Policy Device Custom Config:

   Working Paths: vmhba0:C0:T3:L0

   Is USB: false

t10.ATA_____WDC_WD30EFRX2D68AX9N0_________________________WD2DWMC1T3457648

   Device Display Name: Local ATA Disk (t10.ATA_____WDC_WD30EFRX2D68AX9N0_______                                    __________________WD2DWMC1T3457648)

   Storage Array Type: VMW_SATP_LOCAL

   Storage Array Type Device Config: SATP VMW_SATP_LOCAL does not support device                                     configuration.

   Path Selection Policy: VMW_PSP_FIXED

   Path Selection Policy Device Config: {preferred=vmhba0:C0:T2:L0;current=vmhba                                    0:C0:T2:L0}

   Path Selection Policy Device Custom Config:

   Working Paths: vmhba0:C0:T2:L0

   Is USB: false

mpx.vmhba2:C0:T7:L0

   Device Display Name: Local Marvell Processor (mpx.vmhba2:C0:T7:L0)

   Storage Array Type: VMW_SATP_LOCAL

   Storage Array Type Device Config: SATP VMW_SATP_LOCAL does not support device                                     configuration.

   Path Selection Policy: VMW_PSP_FIXED

   Path Selection Policy Device Config: {preferred=vmhba2:C0:T7:L0;current=vmhba                                    2:C0:T7:L0}

   Path Selection Policy Device Custom Config:

   Working Paths: vmhba2:C0:T7:L0

   Is USB: false

naa.5002538e09a5b145

   Device Display Name: Local ATA Disk (naa.5002538e09a5b145)

   Storage Array Type: VMW_SATP_LOCAL

   Storage Array Type Device Config: SATP VMW_SATP_LOCAL does not support device                                     configuration.

   Path Selection Policy: VMW_PSP_FIXED

   Path Selection Policy Device Config: {preferred=vmhba3:C0:T0:L0;current=vmhba                                    3:C0:T0:L0}

   Path Selection Policy Device Custom Config:

   Working Paths: vmhba3:C0:T0:L0

   Is USB: false



Reply
0 Kudos
Pollard
Enthusiast
Enthusiast

You might be right

[root@localhost:~] esxcli storage vmfs snapshot list

5de02723-f5fbeed7-0db2-d05099c1959d

   Volume Name: datastore1

   VMFS UUID: 5de02723-f5fbeed7-0db2-d05099c1959d

   Can mount: true

   Reason for un-mountability:

   Can resignature: true

   Reason for non-resignaturability:

   Unresolved Extent Count: 1

5dfd3627-a0ad262b-bf8e-d05099c1959d

   Volume Name: datastore2

   VMFS UUID: 5dfd3627-a0ad262b-bf8e-d05099c1959d

   Can mount: true

   Reason for un-mountability:

   Can resignature: true

   Reason for non-resignaturability:

   Unresolved Extent Count: 1

Reply
0 Kudos
Pollard
Enthusiast
Enthusiast

That worked thankyou!!!

Reply
0 Kudos