On Mar 7, 2014, at 10:04 AM, Orion Poplawski <orion(a)cora.nwra.com> wrote:
On 03/07/2014 09:10 AM, Chris Murphy wrote:
> On Mar 7, 2014, at 6:31 AM, Josh Boyer <jwboyer(a)fedoraproject.org> wrote:
>> On Thu, Mar 6, 2014 at 6:52 PM, Chris Murphy <lists(a)colorremedies.com>
>>> On Mar 6, 2014, at 4:27 PM, Orion Poplawski <orion(a)cora.nwra.com>
>>>>> Other developers: OS Installer Support for LVM Thin Provisioning
>>>>> Release engineering: N/A (not a System Wide Change)
>>>>> Policies and guidelines: N/A (not a System Wide Change)
>>>> I this project dead? I'm casting about to tools to manage lvm
snapshots and roller-derby sounded promising. Any other tools out there?
> Orion didn't mention /home, and Roller Derby doesn't directly address it
either. Both yum-plugin-fs-snapshot and snapper can, but snapshots coincide with system
updates. More useful is a regularly timed snapshot of the user's home, .e.g. hourly
with age based clean-up.
I'm actually not that interested in tying in with yum updates etc. I'm just
looking for a tool that might help with managing LVM snapshots in general - and
specifically for managing snapshots of VMs. Something I could perhaps say have take a
snapshot every X hours and keep the latest Y snapshots.
I don't think Roller Derby applies here. Virt-manager and virsh support VM snapshots.
You could schedule snapshots with a script using virsh. But I don't know that it will
create LVM snapshots, and even if it did you wouldn't want it to because they're
slow. There soon will be LVM thinp support in libvirt but I don't think it's there
yet. Instead, use qcow2 files for this. In my "Fedora 20 installation as a
benchmarking tool" tests, the fastest installs I got were Btrfs in the guest, writing
into a qcow2 file with xattr +C on a Btrfs host, with the unsafe cache setting. Even plain
ext4 on an LV wasn't faster.