Am 13.09.22 um 22:28 schrieb Roman Mamedov:
On Tue, 13 Sep 2022 21:54:21 +0200
Reindl Harald <h.reindl@xxxxxxxxxxxxx> wrote:
it's not funny when you are used to rsync your /etc/fstab over 11 years
that doing so would lead in a unbootbale system on the other side
For this I'd suggest to use LABEL=rootfs (and so on) in fstab, instead of
UUIDs.
It's kind of the point of UUIDs that they are supposed to be (even globally)
unique, and there should not be the same UUID on two different machines
that's already the case for 15 years here
but there is also mdadm.conf and sadly a copy in the intird
It has never occured to me to check, but you could also specify arrays by
"name=" there, instead of UUID. See "man mdadm.conf".
and the name is *what*
ARRAY /dev/md1 UUID=b7475879:c95d9a47:c5043c02:0c5ae720
ARRAY /dev/md2 UUID=ea253255:cb915401:f32794ad:ce0fe396
And it is possible to rename arrays:
https://askubuntu.com/questions/63980/how-do-i-rename-an-mdadm-raid-array
Having same-name arrays on different hosts seems much more reasonable than
same UUIDs
i get sick and tired after "Then with just two drives you change the
raid to raid-1" and "mdadm: RAID10 can only be changed to RAID0" don't
get me wrong but people coming with "i think" and "it may" shouldn't say
nothing unless they did things in *reality*
i will find a way to get all this crap booting as RAID1 without
reinstall the OS and nothing here is really helpful