Hi All,
Rebuilding some previously used VSAN nodes however to reclaim the disks for a new VSAN cluster I either need to erase the partitions on each of the disk via the GUI (See Screenshot)
Or Enable VSAN on the cluster and delete diskgroups and recreate.
I was hoping there was a method I could erase the partition via Powercli?
I'm afraid you will need partedUtil to remove the partition.
That will require a SSH session to the ESXi node.
See also Cormac's post VSAN PART 16 – RECLAIMING DISKS FOR OTHER USES
Ben's post PowerCLI script to forcibly delete a Datastore that is reported as in use contains a section that calls partedUtil via SSH (and the plink.exe command).
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
I'm afraid the screenshot is missing.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
I'm afraid you will need partedUtil to remove the partition.
That will require a SSH session to the ESXi node.
See also Cormac's post VSAN PART 16 – RECLAIMING DISKS FOR OTHER USES
Ben's post PowerCLI script to forcibly delete a Datastore that is reported as in use contains a section that calls partedUtil via SSH (and the plink.exe command).
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thanks Luc,
I'll take a look at this.