So I threw a 1TB drive into one of my ESXi hosts. ESXi Doesn't play well with partitions it doesn't recognize when trying to create a new datastore. The documentation on this is crap. They mention a number of partedUtil commands for viewing partitions and deleting partitions, but for this particular disk, none of these commands worked.
I did some searching and came up with this gem.
# partedUtil mklabel /dev/disks/<disk id> msdos
This will relabel the entire drive as msdos and blow away any additional partitions. This did the trick. I'm sharing it here for my future reference.
Remove Linux Partitions in ESXi 5.x
So I threw a 1TB drive into one of my ESXi hosts. ESXi Doesn't play well with partitions it doesn't recognize when trying to create a new datastore. The documentation on this is crap. They mention a number of partedUtil commands for viewing partitions and deleting partitions, but for this particular disk, none of these commands worked.
I did some searching and came up with this gem.
This will relabel the entire drive as msdos and blow away any additional partitions. This did the trick. I'm sharing it here for my future reference.
Post Comment