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

Re: [Xen-users] snapshot - backup for xen vm's



Nico Kadel-Garcia wrote:
> Fajar A. Nugraha wrote:
>> it-news (Josef Lahmer) wrote:
>>  
>>> is there a way to make a lvm-snapshot of an running xen-vm to
>>> implement a function like "snapshot-backup"?
>>>
[snip]
>>
>> If you :
>> - use an LV (NOT files) on dom0 as storage for domU's block device
>> - use partitions on domU (NOT LVM)
>>
>> Then both link are applicable right away
[snip]
> Unfortunately, that piece of over-hyped installatiion obscurity known
> as libvirt does not allow you options to do this, and mandates the use
> of pygrub. This means that you must have a /dev/xdva device, and grub
> itself only works if you have a disk, not if you only have partitions.
pygrub works perfectly with partition-only setup (at least on RHEL5).
You could take a virt-manager-based installation, copy the files to
partition-only-domU setup, modify grub.conf and fstab, and have a
working system.

I know this seems like an extra unnecessary step (install-copy-modify
instead of just install). Which is why my prefered method is to create a
template (in tar.gz, with some host-specific stuff like ssh host key
removed), so the next "installation" can simply be a tar xvfz.

>  It's also very, very helpful to have enough disk in the partiton to
> mirror the *whole* RedHat or Fedora installation directory. 
I'm not sure what you mean here. I'd prefer to have a local copy of yum
repository (including RH installation directory). It's on local network,
accessed via http, but it doesn't have to be on dom0. That way it scales
well if you have lots of dom0s.

Regards,

Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.