For more information, please see http://smartos.org/ For any questions that aren't answered there, please join the SmartOS discussion list: https://smartos.topicbox.com/groups/smartos-discuss
1.56k
stars
244
forks
source link
OS-8386 vmware vmdk number of blocks is wrong #1045
It looks like what was originally done was assumed the img file was 2000000000.
I created a script to help out here. This is based on the make_vmdk script in sdc-headnode.
Starting with 2000000000, this gives us the values that are currently in the vmdk file:
Using the actual size of the image, we get this instead:
So it looks like
3875
isn't a typo, it just started with a different value. But it does also mean that I should fix that value in the PR.