I came across this while also trying to set up a 2-drive RAID1 with a
spare. Weird that this has been opened this long.

I looked through documentation as well as partman source (learned spares
is 7th argument) and realized this is not a bug, just wrong syntax on
your part. The spare has to be put in its own separate list, so just add
a space instead of a # for your last drive/spare device(s) thereby
separating it from the devices meant for the array, e.g.:

'''
1 2 1 ext4 / /dev/sda1#/dev/sdb1 /dev/sde1
'''

>From the Partman Wiki:
<raidtype> <devcount> <sparecount> <fstype> <mountpoint> <devices> 
<sparedevices>

Hope this helps whoever googles this next time.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1006805

Title:
  RAID1 with spare preseed error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/preseed/+bug/1006805/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to