Question about the instance snapshot

Eugen Block eblock at nde.ag
Wed Nov 11 15:41:17 UTC 2020


Hi,

taking an instance snapshot only applies to the root disk, other  
attached disks are not included. I don't have an explanation but I  
think it would be quite difficult to merge all contents from different  
disks into one image. If this is about backup and not creating new  
base images and your instances are volume-based you could create  
cinder snapshots of those volumes, for example by creating  
consistency-groups to have all volumes in a consistent state.

If this is more about creating new base images rather than backups and  
you have an instance with its filesystem distributed across multiple  
volumes it would probably be better to either move everything to a  
single volume (easy when you're using LVM) or resize that instance  
with a larger disk size. There are several ways, it depends on your  
actual requirement.

Regards,
Eugen



Zitat von Henry lol <pub.virtualization at gmail.com>:

> Hello, everyone
>
> I'm wondering whether the snapshot from the instance saves all disks
> attached to the instance or only the main(=first) disk, because I can't
> find any clear description for it.
>
> If the latter is true, should I detach all disks except for the main from
> the instance before taking a snapshot, and why doesn't it support all
> attached disks?
>
> Thanks
> Sincerely,






More information about the openstack-discuss mailing list