Find the answer to your Linux question:
Results 1 to 6 of 6
Hello, i have got an Debian Lenny NAS with 7x1,5TB of a Softwareraid5. Kernel Version is 2.6.32. The Raid ist mountet in /media/raid5. The System ist on a seperate disk ...
  1. #1
    Just Joined!
    Join Date
    Dec 2010
    Posts
    4

    NAS Raid5 Recover?

    Hello,
    i have got an Debian Lenny NAS with 7x1,5TB of a Softwareraid5. Kernel Version is 2.6.32. The Raid ist mountet in /media/raid5. The System ist on a seperate disk and work fine.

    After i tested the performance of the raid with:
    dd if=/dev/zero of=/dev/md0 bs=1G count=1 oflag=direct
    Since i had done this i cant find any Data on /media/raid5. cat /proc/mdstat and mdadm --detail /dev/md0 looks fine. All UUID's are good. But:

    The SuperBlock is unreadable and the partition table was not found. mke2fs -n /dev/md0 shows some Backup of the Superblock , but i cant repair it with fsck.ext4: Illegal inode number on /dev/md0.

    What can i do to rescue my data? thx
    Last edited by oz; 12-24-2010 at 10:41 PM. Reason: removed non-English component

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,086
    Hello and welcome to the forums!

    Sorry, but I've removed a portion of your thread so that it's in compliance with our forum rules:

    http://www.linuxforums.org/forum/lin...ums-rules.html

    Do feel free to translate into English any components that were not originally posted in English, and re-post them. Thank you.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Just Joined!
    Join Date
    Dec 2010
    Posts
    4
    Ok, sorry for that.
    Now i tried extundelete:
    extundelete --restore-all /dev/md0
    ERROR: The specified device does not have a journal file. This program only undeletes files from file systems with journals.Error: bad filesystem specified.

  4. #4
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,096
    Sorry, but you did not only test (linear write) performance,
    you wiped the raid.

    It depends a bit how long this command was running, but I wouldnt have too much hope to recover the data.

    If I had to try recovery, I would start with a clone of the raid. (Yes, I know this is 9TByte)
    This way, no further damage is done to the disk.

    Then you can try to recover data with the use of TestDisk - CGSecurity and PhotoRec - CGSecurity .
    You must always face the curtain with a bow.

  5. #5
    Just Joined!
    Join Date
    Dec 2010
    Posts
    4

    re

    Hello,
    thats the problem, the size is to big for a second testsystem. but i have made one as a virtual machine with 3x2gb of raid5. i "wiped" the data on the same why and hope to can rebuild the situation. what i didnt understand is, that the raid5 allocate crc checks on the whole disk, so it must give a way to reconstruct the data, i think. or a why to rebuild the superblock and the partition table, perhaps.

  6. #6
    Just Joined!
    Join Date
    Dec 2010
    Posts
    4

    re

    Hi,
    testdisk didn't find the raid. i wonder why i could recover the data in my testsystem, but not in my productive system.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •