• Tuesday , 21 May 2019

Read files on LaCie Drive using Linux: XFS Filesystem

Code Canyon

 

 

So it happened!!! My Lacie Networkspace 2 NAS blew up in a firey display worthy of the 4th of July. Well, not really but it did stop working and or course I didn’t have a back up.

So what to do?

Plug it in to a linux machine and pray that I could recover some of the contents, actually pretty much everything.

Follow the instructions below and you should have no problem

1) $sudo nano /etc/fstab
add last line-> /dev/sdb2 /mnt/xfs xfs ro,user,noauto 0 errors=remount-ro 0 1

2) restart

3) $sudo mount
-> unmount all innecessary volumes, in my case:
$sudo umount /dev/md1

4)$ls -la /dev/md*
->for all md devices:
$sudo mdadm –stop /dev/md0
$sudo mdadm –stop /dev/md1
$sudo mdadm –stop /dev/md2
$sudo mdadm –stop /dev/md3
$sudo mdadm –stop /dev/md4

5)$ls -la /dev/md*
-> it must be empty

6) sudo mount -t xfs -r /dev/sdb2 /mnt/xfs

And it works! Good luck!

 

3d Ocean

Related Posts

Leave A Comment

You must be logged in to post a comment.