Hi,
I have a case where older vmfs version cannot be mounted (maintain data) in the newer ESX version. My env : ESXi 5.5.0 build-2068190, my new env : ESXi 6.7.0 U1.
Both environment connected to a netapp storage (fas 3000).
We create a flexclone from a datastore which has been used in ESX 5.5. Then the flexclone mapped to the ESX 6.7
In the web client I can see the ESXi 6.7 reads the VMFS but failed to read the metadata, so the datastore cannot be mounted without format its content.
But if the flexclone mapped to the ESX 5.5, when adding the datastore, ESX 5.5 can read the metadata by showing options like datastore resignature, maintain or format.
Need advice/inputs.
Thanks.
What's the output of the following three commands?
André
How likely is that the old Datastore uses VMFS 3.x and you have forget to upgraded it to 5.54 or so when upgrading your Hosts? On the other hand it is supportet to run a existing VMFS 3.x under ESXi 6.7 but you cant create "new" ones. Iam not sure if resignature is counted as "creating".
Did you try to mount it from the commandline with the the old "esxcfg-volume" or the newer "esxcli <iforgettherest>" to receive a more verbose feedback from the system?
Regards,
Joerg
we uses vmfs 5 since beginning.
When I try using esxcli storage core ... Lun already recognize ( match with LUN id from the fas3000).
when checking the volume, the esx 6.7 did not recognize any volume from the flexclone.
Should we used vcenter to do this? Right now we only having single standalone esx 6.7 for testing purpose.
What's the output of the following three commands?
André
Hi Andre,
here is the output
[root@lenovosr950:~] vmware -vv
VMware ESXi 6.7.0 build-10302608
[root@lenovosr950:~] ls /vmfs/devices/disks/ | grep naa.60a9800044344a76393f454e6e6f7550
naa.60a9800044344a76393f454e6e6f7550
naa.60a9800044344a76393f454e6e6f7550:1
[root@lenovosr950:~] esxcli storage core path list
*****
fc.50014380062d8235:50014380062d8234-fc.500a098088e444e3:500a098898e444e3-naa.60a9800044344a76393f454e6e6f7550
UID: fc.50014380062d8235:50014380062d8234-fc.500a098088e444e3:500a098898e444e3-naa.60a9800044344a76393f454e6e6f7550
Runtime Name: vmhba3:C0:T0:L80
Device: naa.60a9800044344a76393f454e6e6f7550
Device Display Name: NETAPP Fibre Channel Disk (naa.60a9800044344a76393f454e6e6f7550)
Adapter: vmhba3
Channel: 0
Target: 0
LUN: 80
Plugin: NMP
State: active
Transport: fc
Adapter Identifier: fc.50014380062d8235:50014380062d8234
Target Identifier: fc.500a098088e444e3:500a098898e444e3
Adapter Transport Details: WWNN: 50:01:43:80:06:2d:82:35 WWPN: 50:01:43:80:06:2d:82:34
Target Transport Details: WWNN: 50:0a:09:80:88:e4:44:e3 WWPN: 50:0a:09:88:98:e4:44:e3
Maximum IO Size: 33553920
***
[root@lenovosr950:~] partedUtil getptbl /vmfs/devices/disks/naa.60a9800044344a76393f454e6e6f7550
gpt
802048 255 63 12884901888
1 2048 12884901854 AA31E02A400F11DB9590000C2911D1B8 vmfs 0
[root@lenovosr950:~] partedUtil getptbl /vmfs/devices/disks/naa.60a9800044344a76393f454e6e6f7550:1
unknown
802047 255 63 12884899807
[root@lenovosr950:~]
[root@lenovosr950:~] esxcli storage vmfs snapshot list
557fe0db-a36b91ef-5eae-0025b5011a00
Volume Name: C1_SAP_DS_BACKUP
VMFS UUID: 557fe0db-a36b91ef-5eae-0025b5011a00
Can mount: true
Reason for un-mountability:
Can resignature: true
Reason for non-resignaturability:
Unresolved Extent Count: 1
5c1efa29-d4ce0eaf-a98a-0025b5011a00
Volume Name: DC_C1_SAP_DS_DATA_PRD4
VMFS UUID: 5c1efa29-d4ce0eaf-a98a-0025b5011a00
Can mount: true
Reason for un-mountability:
Can resignature: true
Reason for non-resignaturability:
Unresolved Extent Count: 1
562d4dd9-afee6eee-b380-0025b5011a0c
Volume Name: snap-51babb1a-DC_C2_SAP_DS_DATA_PRD
VMFS UUID: 562d4dd9-afee6eee-b380-0025b5011a0c
Can mount: true
Reason for un-mountability:
Can resignature: true
Reason for non-resignaturability:
Unresolved Extent Count: 1
562d4dd9-518af155-996c-0025b5011a04
Volume Name: snap-3683e33a-DC_C2_SAP_DS_LOG_PRD
VMFS UUID: 562d4dd9-518af155-996c-0025b5011a04
Can mount: true
Reason for un-mountability:
Can resignature: true
Reason for non-resignaturability:
Unresolved Extent Count: 1
562d4dd9-7b243472-6012-0025b5011a08
Volume Name: snap-405f040b-DC_C2_SAP_DS_OS_PRD
VMFS UUID: 562d4dd9-7b243472-6012-0025b5011a08
Can mount: true
Reason for un-mountability:
Can resignature: true
Reason for non-resignaturability:
Unresolved Extent Count: 1
59def023-3bcd87ea-a795-0025b5011a0c
Volume Name: DC_C2_SAP_DS_DATA_PRD2
VMFS UUID: 59def023-3bcd87ea-a795-0025b5011a0c
Can mount: true
Reason for un-mountability:
Can resignature: true
Reason for non-resignaturability:
Unresolved Extent Count: 1
[root@lenovosr950:~]
[root@lenovosr950:~] offset="128 2048"; for dev in `esxcfg-scsidevs -l | grep "Console Device:" | awk {'print $3'}`; do disk=$dev; echo $disk; partedUtil getptbl $disk;
{ for i in `echo $offset`; do echo "Checking offset found at $i:"; hexdump -n4 -s $((0x100000+(512*$i))) $disk; hexdump -n4 -s $((0x1300000+(512*$i))) $disk; hexdump -
C -n 128 -s $((0x130001d + (512*$i))) $disk; done; } | grep -B 1 -A 5 d00d; echo "---------------------"; done
/vmfs/devices/genscsi/naa.5001438027190d01
Warning: Could not determine sector size for /dev/genscsi/naa.5001438027190d01: Function not implemented.
Using the default sector size (512).
A bug has been detected in GNU Parted. Refer to the web site of parted http://www.gnu.org/software/parted/parted.html for more information of what could be useful for bug submitting! Please email a bug report to bug-parted@gnu.org containing at least the version (2.4.62-ce5e-dirty) and the following message: Unable to determine the size of /dev/genscsi/naa.5001438027190d01 (Function not implemented).
Unable to get device /vmfs/devices/genscsi/naa.5001438027190d01
---------------------
/vmfs/devices/disks/naa.600062b202c7684023cf17f9b809aed5
gpt
48508 255 63 779296768
1 64 8191 C12A7328F81F11D2BA4B00A0C93EC93B systemPartition 128
5 8224 520191 EBD0A0A2B9E5443387C068B6B72699C7 linuxNative 0
6 520224 1032191 EBD0A0A2B9E5443387C068B6B72699C7 linuxNative 0
7 1032224 1257471 9D27538040AD11DBBF97000C2911D1B8 vmkDiagnostic 0
8 1257504 1843199 EBD0A0A2B9E5443387C068B6B72699C7 linuxNative 0
9 1843200 7086079 9D27538040AD11DBBF97000C2911D1B8 vmkDiagnostic 0
2 7086080 15472639 EBD0A0A2B9E5443387C068B6B72699C7 linuxNative 0
3 15472640 779296734 AA31E02A400F11DB9590000C2911D1B8 vmfs 0
---------------------
/vmfs/devices/disks/naa.60a9800044344734735d454e4d716c70
gpt
267349 255 63 4294967296
1 2048 4294967262 AA31E02A400F11DB9590000C2911D1B8 vmfs 0
Checking offset found at 2048:
0200000 d00d c001
0200004
1400000 f15e 2fab
1400004
0140001d 44 43 5f 43 31 5f 53 41 50 5f 44 53 5f 44 41 54 |DC_C1_SAP_DS_DAT|
0140002d 41 5f 50 52 44 34 00 00 00 00 00 00 00 00 00 00 |A_PRD4..........|
---------------------
/vmfs/devices/disks/naa.60a9800044344734735d454e4d716c71
gpt
802048 255 63 12884901888
1 2048 12884901854 AA31E02A400F11DB9590000C2911D1B8 vmfs 0
Checking offset found at 2048:
0200000 d00d c001
0200004
1400000 f15e 2fab
1400004
0140001d 43 31 5f 53 41 50 5f 44 53 5f 42 41 43 4b 55 50 |C1_SAP_DS_BACKUP|
0140002d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
---------------------
/vmfs/devices/disks/naa.60a9800044344a76393f454e6e6f754f
gpt
13054 255 63 209715200
1 2048 209713152 AA31E02A400F11DB9590000C2911D1B8 vmfs 0
Checking offset found at 2048:
0200000 d00d c001
0200004
1400000 f15e 2fab
1400004
0140001d 54 45 53 54 5f 50 49 4c 4f 54 49 4e 47 00 00 00 |TEST_PILOTING...|
0140002d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
---------------------
/vmfs/devices/disks/naa.60a9800044344a76393f454e6e6f7550
gpt
802048 255 63 12884901888
1 2048 12884901854 AA31E02A400F11DB9590000C2911D1B8 vmfs 0
Checking offset found at 2048:
0200000 d00d c001
0200004
1400000 f15e 2fab
1400004
0140001d 73 6e 61 70 2d 34 30 35 66 30 34 30 62 2d 44 43 |snap-405f040b-DC|
0140002d 5f 43 32 5f 53 41 50 5f 44 53 5f 4f 53 5f 50 52 |_C2_SAP_DS_OS_PR|
---------------------
/vmfs/devices/disks/naa.60a9800044344a76393f454e6e6f7551
gpt
267349 255 63 4294967296
1 2048 4294967262 AA31E02A400F11DB9590000C2911D1B8 vmfs 0
Checking offset found at 2048:
0200000 d00d c001
0200004
1400000 f15e 2fab
1400004
0140001d 73 6e 61 70 2d 33 36 38 33 65 33 33 61 2d 44 43 |snap-3683e33a-DC|
0140002d 5f 43 32 5f 53 41 50 5f 44 53 5f 4c 4f 47 5f 50 |_C2_SAP_DS_LOG_P|
---------------------
/vmfs/devices/disks/naa.60a9800044344a76393f454e6e6f7552
gpt
668373 255 63 10737418240
1 2048 10737418206 AA31E02A400F11DB9590000C2911D1B8 vmfs 0
Checking offset found at 2048:
0200000 d00d c001
0200004
1400000 f15e 2fab
1400004
0140001d 73 6e 61 70 2d 35 31 62 61 62 62 31 61 2d 44 43 |snap-51babb1a-DC|
0140002d 5f 43 32 5f 53 41 50 5f 44 53 5f 44 41 54 41 5f |_C2_SAP_DS_DATA_|
---------------------
/vmfs/devices/disks/naa.60a9800044344a76393f454e6e6f7553
gpt
267349 255 63 4294967296
1 2048 4294967262 AA31E02A400F11DB9590000C2911D1B8 vmfs 0
Checking offset found at 2048:
0200000 d00d c001
0200004
1400000 f15e 2fab
1400004
0140001d 44 43 5f 43 32 5f 53 41 50 5f 44 53 5f 44 41 54 |DC_C2_SAP_DS_DAT|
0140002d 41 5f 50 52 44 32 00 00 00 00 00 00 00 00 00 00 |A_PRD2..........|
---------------------
[root@lenovosr950:~]
[root@lenovosr950:~] partedUtil getUsableSectors /vmfs/devices/disks/naa.60a9800044344a76393f454e6e6f7550
34 12884901854
datastore name LUN id 80 -> snap-405f040b-DC_C2_SAP_DS_OS_PRD
Hi Andre,
It working
[root@lenovosr950:~] esxcfg-volume -M 557fe0db-a36b91ef-5eae-0025b5011a00
Persistently mounting volume 557fe0db-a36b91ef-5eae-0025b5011a00
It took a while for "esxcli storage vmfs snapshot list" output command
from the webgui, datastore already shown perfectly.
Thanks.