Restoring software RAID5 in new system/won't mount.

  • I upgraded hardware and went to the latest OMV 2.1 as well.


    I have 3 4TB drives set up in RAID5, I put them in the new system went under raid management and created a new raid.


    Under file systems I have device /dev/md0 with label Media^P-M-;^D Under total and unused I have n/a mounted no referenced no and online.


    I go to mount it and get

    Zitat

    Failed to mount 'de05ecdc-41bc-41dc-ab98-dc4d7b1f0e6d': mount: wrong fs type, bad option, bad superblock on /dev/md0, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so



    Not really sure where to go from here. There is or was still data on the drives.. it is backed up so losing it isn't a big deal.


    Here is the commands the message suggested trying


    If you need any more info let me know thanks

  • here is cat /proc/mdstat

    Code
    cat /proc/mdstat
    Personalities : [raid6] [raid5] [raid4]
    md0 : active raid5 sdd[2] sdc[1] sdb[0]
          7813774336 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU]


    and fdisk -l

    • Offizieller Beitrag

    uuid is used so device name is not a problem. What is the output of blkid

    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!

  • Code
    root@openmediavault:~# blkid
    /dev/sda5: UUID="3bf9239d-5341-40f6-9374-fd96ec1037b3" TYPE="swap"
    /dev/sda1: UUID="247bba48-e673-420c-a4f0-3a121a8bc234" TYPE="ext4"
    /dev/sdb: UUID="b040ce6c-ce3b-7d0b-0a44-acd3cdf43ca8" UUID_SUB="4f4d6744-78dc-ca63-ac9b-18f4369ad2b2" LABEL="openmediavault:media" TYPE="linux_raid_member"
    /dev/sdd: UUID="b040ce6c-ce3b-7d0b-0a44-acd3cdf43ca8" UUID_SUB="c0732d07-6f8e-9041-9de8-c19474e41b6e" LABEL="openmediavault:media" TYPE="linux_raid_member"
    /dev/md0: LABEL="Media^P-M-;^D" UUID="de05ecdc-41bc-41dc-ab98-dc4d7b1f0e6d" EXT_JOURNAL="00000500-0000-0000-0000-00000010c8fd" TYPE="ext4"
    /dev/sdc: UUID="b040ce6c-ce3b-7d0b-0a44-acd3cdf43ca8" UUID_SUB="a8cb6cba-f5e4-3328-45c5-f49d7db65f79" LABEL="openmediavault:media" TYPE="linux_raid_member"
    root@openmediavault:~#
    • Offizieller Beitrag

    Your label seems corrupt but maybe not. Never seen the EXT_JOURNAL line in blkid. What does the following tell you: fsck.ext4 -f /dev/md0

    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!

  • Code
    root@openmediavault:~# fsck.ext4 -f /dev/md0e2fsck 1.42.5 (29-Jul-2012)fsck.ext4: Filesystem revision too high while trying to open /dev/md0The filesystem revision is apparently too high for this version of e2fsck.(Or the filesystem superblock is corrupt)The superblock could not be read or does not describe a correct ext2filesystem. If the device is valid and it really contains an ext2filesystem (and not swap or ufs or something else), then the superblockis corrupt, and you might try running e2fsck with an alternate superblock:e2fsck -b 8193 <device>
    • Offizieller Beitrag

    I would boot the latest systemrescuecd on the system and try the fsck again.

    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!

    • Offizieller Beitrag

    It might not be md0. cat /proc/mdstat will tell you what to use. If it is corrupt, systemrescuecd should have new enough utils to fix. Not sure why omv's tools aren't.

    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!

    • Offizieller Beitrag

    I think there is about a 25% chance it is still there. Not a good feeling because of the label and newer utils error. Been wrong plenty of times before though :)

    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!

  • I think there is about a 25% chance it is still there. Not a good feeling because of the label and newer utils error. Been wrong plenty of times before though :)

    on rescuesystemcd... I did fdisk -l and it shows no raid just my 3 data drives my system drive and my flash drive..

    • Offizieller Beitrag

    I would wipe the three drives then.

    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!

  • So trying to figure out what might have gone wrong. Was it possibly because it was never unmounted with the old setup? I simply shut down removed the drives and through them into the new box.

    • Offizieller Beitrag

    I've seen a lot of weird things with mdadm raid lately that I can't explain.

    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!