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@lists.xensource.com
http://lists.xensource.com/xen-users