I am currently using Container Linux for my home server and I want to upgrade to Flatcar Linux. To do this I plan to use Ignition and configure RAID 1 for the root filesystem.

I have two disks dedicated for the root filesystem and the rest form a BTRFS array for extra storage, so I want to make sure not to overwrite the BTRFS disks. The root disks for Container Linux currently register as /dev/sda and /dev/sdb. My understanding is that the names of these disks depends on which Linux kernel you are using and other random boot factors.

How can I make sure I pick the right disks in my Ignition configuration? I guess this is a very common issue but I can't find anything specific to Container Linux/Flatcar Linux.

1 Answer 1


I solved this using the WWNs in /dev/disk/by-id.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.