Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3991345
Draft of partition scheme
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
elukey
May 10 2016, 1:42 PM
2016-05-10 13:42:49 (UTC+0)
Size
2 KB
Referenced Files
None
Subscribers
None
Draft of partition scheme
View Options
# Automatic software RAID partitioning
#
# Analytics Query Service
#
# * 8 SSDs, sda, sdb, sdc, sdd, sde, sdf, sdg, sdh
# * LVM
# * layout:
# - /: RAID10, 30GB
# - /srv/cassandra-a: RAID0, on sda, sdb, sdc, sdd
# - /srv/cassandra-a: RAID0, on sde, sdf, sdg, sdh
d-i partman-auto/method string raid
d-i partman-md/device_remove_md boolean true
d-i partman-lvm/device_remove_lvm boolean true
d-i partman/alignment select optimal
d-i partman-auto/disk string /dev/sda /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf /dev/sdg /dev/sdh
d-i partman-auto/choose_recipe select multiraid
# Define physical partitions
d-i partman-auto/expert_recipe string \
multi-raid :: \
30000 1 30000 raid \
$primary{ } method{ raid } \
$lvmignore{ } \
. \
100000 4 -1 ext4 \
$lvmok{ } \
$defaultignore{ } \
lv_name{ srv_cassandra_a } \
method{ format } \
format{ } \
use_filesystem{ } \
filesystem{ ext4 } \
mountpoint{ /srv/cassandra-b } \
. \
100000 4 -1 ext4 \
$lvmok{ } \
$defaultignore{ } \
lv_name{ srv_cassandra_b} \
method{ format } \
format{ } \
use_filesystem{ } \
filesystem{ ext4 } \
mountpoint{ /srv/cassandra-b } \
.
# Parameters are:
# <raidtype> <devcount> <sparecount> <fstype> <mountpoint> \
# <devices> <sparedevices>
d-i partman-auto-raid/recipe string \
10 4 2 ext4 / \
/dev/sda1#/dev/sdb1#/dev/sdc1#/dev/sdd1 \
. \
0 4 0 lvm - \
/dev/sda2#/dev/sdb2#/dev/sdc2#/dev/sdd2 \
. \
0 4 0 lvm - \
/dev/sde1#/dev/sdf1#/dev/sdg1#/dev/sdh1 \
.
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/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman-auto-lvm/guided_size string 90%
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-lvm/device_remove_lvm boolean true
d-i mdadm/boot_degraded boolean true
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3714704
Default Alt Text
Draft of partition scheme (2 KB)
Attached To
Mode
P3025 Draft of partition scheme
Attached
Detach File
Event Timeline
Log In to Comment