Dear continuum, your investigation give me some idea and i check it out.
I booted Microserver from your moa64dvd.iso, export /dev/sda over iscsi, connect to this target from temporary ESXi (nested, to be clean, running in VM on my laptop) and do some testing.
Datastore is still not able to mount, but some things has changed:
voma:
voma -m vmfs -d /vmfs/devices/disks/t10.9454450000000000EE8FCFE0BB7DC8AD5ECB14B22BC42643:1
Checking if device is actively used by other hosts
Running VMFS Checker version 1.0 in default mode
Initializing LVM metadata, Basic Checks will be done
ON-DISK ERROR: Invalid device Size 5991473859584, should be 5991472811520
Phase 1: Checking VMFS header and resource files
Detected VMFS file system (labeled:'STORE') with UUID:4f2ac538-58c181cf-aeff-441ea13ee615, Version 5:54
Phase 2: Checking VMFS heartbeat region
Phase 3: Checking all file descriptors.
<FD c479 r13> : Wrong Epoch Block Count 2 should be 4
<FD c479 r107> : Wrong Epoch Block Count 275590 should be 1629684
<FD c479 r124> : Wrong Epoch Block Count 65 should be 23019
<FD c479 r183> : Wrong Epoch Block Count 15495 should be 34798
Phase 4: Checking pathname and connectivity.
Phase 5: Checking resource reference counts.
Total Errors Found: 1
vmkernel.log:
WARNING: LVM: 2900: [t10.9454450000000000EE8FCFE0BB7DC8AD5ECB14B22BC42643:1] Device shrank (actual size 11702095335 blocks, stored size 11702097382 blocks)
partedUtil:
partedUtil getptbl /vmfs/devices/disks/t10.9454450000000000EE8FCFE0BB7DC8AD5ECB14B22BC42643
gpt
728422 255 63 11702108160
1 2048 11702097382 AA31E02A400F11DB9590000C2911D1B8 vmfs 0
hexdump:
hexdump -C /vmfs/devices/disks/t10.9454450000000000EE8FCFE0BB7DC8AD5ECB14B22BC42643 | grep -m 1 "0d d0 01 c0"
00200000 0d d0 01 c0 05 00 00 00 15 00 00 00 00 0a 00 00 |................|
This mean i need to use actual size 11702095335 blocks in partedUtil setptbl command? Or it can be dangerous?