Brian Elliott Finley wrote:
> Thomas,
> 
> May I suggest that you do a checkout of SystemImager from it's SVN trunk
> via the instructions here:
> 
>     http://svn.systemimager.org/
> 
> 
> Once you've done that, you can find the code in question inside your
> checked out copy in the following files:
> 
>     doc/examples/autoinstallscript.conf-lvm_over_raid
>     lib/SystemImager/Server.pm
> 
>         functions:
> 
>             * _read_partition_info_and_prepare_soft_raid_devs
>             * _read_partition_info_and_prepare_pvcreate_commands
>             * write_lvm_groups_commands
>             * write_lvm_volumes_commands
>             * etc.
> 

...and for the cloning part (the way to automatically create the XML conf from a
running machine) you can look at lib/SystemImager/Common.pm, simply search the
/lvm/ string.

You can also read the documentation in the website:

http://wiki.systemimager.org/index.php/LVM
http://wiki.systemimager.org/index.php/SoftwareRaid

The second link covers also the LVM over Soft-RAID case.

Regards,
-Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
sisuite-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-devel

Reply via email to