Ask Your Question
0

How to use multipart VMDKs

asked 2011-10-24 21:06:30 -0500

I'm attempting to use OpenStack w/VMWare ESX 4.1.0. VMWare does not appear to understand the standard AMI images linked in the OpenStack documentation (such as ttylinux-uec-amd64-12.1_2.6.35-22_1.tar.gz) and pops up with just Operation System not found. I've checked the disk files nova created and they contain the .img contents of this.

As such I am trying to use a VMDK-based image to start with. I am attempting to start with a CentOS minimal image, however it is packaged as a collection of .vdks that make up one 'disk':

centos-6.0-x86_64-minimal-s001.vmdk centos-6.0-x86_64-minimal-s002.vmdk centos-6.0-x86_64-minimal-s003.vmdk centos-6.0-x86_64-minimal-s004.vmdk centos-6.0-x86_64-minimal-s005.vmdk centos-6.0-x86_64-minimal-s006.vmdk centos-6.0-x86_64-minimal-s007.vmdk centos-6.0-x86_64-minimal-s008.vmdk centos-6.0-x86_64-minimal-s009.vmdk centos-6.0-x86_64-minimal-s010.vmdk centos-6.0-x86_64-minimal-s011.vmdk centos-6.0-x86_64-minimal.vmdk

I don't see any mechanism in Glance / Nova to utilize this sort of image; is there a way to use it?

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2011-10-25 17:03:10 -0500

jaypipes gravatar image

Sorry, Jason, I'm really not familiar with VMWare. I'll ask on the ML for some assistance here... -jay

edit flag offensive delete link more
0

answered 2011-10-25 17:42:43 -0500

a-abes gravatar image

Not sure how to make nova accept multiple files, but you could use vmware-vdiskmanager to convert the split disk into a single file. (I used the version that's bundled with workstation).

edit flag offensive delete link more
0

answered 2011-10-26 07:27:02 -0500

Hi Jason,

Nova vmwareapi driver supports only the vmdk image format of "Monolithic File Flat" which is thick (pre-allocate). I suggest to convert the split images to a single monolithic flat file before trying to use with openstack.

Few useful links for disk conversion, http://www.vmware.com/pdf/VirtualDiskManager.pdf (http://www.vmware.com/pdf/VirtualDisk...)

Hope that helps!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-10-24 21:06:30 -0500

Seen: 61 times

Last updated: Oct 26 '11