How to get data off my RAID

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • How to get data off my RAID

      Hello first post here. I’m not a professional by any means I really just know enough to get me into trouble. So this is what happened. I had an omv server up and running on my old dell intel duo core with 2 8tb HD in a RAID 1. And you know what one day with a little power surge that 10 years old computer didn’t want to wake up any more. Tried replacing the power supply but that did nothing it was something deeper and I didn’t care to invest more time or money in to it.

      For a while I’ve been wanting to us these 8tb HDs for something else (not omv) but I need the data off of them. After the omv server broke I bought a Pi 3B, installed omv, and hoped omv would detect the RAID on the discs and I could the transfer 2tb worth of data to a new disk (and use rsyc from then on).

      I said hoping… after getting omv on the Pi all set up omv would not detect the RAID (the drives are now in two USB enclosers) it shows the 2 disks in the ‘DISKS’ menu and only one file for the RAID under ‘File Systems’ but I can’t mount or unmount and show nothing under ‘RAID Management.

      I don’t even care about getting the RAID working again I just need the data off of one of the 8tb drives. Any help would be great. I’m not too savvy with CLI but can figure it out if told what to do.
      Images
      • Screen Shot 2019-11-16 at 3.59.06 PM.png

        84.41 kB, 1,103×727, viewed 43 times
      • Screen Shot 2019-11-16 at 3.59.44 PM.png

        94.44 kB, 1,268×731, viewed 34 times
      Just turn it off then I on.
    • So the Raspi doesn't have enough power to power those external drives. You will need to use a powered USB hub. Raspi has some issues with loading the drivers late on the USB hub so you should wait until after it boots and gets network before you plug in the connector from the powered USB hub.

      If that works for you then you can edit /etc/rc.local and put the following just before the exit statement:

      Shell-Script: /etc/rc.local

      1. sleep 30
      2. mount -a
      3. exit
      I is the quizat haderach
      --
      OMV 4.x - Raspi 4 4g 4tb R1
    • DesertPilot wrote:

      The RAID is mmcblk0p2 I need to mount that to get the info off it.
      That is OMV's boot partition not your raid. Your two raid drives are /dev/sda and /dev/sdb they are clearly shown under Storage -> Disks to confirm they are your raid drives run blkid then you'll need to create then assemble to get the raid up.

      Another way to do this is to attach one drive to a Linux machine via USB and get the data off that way as it's a raid 1 the drives are identical. Another option if you only have a Windows machine is to use Ext2Fsd does this work? I have used it once to recover data from what appeared to be a failed drive on an Ubuntu install, the drive was fine, but for whatever reason Ubuntu wouldn't mount it.
      Raid is not a backup! Would you go skydiving without a parachute?
    • geaves wrote:

      DesertPilot wrote:

      The RAID is mmcblk0p2 I need to mount that to get the info off it.
      That is OMV's boot partition not your raid. Your two raid drives are /dev/sda and /dev/sdb they are clearly shown under Storage -> Disks to confirm they are your raid drives run blkid then you'll need to create then assemble to get the raid up.
      Another way to do this is to attach one drive to a Linux machine via USB and get the data off that way as it's a raid 1 the drives are identical. Another option if you only have a Windows machine is to use Ext2Fsd does this work? I have used it once to recover data from what appeared to be a failed drive on an Ubuntu install, the drive was fine, but for whatever reason Ubuntu wouldn't mount it.
      It shows it does in this webpage
      howtogeek.com/112888/3-ways-to…-partitions-from-windows/
    • How to get data off my RAID

      [Blocked Image: https://uploads.tapatalk-cdn.com/20191120/06e7aae7a4f98d6ac1268ce636d0b7c5.jpg]

      I’ve tried a few things and nothing seem to be working I have a Linux laptop and I can’t get it to mount to it ether. A lot of “invalid argument”. It’s not just being able to read the file format there is something else going. The screen shot is what I’ve been trying. Any ideas or help would be great.
      Just turn it off then I on.
    • DesertPilot wrote:

      I have tried that and it would give me the error of invalid argument with one or both plugged in.
      Then my only suggestion is have a look here your invalid arguments are simply because you haven't specified anything to mdadm hence my suggestion, once the array is assembled you would run omv-mkconf mdadm.

      The only other option is to run mdadm --create --verbose /dev/md0 --level=mirror --raid-devices=2 /dev/sda /dev/sdb but this should not be necessary as according to blkid the raid signatures are on the drives.
      Raid is not a backup! Would you go skydiving without a parachute?