Erasing disk partitions via the web client for SSDs or HDDs fails with the error similar to error:
"Failed to retrieve data from the server" Unable to see the HDD or SSD while creating a diskgroup.
You will fail to add the drives to vSAN DG after Modifying the RAID configuration for HDD and SSD.
You will see the entries similar to:
Error: Can't have a partition outside the disk!
VMware vSAN 7.0
VMware vSAN 8.0
This issue occurs if we have existing partitions on the drives or if the RAID0 pool created with two or more drives.
NOTICE: The below steps would delete the existing partition table and format the drive. If you are experiencing this issue on a working vSAN cluster where the disk was in use, and If the above symptoms and issue matches, please contact Broadcom Support to investigate the issue. Please apply the below workaround ONLY if the host is brand new or empty and confirmed that the drive we are working on does not have any user data.
Take putty session to ESXi host experiencing the disk issue.
Put the host into maintenance mode using Ensure Accessibility.
Identify and verify the drive with issues using the command below.
partedUtil getptbl /vmfs/devices/disks/<naa.id>
example: partedUtil getptbl /vmfs/devices/disks/naa.6005076040ab39f01f3e8357120d0a8b
If the drive reports above symptoms, you can set the partition table to msdos using command below.
partedUtil setptbl /vmfs/devices/disks/<naa id of affected drive> msdos
example: partedUtil setptbl /vmfs/devices/disks/naa.5000c50023397a33 msdos
Verify the drive partition table and make sure we do not see the errors which were observed earlier.
Add the disk to disk group or create disk group using the drives.