setup-storage and preserving partitions

Jeffrey Stolte stolte at ucar.edu
Wed Apr 7 00:18:51 CEST 2010


On Tue, Apr 06, 2010 at 11:55:23PM +0200, Michael Tautschnig wrote:
> 
> I've added an option "always_format" which can be used along with
> preserve_always, etc. and works the same way as the "format" option did in
> setup_harddisks. 
> 
> I believe the following should work, adapting Jeffrey's example:
> 
> disk_config sda disklabel:msdos bootable:1 preserve_always:1,2,5,6,7 always_format:1,2,5
> primary  /      0   ext3  defaults,errors=remount-ro    createopts="-j"
> primary  swap   0   swap  sw
> logical  /var   0   ext3  defaults,errors=remount-ro    createopts="-j"
> logical  /home  0   ext3  defaults,nosuid,nodev,errors=remount-ro
> logical  /d1    0   ext3  defaults,nosuid,nodev,errors=remount-ro
> 
> In case some of the partitions need not exist in all cases, you can use
> preserve_lazy instead of preserve_always, but then some size other than 0 must
> be specified.
> 
> This option is available as of 3.3.5+experimental2. For details on how to obtain
> the experimental builds please see
> http://faiwiki.informatik.uni-koeln.de/index.php/Main_Page#getting_FAI
> Testing is much appreciated!!
> 
> 
> Best,
> Michael


Thank you for adding this option.  I will get the experimental build and
test as soon as I can.  I think this will be very useful to us...

Jeff


More information about the linux-fai mailing list