Vmware: Failed to create VMFS datastore datastore3 - Cannot change the host configuration

On the vCenter.

When adding a new datastore, failed. Got an error:
Failed to create VMFS datastore datastore3 - Cannot change the host configuration

To solve it, SSH to the ESXi server.
1.
ls -lha /vmfs/devices/disks/

2.
# partedUtil getptbl /vmfs/devices/disks/naa.6842b2b0445117002724edc0117c340f
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/naa.6842b2b0445117002724edc0117c340f) diskSize (3905945600) AlternateLBA (3907029167) LastUsableLBA (3907029134)
Warning: The available space to /dev/disks/naa.6842b2b0445117002724edc0117c340f appears to have shrunk. This may happen if the disk size has reduced. The space has been reduced by (1083568 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 (3905945600) AlternateLBA (3907029167) LastUsableLBA (3907029134) NewLastUsableLBA (3905945566)
Error: Can't have a partition outside the disk!
Unable to read partition table for device /vmfs/devices/disks/naa.6842b2b0445117002724edc0117c340f

3.
partedUtil mklabel /vmfs/devices/disks/naa.6842b2b0445117002724edc0117c340f msdos

4. 
partedUtil getptbl /vmfs/devices/disks/naa.6842b2b0445117002724edc0117c340f
msdos
243133 255 63 3905945600



Update