← Back to team overview

openstack team mailing list archive

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

 

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


Follow ups