Re: RBD Backup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Am 21.11.2012 14:47, schrieb Wido den Hollander:
The snapshot isn't consistent since it has no way of telling the VM to
flush it's buffers.

To make it consistent you have to run "sync" (In the VM) just prior to
creating the snapshot.

Mhm but between executing sync and executing snap is again time to store data.

rbd export --snap BACKUP image1 /mnt/backup/image1.img
losetup /mnt/backup/image1.img

kpartx -a /dev/loop0

Now you will have the partitions from the RBD image available in
/dev/mapper/loop0pX
Works fine!

Greets,
Stefan
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux