Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Sat May 26, 2018 6:53 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 12 posts ] 
Author Message
PostPosted: Thu May 24, 2012 10:37 am 
Offline
Newbie

Joined: Wed Apr 25, 2012 2:23 pm
Posts: 6
Ok, I'm new to Unix but can say that I pick things up fast when it comes to technology.

I have a Linkstation Mini LS-WS1.0TGL/R1 that needs restoring, it was given to me my former company has it was failing to start up properly. Unfortunately I couldn't tell you what exactly was causing this but when I brought the device home it would just flash the blue light. I created the same network environment it was in when it was at their office, but it continued to flash the blue light.

There is the possible some smart person in their office may have pressed the reset button.

In the past I've been able to saved data and the file structure from failed RAID's before by using handy bits of software, personally I quite like Ontrack and UFS Explorer. However these aren't working to well for me with this particular problem.

So far I have mounted the drives in my machine and tried UFS Explorer to recreate the RAID-0, which works ok but when I browse the drive the file system comes up as:
    share
    spool

I can only assume from what I've read and see in the office, is that share is the place where all the folders are kept.

Now I've done a complete recovery + restore with UFS Explorer and it does restore lots of files, but is missing the file structure. As you can imagine this is highly frustrating when there's nearly 800Gb of data labelled Unknown000001, especially when some of the files saved by the company aren't recognised by UFS. Oh and to top it off it takes 4hours and sometimes crashes at 98%!

So on this note I stumbled on these forum pages... which I might say are brilliant. Now this particular thread caught my eye and I've given it a go. viewtopic.php?f=61&t=22396#p140008

Sorry to say thought that after carrying out this process, the share folder is still empty. Now I know the data is still on the drive because UFS is finding it.

The big question is what next ?

For anyone that would like to offer assistance below is my Superblock details after creating the raid in Ubuntu.... I need be honest and say I'm still learning what a superblock is but I though it might be of use to someone. If any other reports are needed then please let me know.

Many Thanks

root@ubuntu:~# mdadm --detail /dev/md1
/dev/md1:
Version : 00.90
Creation Time : Thu May 24 08:39:35 2012
Raid Level : raid0
Array Size : 960959872 (916.44 GiB 984.02 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 1
Persistence : Superblock is persistent

Update Time : Thu May 24 08:39:35 2012
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0

Chunk Size : 64K

UUID : f26543db:5beed424:e368bf24:bd0fce41 (local to host ubuntu)
Events : 0.1

Number Major Minor RaidDevice State
0 8 54 0 active sync /dev/sdd6
1 8 70 1 active sync /dev/sde6


Top
   
PostPosted: Mon May 28, 2012 8:53 am 
Offline
Regular Member
User avatar

Joined: Mon Oct 08, 2007 6:34 am
Posts: 334
the data is probably on md6
Code:
mount -t xfs /dev/md6 /mnt/lsmini


did you mount and look there?

;)
Stonie.

_________________
KuroHG - UBoot 1.2, foonas-em & Debian Wheezy - 3.4 Kernel
Kurobox Pro - Dave's Lenny-armel
LS-WVL - opened
LS-XHL - Squeeze Bootstrap
LS-VL - Squeeze Bootstrap


Top
   
PostPosted: Mon May 28, 2012 4:06 pm 
Offline
Newbie

Joined: Wed Apr 25, 2012 2:23 pm
Posts: 6
I typed the following command

echo "y" | mdadm --create --verbose /dev/md1 --level=0 --raid-devices=2 /dev/sdd6 /dev/sde6

as I believe the are on partion no. 6. Then I follow this command with

mkdir -p /mnt/lsmini
mount -t xfs /dev/md1 /mnt/lsmini

I'm assuming in the first code line where I create the raid, I call it md1 as opposed to what your suggesting md6. Will naming it different make a diffence? Don't forget I can see the share folder when it's called md1, just not the contence of what should be in it.

As i'm a novice and just guessing on the above, I'll try your suggestion and see how I get on

Many Thanks


Top
   
PostPosted: Mon May 28, 2012 4:34 pm 
Offline
Moderator

Joined: Mon Apr 26, 2010 10:24 am
Posts: 2723
On "mdadm --create" is enough to kill all Data on your raid.
You have created a new raid and Buffalo has created the standard folder share.

"mdadm --assemble" would have been the right beginning.


Top
   
PostPosted: Tue May 29, 2012 1:47 am 
Offline
Regular Member
User avatar

Joined: Mon Oct 08, 2007 6:34 am
Posts: 334
yeah, I normaly start with :

Code:
mdadm --verbose --examine --scan /dev/yourDevice

_________________
KuroHG - UBoot 1.2, foonas-em & Debian Wheezy - 3.4 Kernel
Kurobox Pro - Dave's Lenny-armel
LS-WVL - opened
LS-XHL - Squeeze Bootstrap
LS-VL - Squeeze Bootstrap


Top
   
PostPosted: Tue May 29, 2012 2:08 am 
Offline
Regular Member
User avatar

Joined: Mon Oct 08, 2007 6:34 am
Posts: 334
Quote:
Ok, I'm new to Unix but can say that I pick things up fast when it comes to technology.

Best to RTFM:
Code:
man mdadm

_________________
KuroHG - UBoot 1.2, foonas-em & Debian Wheezy - 3.4 Kernel
Kurobox Pro - Dave's Lenny-armel
LS-WVL - opened
LS-XHL - Squeeze Bootstrap
LS-VL - Squeeze Bootstrap


Top
   
PostPosted: Tue May 29, 2012 8:26 pm 
Offline
Newbie

Joined: Wed Apr 25, 2012 2:23 pm
Posts: 6
Ok....

Now what is good way forward, with out doing more damage than I may I've already done?

Oxygen8, since doing a bit more reading I may agree with your comment. So do I now try assemble? Also could you explain how buffalo created a stardard share folder when the drive are plugged in my machine? Do you mean it created a new folder before the drive were removed. Also if assemble is the right thing to do then it might be prudent to change the post I was looking at.

Stonie, helpful comment on the first post which I'm assuming if I tried it first would provided some good results, is it worh giving it a go now? Not quite sure what your meaning on the second post. Could you expand a bit?

As you re posted 'I'm new to this' but I'm starting to feel a little bit of hand holding would be helpful as I do not wish to wreck what data I may have left.

Thanks Again


Top
   
PostPosted: Tue May 29, 2012 9:34 pm 
Offline
Newbie

Joined: Wed Apr 25, 2012 2:23 pm
Posts: 6
I get the second post now... cheers stonie :-)


Top
   
PostPosted: Tue May 29, 2012 10:47 pm 
Offline
Newbie

Joined: Wed Apr 25, 2012 2:23 pm
Posts: 6
Ok... I'm afraid to say that I RTFM and I'm more confused than ever!

Could one of you guys give me a bit of help using assemble, below is what I've been playing with and I couldn't tell you if I was even on the right tracks

ubuntu@ubuntu:~$ mdadm --assemble --verbose --scan /dev/md1 /dev/sdd6 /dev/sde6
mdadm: failed to create /dev/md1
mdadm: /dev/sdd6 not identified in config file.
mdadm: /dev/sde6 not identified in config file.


Top
   
PostPosted: Tue May 29, 2012 11:26 pm 
Offline
Moderator

Joined: Mon Apr 26, 2010 10:24 am
Posts: 2723
Code:
mdadm --assemble /dev/md0 /dev/sdd6 /dev/sde6


But i am not knowing a way to restore data after --create.

Try ufs explorer under windows


Top
   
PostPosted: Wed May 30, 2012 12:29 am 
Offline
Newbie

Joined: Wed Apr 25, 2012 2:23 pm
Posts: 6
I was afraid you might say that, but many thanks for you help anyway

Is foremost worth a try? or would that label things 01 02 03 etc.

I thought about giving it a go earlier but can't seam to get it installed

Cheers


Top
   
PostPosted: Wed May 30, 2012 1:08 am 
Offline
Moderator

Joined: Mon Apr 26, 2010 10:24 am
Posts: 2723
foremost is only for pictures an known files.
try ufsexplorer


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

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 4 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