← Back to team overview

openstack team mailing list archive

Ephemeral and Root Disk

 

When I install a virtual machine using one of the following flavor's
device /dev/vda (Ubuntu or Redhat)is created in the Ephemeral.

That this correct? should not be at the Root?

By default the value is 0 Ephemeral, but had to switch to 5G. If he
does not think to 0 no disc.

Note: Instance created by dashboard

+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+-------------+
| ID | Name      | Memory_MB | Disk | Ephemeral | Swap | VCPUs |
RXTX_Factor | Is_Public | extra_specs |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+-------------+
| 1  | m1.tiny   | 512       | 0    | 5         |      | 1     | 1.0
      | True      | {}          |
| 2  | m1.small  | 2048      | 20   | 5         |      | 1     | 1.0
      | True      | {}          |
| 3  | m1.medium | 4096      | 40   | 5         |      | 2     | 1.0
      | True      | {}          |
| 4  | m1.large  | 8192      | 80   | 5         |      | 4     | 1.0
      | True      | {}          |
| 5  | m1.xlarge | 16384     | 160  | 5         |      | 8     | 1.0
      | True      | {}          |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+-------------+

My Libvirt.xml

--Ephemeral Disk /dev/vdb --
    <disk type="file" device="disk">
      <driver name="qemu" type="qcow2" cache="none"/>
      <source file="/var/lib/nova/instances/instance-00000013/disk.local"/>
      <target bus="virtio" dev="vdb"/>
    </disk>

-- Volume Disk /dev/vda --
    <disk type="block" device="disk">
      <driver name="qemu" type="raw" cache="none"/>
      <source dev="/dev/disk/by-path/ip-172.16.100.200:3260-iscsi-iqn.2010-10.org.openstack:volume-df925bb786ef-lun-0"/>
      <target bus="virtio" dev="sda"/>
    </disk>