How do I set up ephemeral storage for windows images?
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=
in nova.conf and I've also set the os_type metadata on the windows
image:
~ $ nova image-show 0d86a3bc-
+------
| Property | Value |
+------
| created | 2012-10-
| id | 0d86a3bc-
| metadata os_type | windows |
| minDisk | 0 |
| minRam | 0 |
| name | win2k8sqlserver2k8 |
| progress | 100 |
| status | ACTIVE |
| updated | 2012-10-
+------
I've also tried setting the os_type param when booting the instance:
nova boot --meta os_type=windows --hint=
Even after all this nova still uses ext4:
2012-10-29 12:41:24 DEBUG nova.utils
[req-33b476e7-
ec731931e03544d
Running cmd (subprocess): mkfs.ext4 -L ephemeral0 -F
/var/lib/
execute /usr/lib/
The ephemeral drive shows up in the instance and I can format it after booting the instance. But I need it to be recognized as a drive at boot. How can I fix this?
Cheers,
Erik
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- One-Man-Bucket
- Solved:
- Last query:
- Last reply: