WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] capture the user made changes ..

To: Pallab Chakrabarty <pchakrabarty@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] capture the user made changes ..
From: Bhasker C V <bhasker@xxxxxxxxxxxxx>
Date: Wed, 13 May 2009 12:55:43 +0100 (BST)
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 13 May 2009 04:55:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <EMEWEMEW2_DELIMl4C5Y9902adcf07dc2521188c66c, pchakrabarty@xxxxxxxxxxxxxxx, 0F1B671F5BD242628C>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <EMEWEMEW2_DELIMl4C5Y9902adcf07dc2521188c66c, pchakrabarty@xxxxxxxxxxxxxxx, 0F1B671F5BD242628C>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 1.10 (DEB 962 2008-03-14)

There are many sites where you get information on creating a read-only root file system


method 1: using LVM

Create an LV (using LVM2/DM)
use this lv to create the root file system.
Once the machine boots fine with the root file system, create an LVM snapshot volume which will create a disk which will record the changes to the main volume.

method 2: use qemu qcow images

create a file and use qcow (copy-on-write) which will create another file
to record changes to the file system (block level) and the main file will
be un-affected.


On Wed, 13 May 2009, Pallab Chakrabarty wrote:


 

Hi,

 

I require to make the rootfilesystem readonly, and use a separate disk space to 
capture the user made changes once the VM is up &
running..

 

Thereby, I want to use same rootfilesystem across the VMs..

 

 

Kindly guide me ..

 

- regards
   Pallab

 




Bhasker C V
Registered linux user #306349
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>