Hi
Sorry für die Überschrift, aber mir fällt nichts besseres ein...
Also ich habe Ubuntu 16.04 auf einem ZFS-Pool mit 4 Platten installiert. Aber wie händelt man ausfallsicher EFI Partitionenen um nach dem Tauschen eine Festplatte weiterhin ein Bootfestes System zu haben?
root@openstack:/home/dhojnik# parted /dev/sda print Model: ATA VMware Virtual S (scsi) Disk /dev/sda: 215GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 1 1049kB 128MB 127MB fat32 efi boot, esp 2 128MB 215GB 215GB zfs tank root@openstack:/home/dhojnik# parted /dev/sdb print Model: ATA VMware Virtual S (scsi) Disk /dev/sdb: 215GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 1 1049kB 128MB 127MB fat32 efi boot, esp 2 128MB 215GB 215GB zfs tank root@openstack:/home/dhojnik# parted /dev/sdc print Model: ATA VMware Virtual S (scsi) Disk /dev/sdc: 215GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 1 1049kB 128MB 127MB fat32 efi boot, esp 2 128MB 215GB 215GB zfs tank root@openstack:/home/dhojnik# parted /dev/sdd print Model: VMware, VMware Virtual S (scsi) Disk /dev/sdd: 215GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 1 1049kB 128MB 127MB fat32 efi boot, esp 2 128MB 215GB 215GB zfs tank
Wie zu Sehen der Anfang jeder Platte ist halt EFI, die ZFS Partitionen bilden einen zRAID 10 ab. Fällt eine Platte aus, setze ich eine baugleiche rein. Auf meinem Testsystem habe ich Grub auf jedem EFI Volume installiert. Booten geht jedoch nur von /dev/sda1. Es scheitert Betreff EFI beim Booten von /dev/sdb1 /dev/sdc1 /dev/sdd1 sofern ich /dev/sda komplett aus dem System entferne um einen Ausfall zu simulieren.
Die EFI partitionen habe ich jeweils seperad gemounted und Grub via "grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=ubuntu --recheck --no-floppy" jeweils pro Platte/Partition installiert
Also so wie Beschrieben geht das nicht :/ Ich benutze zum testen derzeit eine VMware VM mit 10 GB Ram und 6 Cores. Gibt es da einen besseren Weg für? Ich finde HW Raid Controller zu teuer und noch schlimmer einen Singlepoint of massive failures. ZFS schlägt fast alles