Page MenuHomePhabricator
Paste P5941

kafka-jumbo.cfg 1
ArchivedPublic

Authored by RobH on Aug 29 2017, 4:56 PM.
Tags
None
Referenced Files
F9206383: kafka-jumbo.cfg 1
Aug 29 2017, 4:56 PM
Subscribers
None
# configuration to create:
# * hardware raid on kafka-jumbo hosts
# * sda raid1: 2 * 1TB mounted as /
# * sdb raid10: 12 * 4TB in 90% lvm as /srv
# ** 10% empty space for later/emergency growth
d-i partman-auto/method string lvm
d-i partman-auto/disk string /dev/sda /dev/sdb
# the install makes sure we want to wipe the lvm
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman/confirm boolean true
d-i partman-auto/expert_recipe string \
40000 40000 12000000 ext4 \
$primary{ } \
$bootable{ } \
method{ format } \
format{ } \
device{ /dev/sda } \
use_filesystem{ } \
filesystem{ ext4 } \
mountpoint{ / } \
. \
64 1000 10000000 ext4 \
lv_name{ data } \
$defaultignore{ } \
$lvmok{ } \
mountpoint{ /srv } \
device{ /dev/sdb } \
use_filesystem{ } \
filesystem{ ext4 } \
options/nobarrier { nobarrier } \
options/noatime { noatime } \
.
d-i partman-auto-lvm/guided_size string 90%
d-i partman/choose_partition \
select finish
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman-auto/choose_recipe es
d-i partman/confirm_nooverwrite boolean true
partman-basicfilesystems partman-basicfilesystems/no_swap boolean false