Re: LVM thin provisioning and virt-manager

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

 



On Tue, Oct 15, 2013 at 03:29:38PM -0600, Chris Murphy wrote:
> The better snapshots sound ideal for VM testing. Snapshot a
> successful install and then try to break the snapshot. Etc.
>
> Presently virt-manager ignores thinp pools and only creates
> conventional LV's. I haven't tried using virsh to force it to use an
> already created virtualsize LV as backing, but I'm wondering if it
> should work. If not, is there a rough time frame on such support?

Is using LVs for this over-thinking things?

Creating a snapshot of a regular file which efficiently shares the
backing disk is easy, and doesn't require root or special support:

  qemu-img create -f qcow2 -b original snapshot.qcow2

Then you can import this as a new guest in libvirt, again *without*
needing root:

  virt-install --import --name snapshot \
    --ram 1024 --disk path=snapshot.qcow2,format=qcow2

And in Fedora 20 we'll have virt-builder, which makes creating the
original images quick too.  (Not to mention virt-sysprep and all the
other tools to manipulate disk images easily, without root)

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux