NAS540: Volume down, repairing failed, how to restore data?

Options
123457»

All Replies

  • ksr7
    ksr7 Posts: 15  Freshman Member
    Options
    Here it is, sir : 

    ~ # e2fsck -n /dev/md2
    e2fsck 1.42.12 (29-Aug-2014)
    Warning!  /dev/md2 is in use.
    ext2fs_open2: Bad magic number in super-block
    e2fsck: Superblock invalid, trying backup blocks...
    e2fsck: Bad magic number in super-block while trying to open /dev/md2

    The superblock could not be read or does not describe a valid ext2/ext3/ext4
    filesystem.  If the device is valid and it really contains an ext2/ext3/ext4
    filesystem (and not swap or ufs or something else), then the superblock
    is corrupt, and you might try running e2fsck with an alternate superblock:
        e2fsck -b 8193 <device>
     or
        e2fsck -b 32768 <device>
  • ksr7
    ksr7 Posts: 15  Freshman Member
    Options
    Good news!

    I finally have my data back!

    I tried to recover the superblock index with e2fsck using backups listed, but none of them worked :(

    So I decided to come back to the old plan and try again logical devs combinations.

    The procedure I followed is this one : 1) Deactivating the volume with vgchange -an 2) Stop md2 3) Create array with new combination

    And when I arrived at C / B / D / A and rebooted, NAS is finally gives my data back.

    I'm really happy now, thanks to everyone involved.

    Good Luck and all the best!

  • antonymarc
    Options
    Thanks ksr7. Your response helped me.

Consumer Product Help Center