Reply
Visitor
WolfieCA
Posts: 1
Registered: ‎01-31-2010
0

Re: MSS II - 1 TB - Data Recovery (via Linux - Knoppix)

Hi ....

 

I know this an old thread, but I just wanted to take a moment to say thanks to all that contributed to it.

 

Reading and studing this information allowed me (a non-linux friendly) user to sucessfully reassemble my Shared Storage II 1gb Raid0 Volume and transfer all backed-up photography to a ReadyNAS device.

 

If it wasn't for y'all I wouldn't have been able to recover over 6 years of work.

 

What a great community.

 

Thanks again,

Rich

Gigabyte
EasyUser
Posts: 236
Registered: ‎06-25-2009
0

Re: MSS II - 1 TB - Data Recovery (via Linux - Knoppix)

Glad to hear that work out for you. Just one suggestion, use Raid1 next time, it makes your data real safe.
Byte
Betty S
Posts: 7
Registered: ‎07-26-2009
0

Re: MSS II - 1 TB - Data Recovery (via Linux - Knoppix)

Hi Rich,

 

Good to know the information came in handy for you.

 

 

Regards,

 

Betty

Visitor
Al Cucina
Posts: 1
Registered: ‎03-06-2010
0

Re: MSS II - 1 TB - Data Recovery (via Linux - Knoppix)

[ Edited ]

I too would like to thank Betty and the other contributors for the info here which put me on the right path to rescuing several years' worth of photos, videos and music.

 

As a complete Linux beginner, I eventually got there by a combination of Betty’s advice and trial and error. I thought it might help others in the same predicament (i.e. with defunct MSS II box configured as RAID 0 and both drives intact) to have an “idiot's guide” and maybe save a lot of messing around. 

 

1. As stated already, you need to dismantle the MSS box and connect the two rescued drives to a PC using suitable SATA data and power leads. You need to consider how much you want to rescue and where you want to copy it. My PC's installed C: and D: drives had a total spare capacity of about 350GB - just about enough to rescue my most treasured photos, videos and music tracks from the MSS box. Apparently, it is possible to copy files to a network location by setting up a SSH server.  I played with OpenSSH for Windows but decided that the effort required to understand it and configure it wasn’t worthwhile for a one-off exercise!

 

 

2. Download the latest version of the Knoppix from a  mirror near you (http://knopper.net/knoppix-mirrors/index-en.htmlI downloaded the ISO CD image of Knoppix v 6.2 EN and burned a CD...
 

3. After booting, start File Manager (PCMan) and look at the list of volumes/partitions identified by Knoppix. Depending on the number of drives installed, you should be able to  identify drives like sda, sdb, sdc, sdd, etc.  and individual partitions on each drive, like sda2, sdb1, sdc1,2 & 5 and sdd1,2 & 5, etc.
In my case, the PC’s C: and D: volumes/partitions are sdb1 (aka “Local Drive”) and sda2 respectively. The other two drives, sdc and sdd  are the two drives in the RAID array that I want to re-assemble.  You’ll notice three visible partitions on each drive (in my case  sdc1, sdc2 & sdc5 and sdd1, sdd2 & sdd5) containing various system files but no sign of your data (which is on the invisible partitions that you can’t see)

 

 

4. To reveal this data, you’ll need to find the UUID of your RAID array by running the mdadm utility-
Start Terminal Emulator (LXTerminal) by clicking the icon in the shortcuts at the bottom of the screen.
At the system prompt [“knoppix@Microknoppix:~$]    type:
mdadm --examine --scan
This should tell you the RAID device (/dev/md0) and its UUID, e.g:

       ARRAY /dev/md0 UUID=10e2a3fe:087ac9a5:736b43d4:1dc694d9

 

5. Next, you need to create a mdadm.conf file (using Leafpad in the Accessories menu) and save it somewhere. I saved it in the root of my Local Disk, i.e. /media/sdb1/mdadm.conf  The file will contain two lines:

DEVICE /dev/sd[cd][123456]
ARRAY /dev/md0 level=linear num-devices=2 UUID=10e2a3fe:087ac9a5:736b43d4:1dc694d9

Change the drive suffixes in square brackets “[cd]” to match your own setup – e.g. “[bc]” as appropriate and, of course, insert your own UUID!

 

6. Finally, you need to assemble the RAID array. Assembling requires root (‘su’ or super user) privileges.

Back in LXTerminal type: su
then on the next line type: passwd  

Example:

 

knoppix@Microknoppix:~$ su

root@Microknoppix:/home/knoppix# passwd

Enter new UNIX password: (password doesn't show)  

Retype new UNIX password: (password doesn't show)

password updated successfully  

 

7. Now, at last you can assemble the RAID array. Type (including the location where you saved the config):  
mdadm --assemble --scan  --config=/media/sdb1/mdadm.conf

 

You should see -

 

mdadm: /dev/md0 has been started with 2 drives.  

 

8. Back in File Manager you'll see that a 997.6GB volume (/media/md0) has magically appeared!

Now it's easy to copy files from md0 to your internal hard drive(s) – though it may well take several hours.

More reading: Besides the Linux Journal article mentioned, there's a very good intro to Knoppix in the  IBM Developer article at http://www.ibm.com/developerworks/linux/library/l-knopx.html

Regular Visitor
w3bfly
Posts: 2
Registered: ‎04-07-2011
0

Re: MSS II - 1 TB - Data Recovery (via Linux - Knoppix)

[ Edited ]

First of all all the posts here have been very helpful and really appreciate all
the work done here.

I am have the same issue with the same device, and one of the drives failed

I have attempted to follow the directions but to avail.

 

I believe my devices are sdc1 sdc2 sdc5 sdc6?

 

Please see the LXTerminal feedback below

knoppix@Microknoppix:~$ mdadm --examine --scan
ARRAY /dev/md0 UUID=b88ff262:cc5a08d6:94658113:e6b6a1d2

knoppix@Microknoppix:~$ su root
root@Microknoppix:/home/knoppix# mdadm --assemble --scan --config=/home/knoppix/Desktop/mdadm.conf
mdadm: /dev/md0 assembled from 1 drive - not enough to start the array.

root@Microknoppix:/home/knoppix# cat /proc/mdstat
Personalities :
md0 : inactive sdc6[1](S)
      487106752 blocks
       
unused devices: <none>

root@Microknoppix:/home/knoppix# mdadm --assemble -v /dev/md0 /dev/sdc6
mdadm: looking for devices for /dev/md0
mdadm: cannot open device /dev/sdc6: Device or resource busy
mdadm: /dev/sdc6 has no superblock - assembly aborted

root@Microknoppix:/home/knoppix# mdadm --stop /dev/md0
mdadm: stopped /dev/md0
root@Microknoppix:/home/knoppix# cat /proc/mdstat
Personalities :
unused devices: <none>

root@Microknoppix:/home/knoppix# mdadm --assemble - v /dev/md0 /dev/sdc6 --run
mdadm: cannot open device v: No such file or directory
mdadm: v has no superblock - assembly aborted
root@Microknoppix:/home/knoppix# mdadm --assemble -v /dev/md0 /dev/sdc6 --run
mdadm: looking for devices for /dev/md0
mdadm: /dev/sdc6 is identified as a member of /dev/md0, slot 1.
mdadm: no uptodate device for slot 0 of /dev/md0
mdadm: added /dev/sdc6 to /dev/md0 as 1
mdadm: failed to RUN_ARRAY /dev/md0: File exists
mdadm: Not enough devices to start the array.

Byte
Betty S
Posts: 7
Registered: ‎07-26-2009
0

Re: MSS II - 1 TB - Data Recovery (via Linux - Knoppix)

[ Edited ]

Hi w3bfly,

 

Although I'm not the most technical person here, my first question to you is do you know what type of RAID it was (RAID0, RAID1, etc). If the NAS only has 2 HDDs it can only be RAID0 or RAID1. (If your not sure on all this RAID stuff, have a look at the wikipedia article for it: http://en.wikipedia.org/wiki/RAID , the graphic representation of how RAID work can often help explain the differences.)

 

If your not sure, if you had the 1TB model, could you use up to 1TB (this to me would suggest you would be using RAID0)? If you only had 500GB out of the 1TB assessable it would suggest RAID1.

 

I only ask as you say that "one of the drives failed". If you are using RAID0 the chances of data recovery are slim (I would say non existence) as you could have lost 1/2 of the data. However, one thing to consider is how did it fail? Do you know what caused the failure? Not sure on anyone else, but once those things are known, it can help with determining the next steps to recovery.

 

 

Regards,

 

Betty

Regular Visitor
w3bfly
Posts: 2
Registered: ‎04-07-2011
0

Re: MSS II - 1 TB - Data Recovery (via Linux - Knoppix)

I did have the 1TB model, and had one TB available. One of the drives failed or started clicking and no longer works. But it appears that the array trys to assemble but is missing something from the assembly.

Byte
Betty S
Posts: 7
Registered: ‎07-26-2009
0

Re: MSS II - 1 TB - Data Recovery (via Linux - Knoppix)

Based on what you have said I have a strong belief that you are using RAID0.

 

Given this I don't think it will be possible to recover the data.

 

The reason the array fails to assemble correctly is because it is missing the other half of the data.

 

RAID0 normally works by splitting the data across two physical drives. So that means when a file is saved, 50% may be on drive 1 and 50% may be on drive 2. Given that you have said that one of the drives has failed, it is impossible to "get the other half" of the data.

 

Depending on your skills, how much time you want to spend on recovering the information, etc, you could look at attempting to recover data off the failed drive (this is not always easy or possible). But I suspect you would need a pretty high success rate in order to rebuild the entire array.

 

Let me know your thoughts and what you end up deciding to do. I do not know much about advanced data recovery so you may have to wait and see if you have any other responses to this post.

Regular Visitor
bigozone
Posts: 4
Registered: ‎01-17-2012
0

Re: MSS II - 1 TB - Data Recovery (via Linux - Knoppix)

[ Edited ]

AL CUCINA,,,  thanks for the walk thru.... it worked on my original MSS II 1tb....

 

i also bought a new one to tinker with and try to rescue my data but the new unit did't help.  oh well, maybe next time i'll check the forum more carefully