From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Zhang Haoyu" Subject: Re: [question] updating the base image for all clones which havebeen running for months Date: Mon, 3 Nov 2014 20:37:47 +0800 Message-ID: <201411032037450771771@sangfor.com> References: <201411032004120698212@sangfor.com>, <20141103121421.GE4437@noname.str.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit Cc: "qemu-devel" , "kvm" , "Stefan Hajnoczi" To: "Kevin Wolf" Return-path: Received: from smtp.sanfor.com ([58.251.49.30]:51907 "EHLO mail.sangfor.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1751256AbaKCMiD (ORCPT ); Mon, 3 Nov 2014 07:38:03 -0500 Sender: kvm-owner@vger.kernel.org List-ID: >> Hi, all >> >> I used base image A to clone so many vm, >> after running for months, each vm has its own private applications and data, >> which maybe different from each other. >> Now, I want to install some applications for all of the clones, >> what should I do? > >Install the applications on each clone separately, or use some other >method to make it available (like installing on a shared network >resource). > Could you detail "installing on a shared network resource"? Thanks, Zhang Haoyu >> Can I rebase image A to B which have the applications to be installed, >> then change the base image to B for all clones? > >The problem is that rebase works on the block level, not on the file >system level. Yes, this is the point. >Changing the backing file won't produce a correctly >working guest, it causes file system corruption. > >Kevin From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49175) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlGte-0005lP-Oq for qemu-devel@nongnu.org; Mon, 03 Nov 2014 07:38:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XlGtY-0006Bf-7U for qemu-devel@nongnu.org; Mon, 03 Nov 2014 07:38:10 -0500 Received: from [58.251.49.30] (port=55008 helo=mail.sangfor.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlGtX-0006BT-Qv for qemu-devel@nongnu.org; Mon, 03 Nov 2014 07:38:04 -0500 Date: Mon, 3 Nov 2014 20:37:47 +0800 From: "Zhang Haoyu" References: <201411032004120698212@sangfor.com>, <20141103121421.GE4437@noname.str.redhat.com> Message-ID: <201411032037450771771@sangfor.com> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [question] updating the base image for all clones which havebeen running for months List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: Stefan Hajnoczi , qemu-devel , kvm >> Hi, all >> >> I used base image A to clone so many vm, >> after running for months, each vm has its own private applications and data, >> which maybe different from each other. >> Now, I want to install some applications for all of the clones, >> what should I do? > >Install the applications on each clone separately, or use some other >method to make it available (like installing on a shared network >resource). > Could you detail "installing on a shared network resource"? Thanks, Zhang Haoyu >> Can I rebase image A to B which have the applications to be installed, >> then change the base image to B for all clones? > >The problem is that rebase works on the block level, not on the file >system level. Yes, this is the point. >Changing the backing file won't produce a correctly >working guest, it causes file system corruption. > >Kevin