Ethernet Big Disk:Data recovery

From NAS-Central Lacie Wiki
Jump to: navigation, search

How to get to your data

This is a quick step-by-step guide to getting to your 1TB of data when you really don't have any more choices.

  1. Either use your existing linux-box or get a bootable distribution image and prepare it.
  2. Dissassemble the LaCie unit (and you will have to void the warranty if you do this).
  3. Remove both hard drives from the unit.
  4. Connect both hard drives to your computer (internal SATA connections) and boot up your linux-distribution (for ubuntu, you can use the try without installing feature).
  5. Open a terminal and type sudo fdisk -l
  6. In this output, you should find the path for both hard drives, the first should be something like /dev/sdb2 487379970 (blocks), the second drive does not have a partition and should show up like /dev/sda (or sdc depending on your existing hardwareconfiguration):
    ubuntu@ubuntu:~$ sudo fdisk -l
    
    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x65764f20
    
    Disk /dev/sda doesn't contain a valid partition table
    
    Disk /dev/sdb: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x00000000
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1               1         125     1004031    5  Extended
    /dev/sdb2             126       60801   487379970   83  Linux
    /dev/sdb5               1          16      128457   82  Linux swap / Solaris
    /dev/sdb6              17          17        8001   83  Linux
    /dev/sdb7              18          18        8001   83  Linux
    /dev/sdb8              19          34      128488+  83  Linux
    /dev/sdb9              35         125      730926   83  Linux
    
  7. With a text editor, open up /etc/mdadm.conf under the 130mb (128488+) mount, this is the LaCie raid configuration file.
  8. Make sure you have mdadm installed (sudo aptitude install mdadm for ubuntu).
  9. Open up command prompt/terminal and type sudo vi /etc/mdadm/mdadm.conf. This is the new RAID config file.
  10. Copy the settings from the Lacie config file in step 7 to the new config file in step 9. Change the paths to match your current setup. The smaller mount goes first and the bigger one (without the partition) second. should look like:
    DEVICE /dev/sdb2 /dev/sda
    ARRAY /dev/md0 level=linear num-devices=2 UUID=163218f3:299b9ccc:3c666c38:60539313
    
  11. Now in terminal type sudo mdadm --assemble /dev/md0
  12. Mount the new disk where you want, f.ex. sudo mount /dev/md0 /mnt
  13. You're done, the data should now be available.