Hello all Vsan experts,
I am trying to test VSAN in my lab and I am facing issues . Need your expert advice.
I have connected 4 HP MSAs together to ONLY ONE of my ESX hosts out of three in my lab cluster. I have created 4 logical raid 5 volumes of 615 GB each . All the volumes are visible on the ESX host.
ESX host 1
ESX host 2
ESX host 3 -> This has the 4 MSAs attached and all the disks reporting to.
I ran the following commands against all the 4 disks on the ESX host to which they are connected.
~ # esxcli storage nmp satp rule add -s VMW_SATP_LOCAL -d <Device_name> -o "enable_local enable_ssd"
~ # esxcli storage core claiming reclaim -d <Device_name>
I configured VSAN on the cluster and created a disk group for the cluster. When I try to add the disks , I can add only 2 disks , one as SSD and one as HDD. The other 2 disks show as ineligible. The message states that there is an existing partition on those disks.
I tried deleting the partitions or fetch information about partitions using the partedUtil command , however I get this as output :-
# partedUtil get /dev/disks/mpx.vmhba2:C0:T0:L0
Error: The primary GPT table states that the backup GPT is located beyond the end of disk. This may happen if the disk has shrunk or partition table is corrupted. Fix, by writing backup table at the end? This will also fix the last usable sector appropriately as per the new reduced size. diskPath (/dev/disks/mpx.vmhba2:C0:T0:L0) diskSize (1289779602) AlternateLBA (2579558801) LastUsableLBA (2579558768)
Warning: The available space to /dev/disks/mpx.vmhba2:C0:T0:L0 appears to have shrunk. This may happen if the disk size has reduced. The space has been reduced by (1289779200 blocks). You can fix the GPT to correct the available space or continue with the current settings ? This will also move the backup table at the end if it is not at the end already. diskSize (1289779602) AlternateLBA (2579558801) LastUsableLBA (2579558768) NewLastUsableLBA (1289779568)
Error: Can't have a partition outside the disk!
Unable to read partition table for device /dev/disks/mpx.vmhba2:C0:T0:L0
# partedUtil delete /dev/disks/mpx.vmhba2:C0:T0:L0 1
Error: The primary GPT table states that the backup GPT is located beyond the end of disk. This may happen if the disk has shrunk or partition table is corrupted. Fix, by writing backup table at the end? This will also fix the last usable sector appropriately as per the new reduced size. diskPath (/dev/disks/mpx.vmhba2:C0:T0:L0) diskSize (1289779602) AlternateLBA (2579558801) LastUsableLBA (2579558768)
Warning: The available space to /dev/disks/mpx.vmhba2:C0:T0:L0 appears to have shrunk. This may happen if the disk size has reduced. The space has been reduced by (1289779200 blocks). You can fix the GPT to correct the available space or continue with the current settings ? This will also move the backup table at the end if it is not at the end already. diskSize (1289779602) AlternateLBA (2579558801) LastUsableLBA (2579558768) NewLastUsableLBA (1289779568)
Error: Can't have a partition outside the disk!
Unable to construct disk from device /dev/disks/mpx.vmhba2:C0:T0:L0
Can someone please help here !!
Thanks in advance.