--=-h1anEAej7KyJcVoY+YsS Content-Type: text/plain Content-Transfer-Encoding: 7bit
Hi list. I have a setup where I need to run several para-virtualized guest VMs under Xen. I'm using Fedora Core 6 for both the host and the guest, and Fedora Core 6 has a very nice UI (virt-manager) for creating new VMs. It lets you start an install into the new VM using their installer in net-install configuration and generally does a nice work. Problem is - all the VMs I need have a rather similar configuration and I don't want to bother with installing the same VM again and again. What I want to do, is setup a basic VM, with the OS installed, all updates installed and some basic configuration done (for example, users and passwords) - then duplicate the system image like you do with Norton Ghost. My first try was to naively create the basic VM using a file for a disk image, then shut it down and copy the disk image to another file. I also copied the configuration file created under /etc/xen to another file, change the file name and the domain name inside the file and ran xm create. This failed with an error about my new image file already being "loopback-mounted on /dev/loop on another guest which is running", which definetly wasn't the case as the other VM was shutdown. What am I missing ? how can I copy system images for VMs ? -- Oded ::.. "Only wimps use tape backups; real men put their software on ftp-servers and let the rest of the world mirror it." -- Linus Torvalds --=-h1anEAej7KyJcVoY+YsS Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8"> <META NAME="GENERATOR" CONTENT="GtkHTML/3.12.1"> </HEAD> <BODY> <BR> Hi list.<BR> <BR> I have a setup where I need to run several para-virtualized guest VMs under Xen. I'm using Fedora Core 6 for both the host and the guest, and Fedora Core 6 has a very nice UI (virt-manager) for creating new VMs. It lets you start an install into the new VM using their installer in net-install configuration and generally does a nice work. <BR> <BR> Problem is - all the VMs I need have a rather similar configuration and I don't want to bother with installing the same VM again and again. What I want to do, is setup a basic VM, with the OS installed, all updates installed and some basic configuration done (for example, users and passwords) - then duplicate the system image like you do with Norton Ghost.<BR> <BR> My first try was to naively create the basic VM using a file for a disk image, then shut it down and copy the disk image to another file. I also copied the configuration file created under /etc/xen to another file, change the file name and the domain name inside the file and ran xm create. This failed with an error about my new image file already being "loopback-mounted on /dev/loop on another guest which is running", which definetly wasn't the case as the other VM was shutdown.<BR> <BR> What am I missing ? how can I copy system images for VMs ?<BR> <BR> <TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%"> <TR> <TD> --<BR> Oded<BR> ::..<BR> "Only wimps use tape backups; real men put their software on ftp-servers and let the rest of the world mirror it." <BR> -- Linus Torvalds<BR> <BR> </TD> </TR> </TABLE> </BODY> </HTML> --=-h1anEAej7KyJcVoY+YsS-- ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]