Public bug reported:

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

           "device_path": "/dev/md127p1"

and in the shell I can look at it:

root@ubuntu-server:/# ls -la /dev/md*
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-server:/# ls -la /dev/md/       
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-server:/# cat /proc/mdstat 
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>

** Affects: curtin (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "installer log"
   
https://bugs.launchpad.net/bugs/1970116/+attachment/5583143/+files/1650787208.827542782.install_fail.crash.gz

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

Title:
  Ubuntu 22.04 not installing on md partition

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to