Manjaro does not recognize LVM PV on top of mdadm RAID 1
I am a long time Fedora user who has just installed Manjaro KDE in a multi-boot arrangement. I have run into one issue. I have an mdadm RAID 1 with an LVM PV on top. It contains a volume group and is divided into several data partitions. With Fedora everything is recognized at boot.
Code:
$ cat /etc/fedora-release Code:
$ cat /etc/manjaro-release |
auto-read-only seems to be a normal intermediate status when assembling an array. Which is what you are doing - your system boots, finds MD array superblocks and assembles the array. See also https://unix.stackexchange.com/quest...resync-pending.
A few suggestions for getting more information about your problem: Code:
mdadm --detail /dev/mdwhatever Did you create the array on the Manjaro system or did you migrate it there from Fedora? Has the Manjaro box ever recognized the PV? EDIT: Example for mdadm.conf: Code:
# cat /etc/mdadm.conf Code:
mdadm --stop /dev/mdwhatever |
Quote:
I was drawn to try another distribution as RH deprecated KDE and KDE soon stopped working when I 'updated' Centos 7. I like KDE Plasma and wanted to try another distribution where KDE is officially supported. I was drawn to Manjaro specifically by positive comments made on FedoraForum by several people one of whom is a forum moderator. Quote:
I created the array in summer 2016 when I bought two 3TB WD drives, assembled them into a RAID1 mirror and then put LVM on top. The creation went perfectly and it worked immediately. It was all created with Centos 7 but worked perfectly with Fedora 24,28 and now 29. Everything was assembled at boot and the volume group and all of the LVs inside were visible and mountable after boot. Two of the LVs are mounted in my fstab on Fedora and Centos as well the swap partition is on this array to reduce wear on the SSD. Thank you for your reply. I will try your suggestions. I now realize that despite what flaws it may have Fedora is quite powerful. |
Manjaro is (or was) based on Arch - so you'd need to make sure the appropriate modules are;
i) in the initrd, and ii) in the correct order. Normally for data partitions it shouldn't matter, but it probably will for swap. As with all things Arch, see the wiki - amongst the best doco around. FWIW I found Manjaro "difficult" to adopt after years of Fedora - and although I also did KDE (for digikam) I still hate it. That machine only gets used for photo processing - but I use btrfs for RAID, not mdadm. |
A late reply. The problem eventually went away with a few more boots. It was intermittent at first occurring on some boots and not others but eventually went away for good. I now mount data partitions on these LVs on top of the RAID1 in Manjaro with no problems.
|
All times are GMT -5. The time now is 04:57 PM. |