Ubuntu 22.04 not installing on md partition
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin (Ubuntu) |
Invalid
|
High
|
Unassigned | ||
probert (Ubuntu) |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
I'm trying to install Ubuntu 22.04 server edition, using /boot and / as separate partitions, both as md array, but it fails.
Looking at log seems that the installer is looking for a device that not exists:
ValueError: Specified md device does not exist: /dev/md/md127p1
but to me seems that it is looking for a malformed device name: from the logs it finds correctly
and in the shell I can look at it:
root@ubuntu-
brw-rw---- 1 root disk 9, 125 Apr 23 18:03 /dev/md125
brw-rw---- 1 root disk 259, 1 Apr 23 18:17 /dev/md125p1
brw-rw---- 1 root disk 9, 126 Apr 23 18:03 /dev/md126
brw-rw---- 1 root disk 9, 127 Apr 24 08:12 /dev/md127
brw-rw---- 1 root disk 259, 2 Apr 24 08:12 /dev/md127p1
Instead, in the /dev/md/ I find a "descriptive" name of the array, but is not the name the installer is looking for:
root@ubuntu-
total 0
drwxr-xr-x 2 root root 140 Apr 24 08:12 .
drwxr-xr-x 20 root root 4860 Apr 24 08:12 ..
lrwxrwxrwx 1 root root 8 Apr 23 18:03 oscar-backend:41 -> ../md126
lrwxrwxrwx 1 root root 8 Apr 24 08:12 ubuntu-server:73 -> ../md127
lrwxrwxrwx 1 root root 10 Apr 24 08:12 ubuntu-server:73p1 -> ../md127p1
lrwxrwxrwx 1 root root 8 Apr 23 18:03 ubuntu-server:82 -> ../md125
lrwxrwxrwx 1 root root 10 Apr 23 18:17 ubuntu-server:82p1 -> ../md125p1
Also /proc/mdstat looks good:
root@ubuntu-
Personalities : [raid1] [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid10]
md125 : active raid1 sdb4[0] sdc4[1]
524155904 blocks super 1.2 [2/2] [UU]
bitmap: 0/4 pages [0KB], 65536KB chunk
md126 : active (auto-read-only) raid5 sdb5[1] sda5[3] sdc5[0]
10653326336 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
bitmap: 0/40 pages [0KB], 65536KB chunk
md127 : active raid1 sdc2[1] sdb2[0]
1046528 blocks super 1.2 [2/2] [UU]
unused devices: <none>
Changed in curtin (Ubuntu): | |
status: | New → Confirmed |
tags: | added: fr-2277 |
Oops, this is my fault, in https:/ /github. com/canonical/ probert/ commit/ 5a37f8821bf6ad1 af19babc862a17e 148da5ae25 I accidentally changed to code so that it would think that partitions of an existing RAID are RAID devices.