Some wizardry: vmkfstools | virtualhobbit
Posted by jpluimers on 2019/05/24
Some wizardry: [WayBack] vmkfstools | virtualhobbit.
This includes:
- finding which VMFS partitions are there the hard way
- initialising partitions from known good data
vmkfstools -V
(yes, capitalV
is for VMFS rescan, as lowercasev
is for verbose)
Found after reading [WayBack] Datastore not mounted after reboot of ESXi5.5 |VMware Communities
Then found this: [Wayback] VMware Knowledge Base: Performing a rescan of the storage on an ESXi host (1003988); Using the ESXi Command Line Interface
…
- To search for new VMFS datastores, run this command:
vmkfstools -V
Note: This command does not generate any output.
That solved my problem!
# vmkfstools -V # esxcfg-volume --list Scanning for VMFS-3/VMFS-5 host activity (512 bytes/HB, 2048 HBs). VMFS UUID/label: 532cd010-6e8c01d1-45be-001f29022aed/Raid6SSD Can mount: Yes Can resignature: Yes Extent name: naa.600605b00aa054a0ff000021022683ae:1 range: 0 - 1830143 (MB) # esxcfg-volume --mount 532cd010-6e8c01d1-45be-001f29022aed Mounting volume volume 532cd010-6e8c01d1-45be-001f29022aed
And there it was:
# df -h Filesystem Size Used Available Use% Mounted on ... VMFS-5 1.7T 1.6T 169.6G 91% /vmfs/volumes/Raid6SSD ...
Note you can mount non-persistent (--mount
) or persistent (--persistent-mount
) by both UUID
and label
, so there are four choices for mounting:
esxcfg-volume --mount UUID esxcfg-volume --mount label esxcfg-volume --persistent-mount UUID esxcfg-volume --persistent-mount label
–jeroen
Leave a Reply