S. J. van Harmelen [svh@dds.nl] wrote: > > Now my thoughts where to take snapshots on the storage server. So that > would mean I would take a snapshot of lv_storage. This should not be a > problem. But what if virtual machine 2 crashes and has to be restored? > > In that case I cannot restore lv_storage with a dd command, because then > all the data will be restored (lv_virtualmachine1 and > lv_virtualmachine2, because they are both on lv_storage). So is it > possible to "restore" only lv_virtualmachine2 when I took a snapshot of > lv_storage? I see, it is possible but a bit cumbersome. You should be able to run LVM on the storage server on the restored/old data (LVM on top of LVM??) and get the data for the lv_virtualmachine2 from the storage server to XenSource (ftp/tar whatever method). Then, restore that data (tar extract) at XenSource. If things are NOT changing at the XenSource LVM, you could just "dd" on the crashed LV, but things may go really bad otherwise. Any better method(s)??? > I can see the PV and LV's Xen created on lv_storage on the storage > server when I run pvs by the way... Yes, you will see them but you want the storage server's LVM to NOT use them under normal conditions. BTW, for backup, you may want snapshot-origin target rather than snapshot target directly.. _______________________________________________ linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/