• February 24, 2025, 04:25:29 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Lost all my data  (Read 3507 times)

k3v1np

  • Level 1 Member
  • *
  • Posts: 2
Lost all my data
« on: August 18, 2010, 11:43:42 AM »

Hopefully someone can help me.  I recently needed to backup all my data from my file server in order to add more drives to the raid array.  So I purchased 2 x 2 terabyte hard drives and put them in my dns-321 and created a   RAID 0 (Striping - Best Performance) when setting it up.  I was able to copy all my data over successfully.  I even accessed a few files to make sure it was all good.  I then proceeded to rebuild my file servers raid array. 
My next step was to copy the files from the dns-321 back to my rebuild file server.  When I dragged a very large folder from the dns-321 to a folder on the file server it appeard to have finished in seconds. 
Upon looking at both the file server and the dns-321 the copied folder was empty on both.  I thought maybe the dns-321 was just confused so I rebooted it.  When it came back to life and I logged in it wanted to go through the hard drive configuration again. AAAAAAAAAAAAAAAAAHHHHHHHHH  what the hell just happened?????

Doing a little reading in this form I have discovered that the dlinks newest 1.03 firmware NOW supports 2tb drives I only had 1.02 firmware.  So I tried updating the firmware to 1.03 hoping that it would be ok, but no luck.  Anyone have any suggestions on recovering my data?
Logged

k3v1np

  • Level 1 Member
  • *
  • Posts: 2
Re: Lost all my data
« Reply #1 on: August 19, 2010, 09:07:04 AM »

So far I have managed to hook the 2 drives to a pc, boot ubuntu 10.04 live cd and create a raid-0 array with the 2 drives.

Code: [Select]
root@ubuntu:~# mdadm --detail /dev/md0
/dev/md0:
        Version : 00.90
  Creation Time : Thu Aug 19 04:34:56 2010
     Raid Level : raid0
     Array Size : 3902814848 (3722.01 GiB 3996.48 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Thu Aug 19 04:34:56 2010
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

     Chunk Size : 64K

           UUID : 20e5a6b7:69a6acf3:e368bf24:bd0fce41 (local to host ubuntu)
         Events : 0.1

    Number   Major   Minor   RaidDevice State
       0       8       50        0      active sync   /dev/sdd2
       1       8       34        1      active sync   /dev/sdc2
root@ubuntu:~#

Raid looks ok but i think the filesystem is not.

Code: [Select]
root@ubuntu:~# fsck /dev/md0
fsck from util-linux-ng 2.17.2
e2fsck 1.41.11 (14-Mar-2010)
fsck.ext2: Attempt to read block from filesystem resulted in short read while trying to open /dev/md0
Could this be a zero-length partition?
root@ubuntu:~#

Suggestions???  Anybody?

Logged

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: Lost all my data
« Reply #2 on: August 20, 2010, 05:11:42 AM »

I think the silence suggests the data is gone for good.  RAID-0 is a pretty risky storage method without any backup...
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.