Ubuntu Pastebin

Paste from warthog42 at Fri, 18 Mar 2016 19:16:13 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
I am attempting to do an automated install of Ubuntu Trusty 14.04 on a Dell C6320 with 6 2TB disks.

I have been able to manually install one with the configuration I want, but obviously that isn't ideal.

The layout I want is as follows:

(same partitioning on all 6 drives)

partition 1 - ~512MB EFI partition
partition 2 - Rest of disk as a physical raid volume

md - one raid5 device with all of the partition #2 included, all active no spare

lvm - one volume group (vg00) that uses the md device and two logical volumes (200GB / and 16GB swap).

I have tried the below preseed disk partitioning info with and without another md device for /boot as ext3, 
with the partman/confirm_write_new_label written as partman-partitioning/confirm_write_new_label and other things
that I have found on the net with no success.  

If anybody has any suggestions or see issues with the preseed info I have provided please let me know!
Raw

#### Preseed partitioning info:
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-md/device_remove_md boolean true
d-i partman-lvm/confirm boolean true
d-i partman-auto/disk string /dev/sda /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf
d-i partman-auto/method string raid
d-i partman-auto-lvm/new_vg_name string vg00
d-i partman-auto-lvm/guided_size string max


d-i partman-auto/expert_recipe string          \
    multiraid ::                               \
        512 513 512 free                       \
            $iflabel{ gpt }                    \
            $reusemethod{ }                    \
            $bootable{ }                       \
            $primary{ }                        \
            method{ efi }                      \
            format{ }                          \
        .                                      \
        400000 500000 -1 raid                  \
            $lvmignore{ }                      \
            $primary{ }                        \
            method{ raid }                     \
        .                                      \
        200000 4 200000 ext4                   \
            $defaultignore{ }                  \
            $lvmok{ }                          \
            method{ format }                   \
            use_filesystem{ }                  \
            filesystem{ ext4 }                 \
            mountpoint{ / }                    \
            lv_name{ root_lv }                 \
        .                                      \
        16000 5 16000 linux-swap               \
            $defaultignore{ }                  \
            $lvmok{ }                          \
            method{ swap }                     \
            format{ }                          \
            lv_name{ swap_lv }                 \
        .

d-i partman-auto-raid/recipe string            \
    5 6 0 lvm -                                \
        /dev/sda2#/dev/sdb2#/dev/sdc2#/dev/sdd2#/dev/sde2#/dev/sdf2 \
    .

d-i partman-md/confirm 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-md/confirm_nooverwrite boolean true
d-i partman/confirm_nooverwrite boolean true
d-i mdadm/boot_degraded boolean true
Download as text