RAID Missing After Re-Boot

  • Hi guys,


    First time poster and self-professed moron; I’m not bright enough to know what I don’t know. After a year and a half of flawless operation, my RAID went missing after a reboot.


    I tried some of the ‘generic’ recommendations offered here but stopped short of applying any “forced” instructions (I may be a moron, but I’m a cautious moron). I have not rebooted since I found the array missing.


    All my critical files were backed up and are safe, but I have about 14 tbs of media (all legal) hanging in the balance. If the RAID can be restored – fantastic; if not – a big hit, but not a life altering event.


    Per ryecoaaron’s info request for degraded or missing RAID issues, I use 4 WD Red 6TB NAS Internal Hard Drives and the results of the requested inquiries are as follows:


    Code
    root@Server:~# cat /proc/mdstat
    Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
    unused devices: <none>
    Code
    root@Server:~# blkid
    /dev/sdf1: UUID="b8f86e19-3cb3-4d0a-b1e2-623620314887" TYPE="ext4" PARTUUID="79c1501c-01"
    /dev/sdf5: UUID="a631ab49-ab21-4169-8352-aa1829c8a95b" TYPE="swap" PARTUUID="79c1501c-05"
    /dev/sdb1: LABEL="BackUp" UUID="9238bbb9-e494-487d-941e-234cad83a670" TYPE="ext4" PARTUUID="d6e47150-672f-4fb8-a57d-72c6ff0ca4ae"
    /dev/sde: UUID="98379905-d139-d263-d58d-5eb3893ba95b" UUID_SUB="97feb0f7-c46c-0e05-4b6f-4c40a9448f9f" LABEL="Server:Raid1" TYPE="linux_raid_member"
    /dev/sdc: UUID="98379905-d139-d263-d58d-5eb3893ba95b" UUID_SUB="98a8cd6c-cb21-5f16-8540-aa6c88960541" LABEL="Server:Raid1" TYPE="linux_raid_member"
    /dev/sda: UUID="98379905-d139-d263-d58d-5eb3893ba95b" UUID_SUB="f3a4ee0f-ed2a-bf8a-ead3-034b9f975d88" LABEL="Server:Raid1" TYPE="linux_raid_member"
    /dev/sdd: UUID="98379905-d139-d263-d58d-5eb3893ba95b" UUID_SUB="df979bad-92c3-ac42-f3e5-512838996555" LABEL="Server:Raid1" TYPE="linux_raid_member"
    Code
    root@Server:~# mdadm --detail --scan --verbose
    root@Server:~#


    Thank you in advance for any help and/or condolences you may offer.

  • condolences you may offer

    :/ it doesnae look good Jim, some of the output from the dilithium chamber is simply non existent!!


    What type of raid is it?


    output of mdadm --detail /dev/md0 and mdadm --examine /dev/sda

    Raid is not a backup! Would you go skydiving without a parachute?

  • Thanks for responding; it is, er' used to be RAID 5

    If it 'used to be' Raid5 then I would expect some output from /proc/mdstat and mdadm --detail --scan, what's the output of what I asked

    Raid is not a backup! Would you go skydiving without a parachute?

  • I'm guessing that this can't be good:


    Code
    root@Server:~# /proc/mdstat and mdadm --detail --scan
    -bash: /proc/mdstat: Permission denied
    root@Server:~# root@Server:~# /proc/mdstat and mdadm --detail --scan
    -bash: root@Server:~#: command not found
  • Sorry, I warned you I was a moron. Here's what you asked for in the first response:


    Code
    root@Server:~# mdadm --detail /dev/md0 and mdadm --examine /dev/sda
    mdadm: --examine/-E cannot be given with -D
  • Code
    root@Server:~# mdadm --detail /dev/md0
    mdadm: cannot open /dev/md0: No such file or directory
  • Good and bad news, post the output of each of the drives in the array


    mdadm --examine /dev/sdc


    mdadm --examine /dev/sdd


    mdadm --examine /dev/sde

    Raid is not a backup! Would you go skydiving without a parachute?

  • Thank you for your patience, geaves.


  • Here's the fourth drive info:


  • According to the drives they are reporting correctly;


    1) mdadm --stop /dev/md0 that may return an error of not being found so proceed to next


    2) mdadm --assemble --force --verbose /dev/md0 /dev/sd[acde] the array should hopefully rebuild.


    I'm about to go out for about an hour, if the above works DO NOT REBOOT report back.


    It should display rebuilding in the GUI.

    Raid is not a backup! Would you go skydiving without a parachute?

  • I just re-ran your first command for the first drive (sdc) and got this:


    Apparently even my copy and paste 'skills' are now suspect X/


  • Hi geaves,


    This looks promising, I think. GUI shows array as mounted but degraded.


  • :thumbup: That's a good start, to get sda back into the array the easiest way to be sure due to the out of date error,


    Storage -> Disks select /dev/sda click wipe on the menu, then click short, then OK when it's finished


    Raid Management -> Recover, from the dialog box select /dev/sda, the array will now add the drive and rebuild, WAIT for it to complete


    DO NOT REBOOT


    Then run omv-mkconf mdadm


    Then update-initramfs -u

    Raid is not a backup! Would you go skydiving without a parachute?

  • Not to be obtuse, but my options at wipe are 'secure' and 'quick'. By 'short' did you mean quick or did spell check change it?

    I'm sure it really doesn't matter, but this close to the finish line, I really don't want to take chances.

  • Hi geaves,


    I opted for the quick format and the rebuild is at 2%. I know its getting late there, so I wanted to thank you for all your help. I will comply with your instructions and report back tomorrow.


    Again, I can't thank you enough. Have a nice evening.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!