1. LACIE CLOUDBOX DATA
RECOVERY
Document created by Jordi Clopés Esteban
Protected by Creative Commons by-sa 3.0
Twitter @jordiclopes
jordiclopes@gmail.com
2. WHAT WE ARE TALKING ABOUT
Lacie CloudBox is a NAS server for home or small office.
More information: http://www.lacie.com/uk/products/product.htm?id=10597
3. GOAL
Problem:
If the ethernet port becomes unavailable we get a big problem.
Goal:
Recover the data storaged in the hard disk.
I’m using an Ubuntu Linux 12.10 Desktop for that pourpose.
4. PLUG HARD DRIVE
We have to extract the hard disk from the box and plug
it into our PC. Piece of cake!
5. MAIN ISSUE
We can’t mount the data partition because of the file system.
With parted or Gparted frontend we can see our data in
partiton number 8
8. SO LET’S MOUNT!
If we try to mount that partition as usual we get this:
#mount /dev/sda8 /mnt/disk/
mount: unknown filesystem type 'linux_raid_member'
More information about RAID & LVM2:
http://en.wikipedia.org/wiki/Logical_Volume_Manager_%28Linux%29
9. THE SOLUTION - 1 STEP
Install this packages:
For create & manage raid
#apt-get install mdadm
For manage LVM2
#apt-get install lvm2
10. THE SOLUTION - 2 STEP
Mount /dev/sda8 in /dev/md0
#mdadm --assemble --run /dev/md0 /dev/sda8
If md0 is being used choose another one
12. LVDISPLAY SHOWS LV NAME
#lvdisplay
--- Logical volume --LV Name
/dev/vg/lv
VG Name
vg
LV UUID
ngjboT-YynB-sUwD-KONB-0MFJ-I0gp-LDdR70
LV Write Access
read/write
LV Status
available
# open
0
LV Size
927,07 GiB
Current LE
237330
Segments
1
Allocation
inherit
Read ahead sectors auto
- currently set to
256
Block device
252:0
13. THE SOLUTION - FINAL STEP
Create a folder for mounting the partition with our files
#mkdir /mnt/disk
Mounting /dev/vg/lv
#mount /dev/vg/lv /mnt/disk/
14. HERE WE HAVE OUR DATA
Data is in “shares” folder
#ls -l /mnt/disk/
total 44
drwxr-xr-x 2 root root 4096 gen 30 2013 afp_db
drwxr-xr-x 3 root root 4096 gen 30 2013 autoupdate
drwx------ 2 root root 16384 gen 30 2013 lost+found
drwxr-xr-x 2 root root 4096 gen 30 2013 reserved
drwxr-xr-x 4 root root 4096 gen 30 2013 shares
drwxr-xr-x 2 root root 4096 gen 30 2013 tmp
drwxr-xr-x 3 root root 4096 gen 30 2013 torrent_dir
drwxr-xr-x 5 root root 4096 gen 30 2013 var
15. Hope it could help!
Cheers!
Document created by Jordi Clopés Esteban
Protected by Creative Commons by-sa 3.0
Twitter @jordiclopes
jordiclopes@gmail.com