diff options
-rw-r--r-- | debian/changelog | 4 | ||||
-rw-r--r-- | en/appendix/preseed.xml | 82 |
2 files changed, 83 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog index 938d3a156..65546670b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -50,8 +50,10 @@ installation-guide (2006xxxx) UNRELEASED; urgency=low * Remove now obsolete distinction between classic and common kpkg. * Update all arches to kernel version 2.6.17. * Set default value for manual_release in build wrapper scripts. + * Add new section in preseeding appendix on partman-auto-raid. Not included + in preseed text file as it is still somewhat experimental. - -- Frans Pop <fjp@debian.org> Wed, 11 Oct 2006 00:19:04 +0200 + -- Frans Pop <fjp@debian.org> Wed, 11 Oct 2006 22:03:18 +0200 installation-guide (20060726) unstable; urgency=low diff --git a/en/appendix/preseed.xml b/en/appendix/preseed.xml index 5b3553abe..5f73a68eb 100644 --- a/en/appendix/preseed.xml +++ b/en/appendix/preseed.xml @@ -738,8 +738,8 @@ correct one will be selected before using preseeding. #d-i partman-auto/init_automatically_partition \ # select Use the largest continuous free space -# Alternatively, you can specify a disk to partition. The device name can -# be given in either devfs or traditional non-devfs format. +# Alternatively, you can specify a disk to partition. The device name +# can be given in either devfs or traditional non-devfs format. # For example, to use the first disk: d-i partman-auto/disk string /dev/discs/disc0/disc # In addition, you'll need to specify the method to use. @@ -797,6 +797,84 @@ d-i partman/confirm boolean true </sect2> + <sect2 id="preseed-partman-raid"> + <title>Partitioning using RAID</title> +<para> + +You can also use preseeding to set up partitions on software RAID arrays. +Supported are RAID levels 0, 1 and 5, creating degraded arrays and +specifying spare devices. +If you are using RAID 1, you can preseed grub to install to all devices +used in the array; see <xref linkend="preseed-bootloader"/>. + +</para> + +<warning><para> + +This type of automated partitioning is easy to get wrong. It is also a +very new component that may still have some bugs or missing error +handling. The responsibility to get the various recipes right (so they +make sense and don't conflict) lies with the user. +Check <filename>/var/log/syslog</filename> if you run into problems. + +</para><para> + +Note that only RAID 0 and RAID 1 have been tested by the developers of the +component. RAID 5 is untested. Advanced RAID setup with degraded arrays or +spare devices has only been tested lightly. + +</para></warning> + +<informalexample><screen> +# NOTE: this option is of beta release quality and should be used carefully + +# The method should be set to "raid". +#d-i partman-auto/method string raid +# Specify the disks to be partitioned. They will all get the same layout, +# so this will only work if the disks are the same size. +#d-i partman-auto/disk string /dev/discs/disc0/disc /dev/discs/disc1/disc + +# Next you need to specify the physical partitions that will be used. +#d-i partman-auto/expert_recipe string \ +# multiraid :: \ +# 1000 5000 4000 raid \ +# $primary{ } method{ raid } \ +# . \ +# 64 512 300% raid \ +# method{ raid } \ +# . \ +# 500 10000 1000000000 raid \ +# method{ raid } \ +# . + +# Last you need to specify how the previously defined partitions will be +# used in the RAID setup. Remember to use the correct partition numbers +# for logical partitions. +# Parameters are: +# <raidtype> <devcount> <sparecount> <fstype> <mountpoint> \ +# <devices> <sparedevices> +# RAID levels 0, 1 and 5 are supported; devices are separated using "#" +#d-i partman-auto-raid/recipe string \ +# 1 2 0 ext3 / \ +# /dev/discs/disc0/part1#/dev/discs/disc1/part1 \ +# . \ +# 1 2 0 swap - \ +# /dev/discs/disc0/part5#/dev/discs/disc1/part5 \ +# . \ +# 0 2 0 ext3 /home \ +# /dev/discs/disc0/part6#/dev/discs/disc1/part6 \ +# . + +# This makes partman automatically partition without confirmation. +d-i partman-md/confirm boolean true +d-i partman/confirm_write_new_label boolean true +d-i partman/choose_partition \ + select Finish partitioning and write changes to disk +d-i partman/confirm boolean true +</screen></informalexample> + + </sect2> + <sect2 id="preseed-time"> <title>Clock and time zone setup</title> |