Upgrade disaster - lost data LVM

  • I had (have) been running OMV for a long time.


    I upgraded ages ago by pulling my data drives , which are three disks in a md raid 5, installing OMV again, then putting the data disks back in. OMV then detected the RAID and LVM, and it worked.


    So this time, going from 0.5 to 2.1


    Pulled the data disks, installed 2.1


    I now find that the md assembles as md127 showing UUU on raid 5:


    md127 : active (auto-read-only) raid5 sdd1[0] sda[2] sdb[3]
    3905399104 blocks super 1.2 level 5, 32k chunk, algorithm 2 [3/3] [UUU]


    But, it won't find the LVM PV that I had on the MD.


    pvscan returns:
    /dev/md127: size is 7810798208 sectors
    /dev/md127: size is 7810798208 sectors
    /dev/md127: No label detected


    There's no partition table showing on /dev/md127, but I honestly can't remember if I partitioned the md raid device before running pvcreate on it initially.


    I can dump some of the md127 using dd, so it's readable and it looks like I get some sensible data.


    Hoping it's some LVM metadata incompatiblity between 0.5 and 2.1, is this possible?


    I'd love some answer as to how I can get LVM running on this again. ||


    Thank you

    • Offizieller Beitrag

    Your array being in auto-read-only mode might be causing the issue. Try: mdadm --readwrite /dev/md127


    And the physical volume is there but is the volume group? What is the output of vgs or vgscan?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!