Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Mon Jun 18, 2018 8:31 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 13 posts ] 
Author Message
PostPosted: Wed Sep 11, 2013 11:17 am 
Offline
Newbie

Joined: Wed Sep 11, 2013 10:59 am
Posts: 7
Hi all,

I have a LS mini with RAID1 configuration, I could use a hand in recovering my data, please forgive my n00bness.

I'm not sure what's going on on my drive, it starts up fine, but starts flashing one red light and one with switching between green and orange lights.

It doesn't seem to get an ip address, the NAS Navigator does not find it and I don't see it on the dhcp table in my local network. Last time I saw it on the NAS Navigator it was on EM mode, but after a while it doesn't show up anymore. Then I tried to have it get a new IP but that failed with something like "drive does not respond" etc kind of error message.

Anything I can do here? I'm hoping at least one of the 2 drives can still spit out the data one way or another.

Thanks,
Pirjo


Top
   
PostPosted: Wed Sep 11, 2013 2:43 pm 
Offline
Moderator

Joined: Mon Apr 26, 2010 10:24 am
Posts: 2730
i use Knoppix

Code:
apt-get install mdadm xfsprogs smartmontools mc

cat /proc/partitions

cat /proc/mdstat

mdadm --assemble /dev/md0 /dev/sd[abcd]6 missing

xfs_repair /dev/md0

mkdir /tmp/test

mount /dev/md0 /tmp/test

mc /tmp/test


Top
   
PostPosted: Fri Sep 13, 2013 12:31 pm 
Offline
Newbie

Joined: Wed Sep 11, 2013 10:59 am
Posts: 7
Hi,

Thanks for the guide, much appreciated! I'll give it a go. Took some tweaking but I managed to take the drives out and install one onto my windows laptop second hdd slot. Installed an Ubuntu virtual machine on VirtualBox and managed to mount the drive using a .vdmk drive.

I must have messed something on one of the drives, not sure but I know there is something on the current one, got some files out using Crossmeta, but it made a mess of file names etc.

Ok, so here's the output of...

cat /proc/partitions:

Code:
major minor  #blocks  name

  11        0    1048575 sr0
   8        0   29360128 sda
   8        1   28310528 sda1
   8        2          1 sda2
   8        5    1046528 sda5
   8       16  488386584 sdb
   8       17     999983 sdb1
   8       18    5000000 sdb2
   8       19          0 sdb3
   8       20          0 sdb4
   8       21     999999 sdb5
   8       22  473468750 sdb6



and cat /proc/mdstat:

Code:
Personalities :
unused devices: <none>


I'm not sure how to interpret this, but I think sdb6 is my data as the drive is 500GB. I'm a bit confused why mdstat shows nothing much.

Am I good to go ahead and meddle with mdadm?

Cheers,
Pirjo


Top
   
PostPosted: Fri Sep 13, 2013 1:04 pm 
Offline
Moderator

Joined: Mon Apr 26, 2010 10:24 am
Posts: 2730
go on

mdadm --assemble /dev/md0 /dev/sdb6 missing


Top
   
PostPosted: Fri Sep 13, 2013 1:47 pm 
Offline
Newbie

Joined: Wed Sep 11, 2013 10:59 am
Posts: 7
I feel a bit stupid as I got the following output:

Code:
# mdadm --assemble /dev/md0 /dev/sdb6 missing
mdadm: cannot open device missing: No such file or directory
mdadm: missing has no superblock - assembly aborted


There must be something I haven't done I should have or did something just wrong...


Top
   
PostPosted: Fri Sep 13, 2013 3:22 pm 
Offline
Moderator

Joined: Mon Apr 26, 2010 10:24 am
Posts: 2730
try
Code:
mdadm --assemble /dev/md0 /dev/sdb6


Top
   
PostPosted: Fri Sep 13, 2013 3:57 pm 
Offline
Newbie

Joined: Wed Sep 11, 2013 10:59 am
Posts: 7
Thanks, that definitely did something, here's the output:

Code:
# mdadm --assemble /dev/md0 /dev/sdb6
mdadm: /dev/md0 assembled from 1 drive - not enough to start the array.


What does this mean?


Top
   
PostPosted: Fri Sep 13, 2013 5:44 pm 
Offline
Moderator

Joined: Mon Apr 26, 2010 10:24 am
Posts: 2730
You had a raid 0 and not raid 1.
Use both drives.


Top
   
PostPosted: Fri Sep 13, 2013 5:56 pm 
Offline
Newbie

Joined: Wed Sep 11, 2013 10:59 am
Posts: 7
Strange, I was quite sure I had raid1, perhaps I messed something last time I used the drive.

Using both will be tricky, I'm out of hdd slots. I ordered an extra sata-usb connector to use these drives as usb drives later, maybe I'll be able to connect the second drive to the virtualbox host and mount it on the side.

I'll have to wait until next week to get the parts and continue this project, but I'll keep you all posted.

Thanks ox, I really appreciate your help.


Top
   
PostPosted: Fri Sep 13, 2013 5:59 pm 
Offline
Moderator

Joined: Mon Apr 26, 2010 10:24 am
Posts: 2730
You dont need sda, your internal hard drive if you boot from cd (Knoppix)


Top
   
PostPosted: Fri Sep 13, 2013 6:14 pm 
Offline
Newbie

Joined: Wed Sep 11, 2013 10:59 am
Posts: 7
Good point, I'll see what I can do. I'll still need some drive where to copy the hopefully-rescued data, all I currently have is a smaller usb drive probably not large enough to house all the data, but all it takes is copying one drivefull at a time to another laptop.


Top
   
PostPosted: Sat Sep 14, 2013 12:26 pm 
Offline
Newbie

Joined: Wed Sep 11, 2013 10:59 am
Posts: 7
I managed to follow the instructions here, and got the drive mounted.

(first replaced the drives, and cd slot would'nt open. Replaced my win7 drive back, opend the cd, jammed it open, replaced the ls drive back and got the cd in. Nice)

But, there's nothing on either drive. There's only the share folder and nothing in it, is the data gone forever?


Top
   
PostPosted: Sat Sep 14, 2013 12:29 pm 
Offline
Moderator

Joined: Mon Apr 26, 2010 10:24 am
Posts: 2730
You had changed from raid 1 to raid 0 (factory default) in your linkstation.
I can not help you.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 13 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited