RAID after OMV Version change not existing anymore

  • Dear all,


    after the change of OMV version, the software RAID (2x 500GB - Mirror) is not shown anymore. I just see the 2 drives under drives. Lasttime I had a change of my hardware, The RAID was shown unter RAIDS.


    What can I do to get my RAID and data back?


    If I create a new RAID in the webgui, my data will be deleted, or?


    Thanks for yor help.


    If I type say mount at the shell I get:




    On fdisk -lu I get:





    Regards,
    peleroform

    OMV 2.2.1 @ AMD Athlon(tm) XP 3000+
    OMV 2.2. @ Banana Pi M1 (only for testing)

    Einmal editiert, zuletzt von peleroform ()

  • The change was from a 3.x (sorry can not remember the exact version) to the actuall Version 4.
    The basic Hardware ( a banana pi) is still the same.


    What did I:


    The banana pi should be upgraded to version 4. During the process, something got wrong, so that the installation could not been used anymore.
    So I desiced to setup the system new.


    During the time to setup, I connected the 2 drives to a VM with OMV 4 just to get the data to work. The drives are found and the raid also at the VM.


    After seting up the banana pi new now, I pluged the 2 drives in. They are found but not the raid.



    The output of the shell is:


    1. cat /proc/mdstat


    Code
    Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
    md127 : inactive sdb[0](S) sda[2](S)
          976511024 blocks super 1.2
    
    
    unused devices: <none>


    2. blkid

    Code
    /dev/mmcblk0p1: UUID="a92f0025-df4e-46d0-b014-6787bd3a082c" TYPE="ext4" PARTUUID="d2267b65-01"
    /dev/mmcblk0p2: UUID="22344ba7-9248-4a85-9c7b-04d421246574" UUID_SUB="8163720d-cd6f-498f-b4ca-dd27ab0e80ec" TYPE="btrfs" PARTUUID="d2267b65-02"
    /dev/zram0: UUID="6ea6f6ce-848a-431e-b4ef-1fc73bfa3668" TYPE="swap"
    /dev/zram1: UUID="a8420136-54f3-4848-86b7-55ce2c861368" TYPE="swap"
    /dev/sdb: UUID="78097544-450b-f1c7-7961-e9241171dbe9" UUID_SUB="54d34082-4fd9-d138-f135-bb0d4a6e4f6c" LABEL="openmediavault:AquaServer" TYPE="linux_raid_member"
    /dev/sdc: UUID="78097544-450b-f1c7-7961-e9241171dbe9" UUID_SUB="902996a0-2bfb-97e3-29ca-2e53e3fb4bf5" LABEL="openmediavault:AquaServer" TYPE="linux_raid_member"
    /dev/mmcblk0: PTUUID="d2267b65" PTTYPE="dos"
    /dev/mmcblk0p3: PARTUUID="d2267b65-03"
    root@bananapi:~#

    3. fdisk -l | grep "Disk "



    Code
    Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors
    Disk /dev/ram1: 4 MiB, 4194304 bytes, 8192 sectors
    Disk /dev/ram2: 4 MiB, 4194304 bytes, 8192 sectors
    Disk /dev/ram3: 4 MiB, 4194304 bytes, 8192 sectors
    Disk /dev/mmcblk0: 7.5 GiB, 8068792320 bytes, 15759360 sectors
    Disk identifier: 0xd2267b65
    Disk /dev/zram0: 249.7 MiB, 261767168 bytes, 63908 sectors
    Disk /dev/zram1: 249.7 MiB, 261767168 bytes, 63908 sectors
    Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 sectors
    Disk /dev/sdc: 465.8 GiB, 500107862016 bytes, 976773168 sectors

    4. cat /etc/mdadm/mdadm.conf




    5. mdadm --detail --scan --verbose


    INACTIVE-ARRAY /dev/md127 num-devices=1 metadata=1.2 name=openmediavault:AquaServer UUID=78097544:450bf1c7:7961e924:1171dbe9devices=/dev/sdb


    6. Post type of drives and quantity being used as well.


    USB 2.0 - 500GB each



    7. Post what happened for the array to stop working? Reboot? Power loss?


    see before



    Thanks for help

    OMV 2.2.1 @ AMD Athlon(tm) XP 3000+
    OMV 2.2. @ Banana Pi M1 (only for testing)

    • Offizieller Beitrag

    After seting up the banana pi new now, I pluged the 2 drives in. They are found but not the raid.

    The use of USB drives for raid was disabled in v4, but from the output of blkid your updated OMV on the banana pi is not seeing a filesystem on the 2 drives /dev/sdb and /dev/sdc, an explanation of which is in this thread

  • But, when I used the VM with OMV 4 it worked.... I hat the drives .... and they are still USB


    So if I downgrade to 3.x it should work again?

    OMV 2.2.1 @ AMD Athlon(tm) XP 3000+
    OMV 2.2. @ Banana Pi M1 (only for testing)

    • Offizieller Beitrag

    But, when I used the VM with OMV 4 it worked

    Yes, I noticed you mentioned that, why I don't know.


    So if I downgrade to 3.x it should work again?

    Most likely, but before you do that I would look at other alternative options and ask yourself why am I using raid.

  • Yes, I noticed you mentioned that, why I don't know.



    Most likely, but before you do that I would look at other alternative options and ask yourself why am I using raid.

    Well, than lets try it.


    Why RAID? It was only for a project, and now. I need a few data from that project - and all files are backuped, only the 2 I need not - why... the project ends and nobody thought that the files will be need anymore.

    OMV 2.2.1 @ AMD Athlon(tm) XP 3000+
    OMV 2.2. @ Banana Pi M1 (only for testing)

    • Offizieller Beitrag

    What you could do then is to keep the upgrades OMV 4 and use the 2 drives individually, 1 for data and the second for rsnapshot backing up the first.


    The raid working in the VM might because (I don't know) that it's an earlier version of 4.

    • Offizieller Beitrag

    Have you seen this?
    RAID5 not mounted after upgrade


    Creating RAID with USB drives has been disabled in the GUI, but it is still possible from CLI.
    But this should only be used in "emergency" situation as RAID in combination with USB seems to be a bad idea.

Jetzt mitmachen!

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