Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How can I change where ephemeral and swap disk are stored?

Hi folks, when I create a new instance using ephemeral and swap disk, the root disk is created using my default cinder backend but the ephemeral and swap disks are created on two files (disk.eph0 and disk.swap) on the directory /var/lib/nova/instances/instance-id

Using this configuration I can't live-migrate instances because /var/lib/nova/instances directory is not shared between nova hosts.

The cinder backend is a shared storage, how can I configure nova for creating the ephemeral and swap volumes on the shared storage instead the default dir?

Thank you! Jorge.