Creating a Datastore on VMware ESXi 6.7U3 USB Boot Drive

Before:

Before
after
after
Datastore on ESXi 6.7U3 USB Boot Drive
Reference:
https://darkglade.com/2019/07/05/building-a-datastore-on-your-esxi-boot-usb/


ls /dev/disks/

mpx.vmhba32:C0:T0:L0
mpx.vmhba32:C0:T0:L0:1
mpx.vmhba32:C0:T0:L0:5
mpx.vmhba32:C0:T0:L0:6
mpx.vmhba32:C0:T0:L0:7
mpx.vmhba32:C0:T0:L0:8
mpx.vmhba32:C0:T0:L0:9
t10.ATA_____HGST_HTS725050A7E630__________________________RCF50ACE2LM7ZM
t10.ATA_____HGST_HTS725050A7E630__________________________RCF50ACE2LM7ZM:1
t10.ATA_____HGST_HTS725050A7E630__________________________RCF50ACE2LM7ZM:2
t10.ATA_____HGST_HTS725050A7E630__________________________RCF50ACE2LM7ZM:3
t10.ATA_____HGST_HTS725050A7E630__________________________RCF50ACE2LM7ZM:4
t10.ATA_____HGST_HTS725050A7E630__________________________RCF50ACE2LM7ZM:5
t10.NVMe____SAMSUNG_MZVPW256HEGL2D00000______________77B30061CB382500
t10.NVMe____SAMSUNG_MZVPW256HEGL2D00000______________77B30061CB382500:1
t10.NVMe____SAMSUNG_MZVPW256HEGL2D00000______________77B30061CB382500:2
t10.NVMe____SAMSUNG_MZVPW256HEGL2D00000______________77B30061CB382500:3
t10.NVMe____SAMSUNG_MZVPW256HEGL2D00000______________77B30061CB382500:4
t10.NVMe____SAMSUNG_MZVPW256HEGL2D00000______________77B30061CB382500:5
vml.0000000000766d68626133323a303a30
vml.0000000000766d68626133323a303a30:1
vml.0000000000766d68626133323a303a30:5
vml.0000000000766d68626133323a303a30:6
vml.0000000000766d68626133323a303a30:7
vml.0000000000766d68626133323a303a30:8
vml.0000000000766d68626133323a303a30:9
vml.01000000002020202020205243463530414345324c4d375a4d484753542048
vml.01000000002020202020205243463530414345324c4d375a4d484753542048:1
vml.01000000002020202020205243463530414345324c4d375a4d484753542048:2
vml.01000000002020202020205243463530414345324c4d375a4d484753542048:3
vml.01000000002020202020205243463530414345324c4d375a4d484753542048:4
vml.01000000002020202020205243463530414345324c4d375a4d484753542048:5
vml.0100000000373742335f303036315f434233385f323530300053414d53554e
vml.0100000000373742335f303036315f434233385f323530300053414d53554e:1
vml.0100000000373742335f303036315f434233385f323530300053414d53554e:2
vml.0100000000373742335f303036315f434233385f323530300053414d53554e:3
vml.0100000000373742335f303036315f434233385f323530300053414d53554e:4
vml.0100000000373742335f303036315f434233385f323530300053414d53554e:5



[root@HP-800-G2-Mini:~] partedUtil getptbl /dev/disks/vml.0000000000766d68626133323a303a30
gpt
3773 255 63 60628992
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


[root@HP-800-G2-Mini:~] partedUtil add /dev/disks/vml.0000000000766d68626133323a303a30 gpt "2 7086080 60628992 AA31E02A400F11DB9590000C2911D1B8 0"
gpt
3773 255 63 60628992
1 64 8191 C12A7328F81F11D2BA4B00A0C93EC93B 128
5 8224 520191 EBD0A0A2B9E5443387C068B6B72699C7 0
6 520224 1032191 EBD0A0A2B9E5443387C068B6B72699C7 0
7 1032224 1257471 9D27538040AD11DBBF97000C2911D1B8 0
8 1257504 1843199 EBD0A0A2B9E5443387C068B6B72699C7 0
9 1843200 7086079 9D27538040AD11DBBF97000C2911D1B8 0
2 7086080 60628992 AA31E02A400F11DB9590000C2911D1B8 0
Error: Can't have a partition outside the disk!
AddNewPartitions: ped_partition_new failed



[root@HP-800-G2-Mini:~] partedUtil setptbl /dev/disks/vml.0000000000766d68626133323a303a30 gpt "2 7086080 60628991 AA31E02A400F11DB9590000C2911D1B8 0"
gpt
0 0 0 0
2 7086080 60628991 AA31E02A400F11DB9590000C2911D1B8 0
Error: Unable to satisfy all constraints on the partition.



[root@HP-800-G2-Mini:~] partedUtil add /dev/disks/vml.0000000000766d68626133323a303a30 gpt "2 7086081 60628000 AA31E02A400F11DB9590000C2911D1B8 0"
gpt
3773 255 63 60628992
1 64 8191 C12A7328F81F11D2BA4B00A0C93EC93B 128
5 8224 520191 EBD0A0A2B9E5443387C068B6B72699C7 0
6 520224 1032191 EBD0A0A2B9E5443387C068B6B72699C7 0
7 1032224 1257471 9D27538040AD11DBBF97000C2911D1B8 0
8 1257504 1843199 EBD0A0A2B9E5443387C068B6B72699C7 0
9 1843200 7086079 9D27538040AD11DBBF97000C2911D1B8 0
2 7086081 60628000 AA31E02A400F11DB9590000C2911D1B8 0

[root@HP-800-G2-Mini:~] partedUtil getptbl /dev/disks/vml.0000000000766d68626133323a303a30
gpt
3773 255 63 60628992
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 7086081 60628000 AA31E02A400F11DB9590000C2911D1B8 vmfs 0

[root@HP-800-G2-Mini:~] partedUtil resize /dev/disks/vml.0000000000766d68626133323a303a30 2 7086081 60628900


[root@HP-800-G2-Mini:~] partedUtil resize /dev/disks/vml.0000000000766d68626133323a303a30 2 7086081 60628950

[root@HP-800-G2-Mini:~] partedUtil resize /dev/disks/vml.0000000000766d68626133323a303a30 2 7086081 60628960
Error: Unable to satisfy all constraints on the partition.
Error: Can't have overlapping partitions.
Disk set partition failed

[root@HP-800-G2-Mini:~] partedUtil resize /dev/disks/vml.0000000000766d68626133323a303a30 2 7086081 60628955
[root@HP-800-G2-Mini:~] partedUtil resize /dev/disks/vml.0000000000766d68626133323a303a30 2 7086081 60628956
[root@HP-800-G2-Mini:~] partedUtil resize /dev/disks/vml.0000000000766d68626133323a303a30 2 7086081 60628957
[root@HP-800-G2-Mini:~] partedUtil resize /dev/disks/vml.0000000000766d68626133323a303a30 2 7086081 60628958
[root@HP-800-G2-Mini:~] partedUtil resize /dev/disks/vml.0000000000766d68626133323a303a30 2 7086081 60628959
Error: Unable to satisfy all constraints on the partition.
Error: Can't have overlapping partitions.
Disk set partition failed

[root@HP-800-G2-Mini:~] vmkfstools -C vmfs6 -S USB_Boot_Disk_DS /dev/disks/vml.0000000000766d68626133323a303a30:2
create fs deviceName:'/dev/disks/vml.0000000000766d68626133323a303a30:2', fsShortName:'vmfs6', fsName:'USB_Boot_Disk_DS'
deviceFullPath:/dev/disks/mpx.vmhba32:C0:T0:L0:2 deviceFile:mpx.vmhba32:C0:T0:L0:2
ATS on device /dev/disks/mpx.vmhba32:C0:T0:L0:2: not supported
.
Checking if remote hosts are using this device as a valid file system. This may take a few seconds...
Creating vmfs6 file system on "mpx.vmhba32:C0:T0:L0:2" with blockSize 1048576, unmapGranularity 1048576, unmapPriority default and volume label "USB_Boot_Disk_DS".
Successfully created new volume: 5e20d2e8-aa494052-eb0e-ecb1d76ed597
[root@HP-800-G2-Mini:~]

ASRock Fatal1ty Z170 Gaming-ITXac Motherboard + Intel i7-6700 + Samsung 950 PRO -Series 512GB PCIe NVMe – M.2 Internal SSD MZ-V5P512BW

ASRock Fatal1ty Z170 Gaming-ITXac Motherboard  +  Intel i7-6700  +

Samsung 950 PRO -Series 512GB PCIe NVMe – M.2 Internal SSD MZ-V5P512BW

ASRock Z170 Gaming-ITXac LGA 1151 Intel Z170 SATA 6Gbps USB 3.1 USB 3.0 Mini ITX Intel Motherboard 3

ASRock Z170 Gaming-ITXac LGA 1151 Intel Z170 SATA 6Gbps USB 3.1 USB 3.0 Mini ITX Intel Motherboard 2

ASRock Z170 Gaming-ITXac LGA 1151 Intel Z170 SATA 6Gbps USB 3.1 USB 3.0 Mini ITX Intel Motherboard 4

 

Samsung 950 PRO -Series 512GB PCIe NVMe - M.2 Internal SSD 2-Inch MZ-V5P512BW

 

ASRock Fatal1ty Z170 Gaming-ITXac Motherboard

Samsung 950 NVMe M.2 SSD 512GB on ASRock Fatal1ty Z170 Gaming-ITXac Motherboard M.2 Slot ATTO Disk Benchmark

Samsung 950 NVMe M.2 SSD 512GB on ASRock Fatal1ty Z170 Gaming-ITXac Motherboard M.2 Slot Crystal Disk Mark Benchmark

Samsung 950 NVMe M.2 SSD 512GB on ASRock Fatal1ty Z170 Gaming-ITXac Motherboard M.2 Slot Samsung Magican Performance Testing

ASUS MAXIMUS V GENE ROG Motherboard + i7-3770 + Samsung NVMe SSD 950 M.2 MZ-V5P512BW + PCI 3.0 x 4 to M.2 Adapter Benchmark

My 3+ years old Desktop PC with fastest SSD

ASUS MAXIMUS V GENE ROG Motherboard + Intel i7-3770 CPU + Samsung NVMe SSD 950 M.2 MZ-V5P512BW + PCI 3.0 x 4 to M.2 Adapter Benchmark

 

ASUS Maximus V GENE 1

WBTUO Desktop PCI-E X4 to Key B M.2 (NGFF) SSD + Key M NGFF (M.2) SSD Q13020

Samsung 950 PRO -Series 512GB PCIe NVMe - M.2 Internal SSD 2-Inch MZ-V5P512BW

Samsung 950 PRO -Series 512GB PCIe NVMe - M.2 Internal SSD 2-Inch MZ-V5P512BW on PCI Express 3.0 X 4 Adapter small size

ASUS MAXIMUS V GENE ROG Motherboard + i7-3770 + Samsung NVMe SSD 950 M.2 + PCI 3.0 x 4 Adapter

PCI 3.0 x 4  to M.2 Adapter installed in  PCI Express 2.0 x4 slot [black]

PCI Express 2.0 x4 slot [black] cause Samsung NVMe SSD 950 M.2 MZ-V5P512BW bandwidth bottleneck

ASUS MAXIMUS V GENE ROG Motherboard + i7-3770 + Samsung NVMe SSD 950 M.2 + PCI 3.0 x 4 Adapter ATTO Benchmark

Samsung 512GB M.2 NVMe SSD on ASUS Maximus-V-Gene-ROG + PCIe X 4 Adapter Crystal Disk Benchmark

PCI 3.0 x 4  to M.2 Adapter installed in  PCI Express 3.0 x8 slot [RED]

Samsung NVMe SSD 950 M.2 MZ-V5P512BW got full performance

ASUS MAXIMUS V GENE ROG Motherboard + i7-3770 + Samsung NVMe SSD 950 M.2 + PCI 3.0 x 4 Adapter ATTO Benchmark on PCI Express V3.0 slot

Samsung 512GB M.2 NVMe SSD on ASUS Maximus-V-Gene-ROG + PCIe X 4 Adapter on PCI Express V3.0 slot Crystal Disk Benchmark

Samsung 512GB M.2 NVMe SSD on ASUS Maximus-V-Gene-ROG + PCIe X 4 Adapter  on PCI Express V3.0 slot  Samsung Magician  Benchmark  2

Windows Server 2016 Technical Preview 4 Container

Windows Server 2016 Technical Preview 4 ContainerWindows 2016 R2 TP4 Container Image 1

Windows 2016 R2 TP4 Container Image 2

Windows 2016 R2 TP4 Container Image 3

Windows 2016 R2 TP4 Container Image 4

Windows 2016 R2 TP4 Container Image 5

Windows 2016 R2 TP4 Container Image 6

Windows 2016 R2 TP4 Container Image 8

Windows 2016 R2 TP4 Container Image 8

Windows 2016 R2 TP4 Container Image 9

Windows 2016 R2 TP4 Container Image 10

Windows 2016 R2 TP4 Container Image 11

Windows 2016 R2 TP4 Container Image 12

Windows 2016 R2 TP4 Container Image 13

Windows 2016 R2 TP4 Container Image 14

Windows PowerShell
Copyright (C) 2015 Microsoft Corporation. All rights reserved.

PS C:\Users\Administrator> Import-Module D:\NanoServer\NanoServerImageGenerator.psm1
PS C:\Users\Administrator> $WindowsMedia = “F:\”
PS C:\Users\Administrator> New-NanoServerImage -MediaPath $WindowsMedia -BasePath D:\NanoServer -TargetPath D:\NanoServe
r\NanoContainer.vhdx -MaxSize 10GB -GuestDrivers -ReverseForwarders -Compute -Containers

cmdlet New-NanoServerImage at command pipeline position 1
Supply values for the following parameters:
AdministratorPassword: ********

Windows(R) Image to Virtual Hard Disk Converter for Windows(R) 10
Copyright (C) Microsoft Corporation. All rights reserved.
Version 10.0.10586.0.amd64fre.th2_release.151029-1700

INFO : Looking for the requested Windows image in the WIM file
INFO : Image 1 selected (ServerTuva)…
INFO : Creating sparse disk…
INFO : Attaching VHDX…
INFO : Initializing disk…
INFO : Creating EFI system partition…
INFO : Formatting system volume…
INFO : Setting system partition as ESP…
INFO : Creating MSR partition…
INFO : Creating windows partition…
INFO : Formatting windows volume…
INFO : Windows path (H:) has been assigned.
INFO : System volume location: G:
INFO : Applying image to VHDX. This could take a while…
INFO : Image was applied successfully.
INFO : Making image bootable…
INFO : Drive is bootable. Cleaning up…
INFO : Closing VHDX…
INFO : Closing Windows image…
INFO : Done.
Done. The log is at: C:\Users\ADMINI~1\AppData\Local\Temp\NanoServerImageGenerator.log
PS C:\Users\Administrator> Find-ContainerImage

Name Version Description
—- ——- ———–
NanoServer 10.0.10586.0 Container OS Image of Windows Se…
WindowsServerCore 10.0.10586.0 Container OS Image of Windows Se…
PS C:\Users\Administrator> Install-ContainerImage -Name NanoServer -Version 10.0.10586.0
PS C:\Users\Administrator> Get-ContainerImage

Name Publisher Version IsOSImage
—- ——— ——- ———
NanoServer CN=Microsoft 10.0.10586.0 True
PS C:\Users\Administrator> Install-ContainerImage -Name WindowsServerCore -Version 10.0.10586.0
PS C:\Users\Administrator> Get-ContainerImage

Name Publisher Version IsOSImage
—- ——— ——- ———
NanoServer CN=Microsoft 10.0.10586.0 True
WindowsServerCore CN=Microsoft 10.0.10586.0 True
PS C:\Users\Administrator>