On 08/01/2015 07:52 PM, pixelfairy wrote:
Id like to look at a read-only copy of running virtual machines for compliance and potentially malware checks that the VMs are unaware of. the first note on http://ceph.com/docs/master/rbd/rbd-snapshot/ warns that the filesystem has to be in a consistent state. does that just mean you might get a "crashed" filesystem or will some other bad thing happen if you snapshot a running filesystem that hasned synced? would telling the os to sync just before help?
Ideally you would do xfs_freeze -f, snap, xfs_freeze -u to get a consistent fs for your snapshot. Despite the name this works on all linux filesystems. If you don't do this, like you said you get a crash-consistent snapshot, which might require fs jounal replay (writing to the image). This is doable using a clone of the snapshot, but it's a bit more complicated to manage. Josh _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com