Raid Gone After reboot.

  • Hi All,
    so i did a reboot and on coming back up the raid array did not mount and appeared to be missing.


    cat /etc/fstab


    UUID=6bc6fd5a-d569-419b-9325-00eacbb5703e / ext4 errors=remount-ro 0 1
    # swap was on /dev/sda5 during installation
    UUID=f38a1cf1-4cad-45bd-827d-dc5e0fe8b929 none swap sw 0 0
    /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
    /dev/sdb1 /media/usb0 auto rw,user,noauto 0 0
    # >>> [openmediavault]
    UUID=edc193b2-856a-4c70-b16c-8b8a3a7b76a7 /media/edc193b2-856a-4c70-b16c-8b8a3a7b76a7 xfs defaults,nofail,noexec,usrquota,grpquota,inode64 0 2
    # <<< [openmediavault]


    cat /etc/mdadm/mdadm.conf
    DEVICE partitions


    # auto-create devices with Debian standard permissions
    CREATE owner=root group=disk mode=0660 auto=yes


    # automatically tag new arrays as belonging to the local system
    HOMEHOST <system>


    # definitions of existing MD arrays


    cat /proc/mdstat


    Personalities :
    unused devices: <none>


    mdadm --detail --scan --verbose

    Brings back no results.



    Thanks for all your help in Advance


    -Joe

    • Offizieller Beitrag

    There is more output we need - read

    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!

  • Hi Thanks for the reply details requested listed below.
    cat /proc/mdstat

    Code
    root@Storage-Server:~# cat /proc/mdstat
    Personalities : 
    unused devices: <none>




    blkid


    Code
    root@Storage-Server:~# blkid
    /dev/sda1: UUID="6bc6fd5a-d569-419b-9325-00eacbb5703e" TYPE="ext4" PARTUUID="00027e65-01"
    /dev/sda5: UUID="f38a1cf1-4cad-45bd-827d-dc5e0fe8b929" TYPE="swap" PARTUUID="00027e65-05"
    /dev/sdb: UUID="7d3af6ec-d2a8-7389-e2e1-1d5e80506fd9" UUID_SUB="f0e8d554-b62f-0617-6ae4-504a4e3a677d" LABEL="Storage-Server:MirrorRaid" TYPE="linux_raid_member"
    /dev/sdc: UUID="7d3af6ec-d2a8-7389-e2e1-1d5e80506fd9" UUID_SUB="a9da859b-bb92-d6b6-e329-f217a57086d6" LABEL="Storage-Server:MirrorRaid" TYPE="linux_raid_member"

    fdisk -l




    cat /etc/mdadm/mdadm.conf




    mdadm --detail --scan --verbose



    Code
    root@Storage-Server:~# mdadm --detail --scan --verbose
    root@Storage-Server:~#

    Drives being used
    2x WD Elements 207C




    Thank You in advance

    • Offizieller Beitrag

    Just to see if it works (won't be finished after this):


    mdadm --assemble --force --verbose /dev/md127 /dev/sd[bc]

  • That worked perfect

    Code
    root@Storage-Server:~# mdadm --assemble --force --verbose /dev/md127 /dev/sd[bc]
    mdadm: looking for devices for /dev/md127
    mdadm: /dev/sdb is identified as a member of /dev/md127, slot 0.
    mdadm: /dev/sdc is identified as a member of /dev/md127, slot 1.
    mdadm: added /dev/sdc to /dev/md127 as 1
    mdadm: added /dev/sdb to /dev/md127 as 0
    mdadm: /dev/md127 has been started with 2 drives.
    • Offizieller Beitrag

    Now, execute the following and you should be ok:


    omv-mkconf mdadm

    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!

  • Hi Tried OMV-mkcon mdadm
    and after a reboot I still had to use the code above to mount the array manually.


    Code
    root@Storage-Server:~# sudo omv-mkconf mdadm
    update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
    W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-3.fw for module r8169
    W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-2.fw for module r8169
    W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-2.fw for module r8169
    W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-1.fw for module r8169
    W: Possible missing firmware /lib/firmware/rtl_nic/rtl8411-2.fw for module r8169
    W: Possible missing firmware /lib/firmware/rtl_nic/rtl8411-1.fw for module r8169
    W: Possible missing firmware /lib/firmware/rtl_nic/rtl8402-1.fw for module r8169
    update-initramfs: Generating /boot/initrd.img-3.2.0-4-amd64
    • Offizieller Beitrag

    I wish I knew what caused this but it happens on some systems. What is the output of: cat /etc/mdadm/mdadm.conf

    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!

  • no problem, I really appreciate the help
    The output is.

    • Offizieller Beitrag

    Everything looks right. I don't know why it isn't work at boot. Are they usb drives?

    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

    That is the problem. USB drives seem to start late sometimes and missing the mdadm (raid) assembly search. You can check your bios for usb start delays but not much I can do to fix this one.

    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!

  • Can somebody help me,too


    My Stripeset (RAID0) is missing. Even in the raid managment it isn'T there anymore.


    Please help me.



    Code
    W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
    W: mdadm: no arrays defined in configuration file.

    That'S what I get when I type in


    omv-mkconf mdadm


    and that is in the




    # mdadm.conf
    #
    # Please refer to mdadm.conf(5) for information about this file.
    #


    # by default, scan all partitions (/proc/partitions) for MD superblocks.
    # alternatively, specify devices to scan, using wildcards if desired.
    # Note, if no DEVICE line is present, then "DEVICE partitions" is assumed.
    # To avoid the auto-assembly of RAID devices a pattern that CAN'T match is
    # used if no RAID devices are configured.
    DEVICE partitions


    # auto-create devices with Debian standard permissions
    CREATE owner=root group=disk mode=0660 auto=yes


    # automatically tag new arrays as belonging to the local system
    HOMEHOST <system>


    # definitions of existing MD arrays

Jetzt mitmachen!

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