Solved

Knoppix does not recognize sata drive on usb adapter

Posted on 2012-03-20
10
1,062 Views
Last Modified: 2012-03-26
I have 2 drives from a Buffalo LinkStation Pro Duo. The housing failed and I am trying to get the data from the drives.

The drives were configured as RAID 1 and Buffalo advises that they are in xfs file system and I should be able to see them in Linux.

I have created a boot disk with Knoppix 6.7.1 which boots into Knoppix fine. I then connect a USB powered drive adapter to one of the drives from the Buffalo unit and connect that to the PC.

I can see the local hard drive and browse successfully, but when I select the option for "my computer" I do not see the external drive.

I see an icon for the local drive (160G), I see an icon for file system, which displays the contents of the local drive. I can also see the WD Passport USB drive that I want to transfer the data to. I see four "documents" that are all labeled RAID -1 Array... that do not display anything.

Where do I go from here, or what am I doing wrong?

Thank you for any suggestions.
0
Comment
Question by:Tomster2
  • 4
  • 3
  • 3
10 Comments
 
LVL 1

Assisted Solution

by:Leigh_Marsh
Leigh_Marsh earned 100 total points
Comment Utility
Try this:
Software-RAID HOWTO: Error Recovery

Seems like you haven't recoverd form the raid setup yet, and it needs to have the Raid 1 mirror declared inactive before linux will read it as a single drive.

Good luck.

Edit: Let me know if I need to simplify the instructions. I just don't have the time this moment for a long post. Thanks.
0
 
LVL 87

Assisted Solution

by:rindi
rindi earned 400 total points
Comment Utility
First of all, I wouldn't use Knoppix for that, but rather the PartedMagic LiveCD, it is more suited for this type of scenario:

http://partedmagic.com

It is also smaller and boots faster than knoppix, and if you want you can put it on a USB stick instead of a CD (you could probably do that with knoppix too). For this you would use the unetbootin utility:

http://distrowatch.com/table.php?distribution=partedmagic

I'd also rather connect the HD directly to the PC, not via USB, as that can add additional problems, but it should still work...

Once you are in partedmagic, you can try mounting the drive (there is a "mounting" utility, the icon right next to the "Start" button equivalent). If it can be mounted, then you may be able to copy files off the disk, if you can't mount it, then you can run testdisk and photorec which are tools on that CD to scan the disk and recover data.
0
 

Author Comment

by:Tomster2
Comment Utility
Created a partedmagic CD and booted.

I found the mount button.  This utility, recognized the drive and labeled it as a Linux Raid Member, but when I clicked on "Mount" nothing happened.

I then looked at photorec, and this tool looked like you can select the drive (the linux drive from the buffalo) and then pick a destination to restore all the contents to.  The choice of destination drive show local folders and also

drwxr-x---  0 0 400 20-March-2012 10:46  .

and

drwxrwxrwt 0 0 240 20-March-2012 10:39  ..

How do I interpret these?  Are they the WD Passport Drive which has room for the files, or are they the local drive which does not have room?
0
 
LVL 87

Assisted Solution

by:rindi
rindi earned 400 total points
Comment Utility
In linux the drives don't have letters, rather they are normaly referenced in a format similar to this:

/dev /sda
/dev/sdb
etc.

sda is normally the first disk it finds, while sdb is the 2nd and so on.

Then you also have partitions on your disks. Sda1 would be the first primary partition on the first disk, Sda2 the 2nd primary partition on Disk 1, and Sdb5 the first logical partition on Disk 2 etc.

So Sda or Sdb, or Sdc etc tells you what disk it is, and the number after that tells you the partition it is.
0
 

Author Comment

by:Tomster2
Comment Utility
Thank you for the explanation of the naming conventions.

As far as not being able to see a destination drive, that was my error.  With various boots, and reboots today, I had unplugged the western digital passport.  No wonder the computer couldn't find a destination drive. It finds it much more easily when it is plugged in!!!

In the meantime, I have had a thread on the Knoppix forum, and with some helpful command line comments there, I was able to mount the drive and browse and copy what I needed.
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
LVL 87

Expert Comment

by:rindi
Comment Utility
Ahhh, you hoped the disk was air-powered and had a wireless connection?....;)
0
 
LVL 1

Expert Comment

by:Leigh_Marsh
Comment Utility
So it is resolved? Please post results and solution for others to see.

Thank you.
0
 

Accepted Solution

by:
Tomster2 earned 0 total points
Comment Utility
Be glad to...

I found a way  to do it with Knoppix thanks to contributors at forum.Knoppix.net here:

 http://knoppix.net/forum/threads/29779-Knoppix-does-not-recognize-sata-drive-on-usb-adapter

 Knoppix is a version of Linux.  Their home page knoppix.com has an iso download that you can burn to disk in the language of your choice.

To burn the CD I used CDBurnerXP.  This is free on the internet and has the redeeming quality of being very simple to use... and when used... it works!

Once your machine is booted in Knoppix, the rest of the steps using the command line are nicely spelled out in the knoppix thread above.

For hardware, you will need a USB Drive Adapter... this are available from various sources for about $30.

The steps taken are:

1) Boot the PC using the Knoppix disk

2) Plug in one of the drives from your Buffalo Unit using a USB Drive Adapter

3) Plug in another external drive to copy the data to (if the local PC drive does not have room)

4) Find the name of the partition with the data using the command line tools described in the thread

5) Deactivate the RAID 1 for that partition using the command line (also described)

6) Mount the drive (also described)

7) Open the Knoppix file manager (located under Accessories) to view the files you want

8) Copy and Paste as desired

9) unmount the drive using the command line

10) Stop the drive using the command line

 11) Exit Knoppix

12) Remove CD, after Knoppix exits

Hope this proves helpful to anyone else that encounters this situation.

Tomster2
0
 
LVL 1

Expert Comment

by:Leigh_Marsh
Comment Utility
Glad you found the answer. I figured declaring the Raid inactive would do the trick.

CraigsList should turn up one of those, but you might want to look underneath for the Tesla stamp of approval. :D
0
 

Author Closing Comment

by:Tomster2
Comment Utility
Although I tracked down the final solution, the timely comments from both of you keep hope alive that this was indeed doable.  Rindi received more points because of his multiple and detailed replies.

My thanks to both of you.

Now if I can just find an air powered, wireless USB drive... :-)
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction: When experiencing some peculiar problem with the functioning of your PC, how many times has it happened that you look for a solution and even google can’t help? It could be that you are one of the only few people on earth who ma…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now