[Openstack] How can I specify which filesystem to use for ephemeral storage per image?

Erik Lindblad erik.lindblad at gmail.com
Fri Nov 2 07:41:17 UTC 2012


Not sure if it helps bumping my own email, but here's a launchpad question
as well. Still haven't been able to solve this, it's keeping us from
transitioning our windows tests from eucalyptus.

https://answers.launchpad.net/nova/+question/212734

--Erik


On Mon, Oct 29, 2012 at 1:20 PM, Erik Lindblad <erik.lindblad at gmail.com>wrote:

> Hi!
>
> I'm running a nova cloud (essex) with both linux and windows
> instances. I want the windows images to boot with an ephemeral
> pre-formatted ntfs drive.
>
> I've tried setting:
> virt_mkfs="windows=mkfs.ntfs --force --fast --label %(fs_label)s
> %(target)s"
>
> in nova.conf and I've also set the os_type metadata on the windows
> image, but nova still uses ext4:
> 2012-10-29 12:41:24 DEBUG nova.utils
> [req-33b476e7-6412-4caa-ba51-839c36ab35b0
> ec731931e03544d89e46468a3a268d9b 526fedd9083647fbbbc167261f10ecfc]
> Running cmd (subprocess): mkfs.ext4 -L ephemeral0 -F
> /var/lib/nova/instances/_base/ephemeral_0_20_windows from (pid=10597)
> execute /usr/lib/python2.7/dist-packages/nova/utils.py:219
>
> Cheers,
> Erik
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20121102/195fba46/attachment.html>


More information about the Openstack mailing list