Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Ubuntu is known to break things, quite often,

Indeed.

Try and install 22.04 on a server that has two exactly identical NVME drives, you're very likely going to be in for a very interesting adventure involving a strange beast called 'multipath' devices.

It was so bad I had to switch back to the legacy text installer for 20.04.



Disabling multi path is pretty easy. That being said, months of strange errors and mount issues took a really long time to discover that that was the issue.


> Disabling multi path is pretty easy.

At install time?

All my attempts have failed in the following fashion:

    . I boot the text only installer
    . Once it runs I switch to a shell
    . I edit the python code of subiquity / curtin to rip out anything that has to do with mutlipath
    . I disable all systemd shite related to multipath
    . I kill the installer (and systemd restarts it)
    . When I get to partioning, I finally see my NVME devices instead of the weird multipath stuff
    . I create a raid-0 partition on them
    . The installer then fails miserably
Care to share your recipe?


Put

```

blacklist { devnode "^sd[a-z0-9]+" }

```

In /etc/multipath.conf (modify for nvme as needed)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: