Mount Linux RAID Drive via USB
I'm trying to mount a RAID 1 hdd from my Iomega ix2 NAS to a laptop running Ubuntu. For some reason, the drive is not visible from fdisk -l. It was showing in lsusb and now it is not.
I tried to mount it running mount /dev/sdb2 /media/usbhdd but got an error message: mount special device does not exist.
Can you think of something that would allow me to mount the drive and copy the data off of it?
Would a disk duplicator allow me to back up the data or drive image? How about something like Acronis to capture the image. Again, problem with software is that the OS is not recognizing the hardware. My last resort it to send it to Kroll Ontrack for Data Recovery. That's going to cost $700 to start.
Is the hard drive removed from the NAS and plugged into the laptop with another USB adapter?
Does the drive show up as /dev/sdb and /dev/sbd2 after you plug it in? Before you plug it in, /dev/sdb doesn't exist, right?
Which Ubuntu version are you using?
What is the drive / partition format? How many partitions?
One of the nas drives (3.5" hdd) is connected to the laptop via a usb adapter. No other devices are attached to the laptop.
What about the other questions?
It only showed up as /dev/sdb2 once. There is another 20 gb partition for the NAS OS on sdb1. It is no longer showing /dev/sdb when i run lshw.
Ok. I can only give you some tips, because you didn't answer all my questions.
Before plugging in the drive into the computer, you can look at /dev for all storage devices (using the ls -alF) command. You should see /hd* and /sd*. Make a list of all drives that are attached in this manner.
After plugging in the USB drive, you should look at that list again to see if anything shows up. (We will use "sdb" as an example.)
This is where I need to know the partition and format of the drive, which I don't know. But here is some pointers. The physical drive itself should show up as /dev/sdb. For each partition (that Ubuntu understands), you should /dev/sdb1, /dev/sdb2, /dev/sdb3, etc. If you don't see /dev/sdb, you won't see any partitions, because Ubuntu doesn't even see the physical connection to the drive.
If Ubuntu doesn't see the physical drive, then you need to start debugging Linux USB messages. First unplug the drive from the computer. Output the USB messages. You may even be able to watch it using "tail -f" while performing the next step. Plug the drive in and see what USB message shows up. Give it 30 seconds or so to see all relevant messages.
Ubuntu sees the /dev/sdb for the usb connection. Two data partitions (volume 1 - 20 gb and 2 - 1.8 tb). Data is on 2. Sudo lshw reports that sdb2 iswhere the data is.
Fdisk -l does not shoe sdb2 only sdb and sdb1.
I tried to mount it again and got: unknown file system type 'linux_ raid_member'.
Tried installing the mdadm and got a little further.
Mdadm --assemble --scan --run
Stuck at this point. Haven't found anything helpful to continue.
Right now, the partition format is the important information that's keeping you from moving forward. Do you know what format the partition is in?
If it is a standard format that Ubuntu 12 should know about (ext3, FAT32, etc.), then there may be something wrong.
If it is a standard format that Ubuntu 12 doesn't know about (NTFS, HFS+, etc), then you can find the driver for that format and install it into Ubuntu 12.
But if it is a completely proprietary format, then you are going to have problems. I don't know anything about your NAS... but the best case is to get the drive to work in the NAS that uses that proprietary format and read the data off as soon as possible.
Oh. One more thing. Before and after running mdadm, check fstab and mtab to see if it is already mounted after mdadm ran. If you have auto-mount rules, it may be mounted and ready to use.
Fstab and mtab do not have the entry. When booting with the USB attached, it tries to boot of the USB and hangs. After booting Ubuntu and then connecting the USB, I can see it in cat /proc/mdstat as inactive.
Md1 : inactive sdb2(s)
Md0 : inactive sdb1(s)
Fisk -l yields
Device. Boot.Start. End. Blocks. Id. System
/dev/sdb2 does not appear on fdisk.
Ran mdadm --assemble --scan --run and then fdisk again, but still no sdb2. Mounting results in can't read superblocks.
Is there a way to mount GPT or download testdisk to scan the drive?
Not sure how to answer your question. Are you saying GPT is not readable by Ubuntu? The last time I check, I thought the latest version of Ubuntu needed, or at least supported, GPT for boot. I can't remember if the "latest" version was 12.10 or 13.04.
There are many partitioning software for UNIX. They all operate differently and will give you different results. I remember gparted was my favorite. Definitely try several partitioners.
So after you run mdadm, sdb1 and sdb2 did not show up on the Unity desktop, eh?
And I guess you don't know what its file format is?
Did you try plugging into a Windows machine and see what Disk Management shows?
I'm running testdisk now and it appears that the disk integrity is fine. I'll do a image copy with a duplicator device and work in the copy. I will need to ship the drive back since the sent me a replacement unit.
Did your message disappear? Read the Forums FAQ.
Spam Control | * indicates required field
TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.
No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.
Messages, files, and images copyright by respective owners.
45 Users Online
Copyright © 2004 - 2019. All Rights Reserved.