To resolve this issue when there is a left-over partition on a disk, delete the partition.
Notes:
- The NAA ID used in these steps is an example ID and must be replaced by the actual ID found in step 1.
- This procedure removes the partition information on the disk and makes any data on that partition inaccessible.
To delete the left-over partition on a disk:
- Run this command to find the disk name:
# esxcfg-scsidevs –l
You see output similar to:
naa.6b083fe0c2c8f6001b891af71508e8d8
Device Type: Direct-Access
Size: 1887435 MB
Display Name: Local DELL Disk (naa.6b083fe0c2c8f6001b891af71508e8d8)
Multipath Plugin: NMP
Console Device: /vmfs/devices/disks/naa.6b083fe0c2c8f6001b891af71508e8d8
Devfs Path: /vmfs/devices/disks/naa.6b083fe0c2c8f6001b891af71508e8d8
Vendor: DELL Model: PERC H710 Revis: 3.13
SCSI Level: 5 Is Pseudo: false Status: on
Is RDM Capable: false Is Removable: false
Is Local: true Is SSD: false
Other Names:
vml.02000000006b083fe0c2c8f6001b891af71508e8d8504552432048
VAAI Status: unsupported
- After finding the disk name, check if the disk has any partitions on it using this command:
# partedUtil get /dev/disks/naa.6b083fe0c2c8f6001b891af71508e8d8
You see output similar to: 240614 255 63 3865468544
1 2048 3865464831 7 0
In this case, this disk has 1 partition.
- Run this command to delete the partition:
# partedUtil delete /dev/disks/naa.6b083fe0c2c8f6001b891af71508e8d8 1
Note: Ensure that you have do not require that partition further and have the correct disk before doing this.
- Run this command to confirm that the disk does not have any more partitions:
# partedUtil get /dev/disks/naa.6b083fe0c2c8f6001b891af71508e8d8
You see output similar to:
240614 255 63 3865468544
- Retry adding the disk to the ESXi host.