On mine I have md raid1 configured for /boot. Old install no /boot/efi but it should also work for /boot/efi because even with mdraid the bios/efi will still be able to find what it needs to find to boot but when the OS comes up it mounts the md-raid raid1 devices.
This would allow you to survive a disk failure, but not survive a bad deletion at the fs level.
On Tue, Jun 18, 2024 at 12:59 PM Frank Bures buresf@gmail.com wrote:
On 2024-06-18 13:52, Frank Bures wrote:
Just to explain:
I do not dd the whole /dev/sda. There are only /boot and /boot/efi partitions on the disk, the rest is unformatted. I only dd the formatted sectors.
The whole idea of having the same UUID on both sda and sdg is the ability of just booting from the other disk in case of sda failure without having to reconfigure anything. Now I understand the problem this arrangement creates.
If I understand correctly, doing rsync backup would not guarantee this direct boot functionality.
Any other thoughts?
Or I could just live with it. Let the machine decide, which disk it wants to mount and then copy the boot disk to that disk. I could even automatize the backup script to make the decision by itself. In fact, there is no difference between mounting sda or sdg as /boot if they are the same with the same UUID..
Cheers Frank
--
listfrank1@gmail.com
users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue