Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have to create virtual copy of existing server (for testing purpose).

I have two (physical host) hosts:

  • main - this one will be used as source for virtual machine disk image. It has standard Ubuntu 10.04 installation. It uses LVM.
  • second - this one will be used as hypervisor host. It's also vanilla Ubuntu 10.04 installation. I plan to install kvm and crate guest machine that will be copy of main machine.

I would like to do it with out shutdowning main machine.

I know I can use mondo for this ( But I wonder if is possible only with using LVM snapshots. That is to create LVM snapshot of main and use it for creating virtual machine on second?

If LVM option is possible, could you please give me some links to tutorials that describes this procedure?

share|improve this question
What services are running on the "main" host? Databases are notoriously hard to capture as a disk image. – DerfK Jan 24 '11 at 13:29
some websites in developmend (django with mysql), redmine, mercurial. Traffic is low, so theoretically (during night) it could be some time window without any db access. In worst case i can shout down the main host, but would prefer to try doing it live. – Maciek Sawicki Jan 24 '11 at 13:40
up vote 0 down vote accepted

I decided I will shutdown my machine and boot it from live CD. But I found some interesting how to for windows:

There is also interesting tool from vmware that can do what I need (migrate linux machine) but it needs windows to be used as VM host -

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.