ich bekomme bei einem Server nach einem erfolgreichen Festplattentausch (hot-swap) einen seltsamen Fehler:
Code: Alles auswählen
# update-grub
/usr/sbin/grub-probe: warning: Couldn't find physical volume `(null)'. Some modules may be missing from core image..
[...]
done
Code: Alles auswählen
# cat /proc/mdstat
Personalities : [raid1]
md2 : active raid1 sda3[3] sdb3[2]
454172672 blocks super 1.2 [2/2] [UU]
bitmap: 4/4 pages [16KB], 65536KB chunk
md1 : active raid1 sda2[3] sdb2[2]
523712 blocks super 1.2 [2/2] [UU]
md0 : active raid1 sda1[3] sdb1[2]
33521664 blocks super 1.2 [2/2] [UU]
unused devices: <none>
Code: Alles auswählen
grub-mkdevicemap -n
Wenn ich grub-install direkt aufrufe:
Code: Alles auswählen
# grub-install --recheck /dev/sda
Installing for i386-pc platform.
grub-install: warning: Couldn't find physical volume `(null)'. Some modules may be missing from core image..
grub-install: warning: Couldn't find physical volume `(null)'. Some modules may be missing from core image..
grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
grub-install: error: embedding is not possible, but this is required for RAID and LVM install.
Code: Alles auswählen
# fdisk -l /dev/sda
Disk /dev/sda: 477 GiB, 512110190592 bytes, 1000215216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: A***
Device Start End Sectors Size Type
/dev/sda1 2048 67110912 67108865 32G Linux RAID
/dev/sda2 67112960 68161536 1048577 512M Linux RAID
/dev/sda3 68163584 976771120 908607537 433.3G Linux RAID
Wie kann ich den Fehler (im laufenden Betrieb) beheben?