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