setup-storage and preserving partitions

Jeffrey Stolte stolte at ucar.edu
Fri Apr 9 18:20:03 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


I have tested version 3.3.5+experimental2 with the "preserve_always"
and "always_format" options as shown above and things seem to be
working as expected.  I plan to do additional testing and will let you
know if I find any problems.  Thanks again for making this change.

Jeff


More information about the linux-fai mailing list