[linux-support] Gentoo Kernel Update LVM2?
Simon Wittwer
simonwittwer at bluewin.ch
Fri Sep 10 22:33:30 CEST 2021
Hallo Allerseits
Eine Frage an die Gentoo User: Beim letzten world update wurde lvm2
nicht mit USE="static-libs" kompiliert(eudev - udev-Problem), nach dem
Kernel-upgrade von 5.10.52 auf 5.10.61 wird mein raid5 nicht gestartet:
Server:
Intel(R) Xeon(R) CPU E31230 @ 3.20GHz
32GB Ram
5 Festplatten:
1 System
4 Raid5 je 500GB (Virtualisierung mit qemu und libvirt: Nextcloud und
File-server und Binhost-Server)
# cat /proc/mdstat
cat: /proc/mdstat:no such file or directory
# /etc/init.d/mdadm status
* status: stopped
# /etc/init.d/mdadm start
---
# /etc/init.d/mdraid start
* mdadm: unexpected failure opening /dev/md127
# mdadm --detail --scan
---
# mdadm --assemble --scan
mdadm: unexpected failure opening /dev/md127
mdadm: No arrays found in config file or automatically
zurück zum "alten" Kernel
# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md127 : active raid5 sdc1[1] sde1[4] sdd1[2] sdb1[0]
1464757248 blocks super 1.2 level 5, 512k chunk, algorithm 2
[4/4] [UUUU]
bitmap: 2/4 pages [8KB], 65536KB chunk
unused devices: <none>
# mdadm --detail --scan
ARRAY /dev/md/server:pool metadata=1.2 name=server:pool
UUID=80021335:f49c642b:e63afe7e:1c9988c6
# cat /etc/fstab
/dev/sda3 / ext4 noatime 0 1
/dev/sda4 none swap sw 0 0
/dev/sda1 /boot/efi vfat noauto,noatime 0 0
/dev/md127 /var/lib/libvirt ext4 noatime 0 2
Auch ein USE="static-libs -udev"emerge -av lvm2 brachte keine Änderung.
Ich stehe ein bisschen am Hag, habe kein Logical Volume angelegt,
sondern mein Raid /dev/md127 direkt mit ext4 formatiert. Was mich vor
allem verwirrt, wieso mdadm mit dem neuen Kernel nicht gestartet wird,
mdraid beim Start eine Fehlermeldung rauswirft, dabei wurden keine
Änderungen in der Kernel-config
(ausser:CONFIG_GENTOO_PRINT_FIRMWARE_INFO=y) vorgenommen.
Da ich in nächster Zeit einen Umbau des Raid plane (mit Raid5 und lvm),
ist es mehr eine Verständinisfrage welche Änderung mich auflaufen lässt.
Liebe Grüsse
Simon Wittwer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x822685A8464DC8E8.asc
Type: application/pgp-keys
Size: 4797 bytes
Desc: OpenPGP public key
URL: <http://maillists.lugbe.ch/pipermail/linux-support/attachments/20210910/442008b1/attachment.skr>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://maillists.lugbe.ch/pipermail/linux-support/attachments/20210910/442008b1/attachment.sig>
More information about the Linux-support
mailing list