[MediaWiki-commits] [Gerrit] Adding new partman recipe for 4 disks raid10 with lvm - change (operations/puppet)
RobH has submitted this change and it was merged. Change subject: Adding new partman recipe for 4 disks raid10 with lvm .. Adding new partman recipe for 4 disks raid10 with lvm Change-Id: I57ddf912f74d1f2ef10e3becf8920d0e022cc0d5 --- A modules/install_server/files/autoinstall/partman/raid10-gpt-srv-lvm-ext4.cfg 1 file changed, 65 insertions(+), 0 deletions(-) Approvals: RobH: Looks good to me, approved jenkins-bot: Verified diff --git a/modules/install_server/files/autoinstall/partman/raid10-gpt-srv-lvm-ext4.cfg b/modules/install_server/files/autoinstall/partman/raid10-gpt-srv-lvm-ext4.cfg new file mode 100644 index 000..2954956 --- /dev/null +++ b/modules/install_server/files/autoinstall/partman/raid10-gpt-srv-lvm-ext4.cfg @@ -0,0 +1,65 @@ +# Automatic software RAID partitioning +# +# * four disks, sda, sdb, sdc, sdd +# * primary partitions, with LVM +# * GPT layout (large disks, > 2TB) +# * layout: +# - / : ext4, RAID10, 50GB +# - /srv: ext4, RAID10, rest of the space + + +d-i partman-auto/methodstring raid +d-i partman-md/device_remove_md boolean true +d-i partman-lvm/device_remove_lvm boolean true + +# Use all the disks +d-i partman-auto/disk string /dev/sda /dev/sdb /dev/sdc /dev/sdd + +# Define physical partitions +d-i partman-auto/expert_recipe string \ + multiraid ::\ + 1 1 1 grub\ + $primary{ } method{ biosgrub } \ + . \ + 5 80005 raid\ + $primary{ } method{ raid } \ + $lvmignore{}\ + . \ + 10001000-1 raid\ + $primary{ } method{ raid } \ + $lvmignore{} \ + . \ + 64 1000 1000 ext4 \ + $primary{ } \ + method{ format }\ + format{ } \ + use_filesystem{ } \ + filesystem{ ext4 } \ + lv_name{ data } \ + $defaultignore{ } \ + $lvmok{ } \ + mountpoint{ /srv } \ + . \ + + +# Parameters are: +# \ +# +d-i partman-auto-raid/recipe string \ + 10 4 0 ext4/ \ + /dev/sda2#/dev/sdb2#/dev/sdc2#/dev/sdd2 \ + . \ + 10 4 0 lvm-\ + /dev/sda3#/dev/sdb3#/dev/sdc3#/dev/sdd3 \ + . + +d-i partman-md/confirm boolean true +d-i partman-md/confirm_nooverwrite boolean true +d-i partman/confirm_write_new_label boolean true +d-i partman/choose_partition select finish +d-i partman/confirmboolean true +d-i partman/confirm_nooverwriteboolean true + +d-i partman-auto-lvm/guided_size string 80% +d-i partman-lvm/confirmboolean true +d-i partman-lvm/confirm_nooverwrite boolean true -- To view, visit https://gerrit.wikimedia.org/r/275738 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I57ddf912f74d1f2ef10e3becf8920d0e022cc0d5 Gerrit-PatchSet: 3 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Papaul Gerrit-Reviewer: RobH Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Adding new partman recipe for 4 disks raid10 with lvm - change (operations/puppet)
Papaul has uploaded a new change for review. https://gerrit.wikimedia.org/r/275738 Change subject: Adding new partman recipe for 4 disks raid10 with lvm .. Adding new partman recipe for 4 disks raid10 with lvm Change-Id: I57ddf912f74d1f2ef10e3becf8920d0e022cc0d5 --- A modules/install_server/files/autoinstall/partman/raid10-gpt-srv-lvm-ext4.cfg 1 file changed, 65 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/38/275738/1 diff --git a/modules/install_server/files/autoinstall/partman/raid10-gpt-srv-lvm-ext4.cfg b/modules/install_server/files/autoinstall/partman/raid10-gpt-srv-lvm-ext4.cfg new file mode 100644 index 000..e5bc202 --- /dev/null +++ b/modules/install_server/files/autoinstall/partman/raid10-gpt-srv-lvm-ext4.cfg @@ -0,0 +1,65 @@ +# Automatic software RAID partitioning +# +# * four disks, sda, sdb, sdc, sdd +# * primary partitions, with LVM +# * GPT layout (large disks, > 2TB) +# * layout: +# - /: ext4, RAID10, 50GB +# - /srv: ext4, RAID10, rest of the space + + +d-ipartman-auto/method string raid +d-ipartman-md/device_remove_md boolean true +d-ipartman-lvm/device_remove_lvm boolean true + +# Use all the disks +d-ipartman-auto/disk string /dev/sda /dev/sdb /dev/sdc /dev/sdd + +# Define physical partitions +d-ipartman-auto/expert_recipe string \ + multiraid ::\ + 1 1 1 grub\ + $primary{ } method{ biosgrub } \ + . \ + 5 80005 raid\ + $primary{ } method{ raid } \ +$lvmignore{}\ + . \ + 10001000-1 raid\ + $primary{ } method{ raid } \ +$lvmignore{} \ +. \ +64 1000 1000 ext4 \ +$primary{ } \ +method{ format }\ +format{ } \ +use_filesystem{ } \ +filesystem{ ext4 } \ +lv_name{ data } \ +$defaultignore{ } \ +$lvmok{ } \ +mountpoint{ /srv } \ +. + + +# Parameters are: +# \ +# +d-ipartman-auto-raid/recipestring \ + 10 4 0 ext4/ \ + /dev/sda2#/dev/sdb2#/dev/sdc2#/dev/sdd2 \ + . \ + 10 4 0 lvm-\ + /dev/sda3#/dev/sdb3#/dev/sdc3#/dev/sdd3 \ + . + +d-ipartman-md/confirm boolean true +d-ipartman-md/confirm_nooverwrite boolean true +d-ipartman/confirm_write_new_label boolean true +d-ipartman/choose_partitionselect finish +d-ipartman/confirm boolean true +d-ipartman/confirm_nooverwrite boolean true + +d-i partman-auto-lvm/guided_sizestring 80% +d-i partman-lvm/confirm boolean true +d-i partman-lvm/confirm_nooverwrite boolean true -- To view, visit https://gerrit.wikimedia.org/r/275738 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I57ddf912f74d1f2ef10e3becf8920d0e022cc0d5 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Papaul ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits