Recover software raid after system crash

  • So here is my situation...
    i had a perfectly good media server running on these 2 drives. sharing music and Movies throughout the house. when my 1.5 year old puppy thought it would be helpful to knock the plug out of the wall on my NAS (how the hell she got back behind where it was plugged is beyond me, but she did). so system would not boot up again and gave me all kinds of errors ( i still have the flash stick that install was on). So in an effort to get this going again I got a new stick and installed a newer version of OMV (Old one was 0.2.7 i think now i am on 0.3.6) and once installed i added back in the 2 drives (info below) now it sees my raid and it saw the filesystem so i tired to mount it and it gave me a "can not mount duplicate mount point error" so i logged out swapped the drives position on the controller card and reloaded. this time during boot up it gave me a "can not mount" kind of error on UUID : 4e4fdb41:ff056f4a:4479a0bb:3518d220 and asked me to run some kind of fsck maintenance on it so i typed in the fsck command with -a and and it warned me that the file system was mounted and it would wreck it... so i aborted, rebooted again and this time skipped the maintenance. When i loaded up this time it showed the disk as mounted. So i unmounted it and then it disappeared completely.


    So I am at a loss as to what to do i want to most importantly save my data if its still there and ideally recover this raid as is and keep using it.


    at this point i don't remember which was plugged into ide1 and which was in ide2 (each were on its own channel) i don't remember what file system i used i do remember the name of the 2 folders (maybe they were called mount points) one was audio the other was video. but any help would be very appreciated.


    Xeon 2.2Ghz
    Version 0.3.6 (Omnious)
    4gig flash stick
    1gig rambus
    Promise 100 IDE card

  • sorry to have to bump this, i am about to go into some cancer treatment and would love to get at the Videos on this drive any help on how to get this mounted would be great.


    thanks in advance!

    Xeon 2.2Ghz
    Version 0.3.6 (Omnious)
    4gig flash stick
    1gig rambus
    Promise 100 IDE card

    • Offizieller Beitrag

    I would unplug the two raid drives and reinstall version 0.4 on another hard drive (not a flash stick). Then plug the raid drives back in. It will find them and you can mount them. Moving drives to different positions won't change anything because they are recognized by their UUID wherever they are.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | 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

    What is the output from the following commands run as root from command line:


    fdisk -l
    cat /proc/mdstat
    blkid
    mount

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | 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!

  • fdisk -l


    cat /proc/mdstat

    Code
    Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] 
    md127 : active raid0 sdb[0] sda[1]
          625139712 blocks super 1.2 512k chunks


    blkid

    Code
    /dev/sda: UUID="4e4fdb41-ff05-6f4a-4479-a0bb3518d220" LABEL="openmediavault:WDBlue" TYPE="linux_raid_member" 
    /dev/sdb: UUID="4e4fdb41-ff05-6f4a-4479-a0bb3518d220" LABEL="openmediavault:WDBlue" TYPE="linux_raid_member" 
    /dev/sdc1: UUID="0611a596-1078-4881-9297-183271013b69" TYPE="ext4" 
    /dev/sdc5: UUID="32c924d7-7bd1-4094-8755-f6c779f7a0f1" TYPE="swap"


    mount

    Code
    /dev/sdc1 on / type ext4 (rw,errors=remount-ro)
    tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
    proc on /proc type proc (rw,noexec,nosuid,nodev)
    sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
    udev on /dev type tmpfs (rw,mode=0755)
    tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
    devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
    tmpfs on /tmp type tmpfs (rw)

    Xeon 2.2Ghz
    Version 0.3.6 (Omnious)
    4gig flash stick
    1gig rambus
    Promise 100 IDE card

    • Offizieller Beitrag

    Try this as root:


    mount /dev/md127 /media/4e4fdb41-ff05-6f4a-4479-a0bb3518d220


    If it complains the directory doesn't exist, add this command before trying the previous command again:


    mkdir /media/4e4fdb41-ff05-6f4a-4479-a0bb3518d220

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | 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!

  • mkdir /media/4e4fdb41-ff05-6f4a-4479-a0bb3518d220


    Code
    mount: you must specify the filesystem type

    Xeon 2.2Ghz
    Version 0.3.6 (Omnious)
    4gig flash stick
    1gig rambus
    Promise 100 IDE card

    • Offizieller Beitrag

    I just looked at your output again and your raid array (/dev/md127) doesn't have a uuid. So, the uuid I told you to use was for the drives not the array.


    You can try this command but I don't think it will work:


    mount -t ext4 /dev/md127 /media/4e4fdb41-ff05-6f4a-4479-a0bb3518d220


    I would also try booting an Ubuntu cd to see if it sees the array.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | 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!

  • mount -t ext4 /dev/md127 /media/4e4fdb41-ff05-6f4a-4479-a0bb3518d220

    Code
    mount: mount point /media/4e4fdb41-ff05-6f4a-4479-a0bb3518d220 does not exist



    i am trying a ubuntu CD now

    Xeon 2.2Ghz
    Version 0.3.6 (Omnious)
    4gig flash stick
    1gig rambus
    Promise 100 IDE card

  • Ok i booted Ubuntu 10.04 from disk and was able to see the "Array" but would not let me mount it


    error was

    Code
    Unable to mount Location
    Can't mount file

    Xeon 2.2Ghz
    Version 0.3.6 (Omnious)
    4gig flash stick
    1gig rambus
    Promise 100 IDE card

    • Offizieller Beitrag

    I was hoping it would automount in ubuntu.


    What does cat /proc/mdstat tell you under Ubuntu?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | 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!

  • If this is the whole output of your /proc/mdstat then the kernel have no raid modules loaded (no personalties listed).


    That is the reason why you do not see anything here.

    Everything is possible, sometimes it requires Google to find out how.

Jetzt mitmachen!

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