LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-24-2012, 02:08 PM   #1
peter100
LQ Newbie
 
Registered: May 2012
Posts: 14

Rep: Reputation: Disabled
how can read a lacie raid 1 drive as a singel drive


i have a lacie raid 1 that the box died and lacie says i cannot buy a new box since they are not backwards compatable.

so i would like to plug in one of the drives into a computer running ubuntu 12.04. when i do ubuntu sees the array but can not access it.

i have run testdisk and have not got drive readable.

since it is raid 1 mirrored drives i should be able to read the data some how?

thank you for your time

peter
 
Old 05-24-2012, 02:48 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,968

Rep: Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622
We'd have to know more about this so called raid you had. Many of them are phoney raid or faux raid. A true hardware raid might have allowed you to mount a single disk if it were set to mirror.
 
Old 05-24-2012, 08:00 PM   #3
peter100
LQ Newbie
 
Registered: May 2012
Posts: 14

Original Poster
Rep: Reputation: Disabled
here is the online manual for the raid is was set as a raid 1 but the box died

sorry wrong url here is the right one

http://www.lacie.com/download/datash...network_en.pdf

http://www.lacie.com/download/manual/2bigNetwork_en.pdf

Last edited by peter100; 05-24-2012 at 08:15 PM.
 
Old 05-24-2012, 11:16 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
As a NAS, hopefully (real) hardware RAID. What does "fdisk -l" and "parted -l" think of it (use sudo on Ubuntu) ?.
 
Old 05-24-2012, 11:58 PM   #5
peter100
LQ Newbie
 
Registered: May 2012
Posts: 14

Original Poster
Rep: Reputation: Disabled
verified B-A-C-K-U-P??? no i was under the belief that with a raid 1 or safe mode my data would be safe and with a dead box i thought i could just plug the drives in another box, but, no it does not work with lacie raids

are you saying "sudo fdisk -1" or "sudo parted -l" will make the drive readable in ubuntu?
 
Old 05-25-2012, 12:08 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally Posted by peter100 View Post
are you saying "sudo fdisk -1" or "sudo parted -l" will make the drive readable in ubuntu?
Nope.
I (we) are merely looking for evidence as to why you have been unable to read it so far.

My sigline is a sigline - not aimed (specifically) at you.
 
Old 05-25-2012, 12:51 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Ahhh - I (now) maybe see what may have prompted that outburst.
Ignore my sigline on this occasion - those commands are harmless (see the manpages). They merely list the disk/partition layout if considered sane (in a Linux context).
Those are lower case ells (for list), not the digit one.
 
Old 05-25-2012, 04:08 AM   #8
whizje
Member
 
Registered: Sep 2008
Location: The Netherlands
Distribution: Slackware64 current
Posts: 594

Rep: Reputation: 141Reputation: 141
Replace x with the letter assigned to the drive if you have normally 1 drive in your computer and now have added the drive out your nas then it is probably sdb.
The following command gives info over the drive and the raid status.
Code:
sudo mdadm --examine /dev/sd*
If you have determined which device the raid is on you can assemble the raid.
Code:
sudo mdadm --assemble --run /dev/md0 /dev/sdb2
if all goes well you can mount the array. And access your files in /mnt/lacie.
Code:
sudo mkdir /mnt/lacie
sudo mount /dev/md0 /mnt/lacie
 
Old 05-25-2012, 04:19 AM   #9
whizje
Member
 
Registered: Sep 2008
Location: The Netherlands
Distribution: Slackware64 current
Posts: 594

Rep: Reputation: 141Reputation: 141
Lacie uses mdraid (linux software raid) so if you have the space in your ubuntu machine you can use it as your nas.
 
Old 05-25-2012, 04:50 AM   #10
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
On a side note:
Quote:
Originally Posted by peter100 View Post
verified B-A-C-K-U-P??? no i was under the belief that with a raid 1 or safe mode my data would be safe
RAID != BACKUP

http://serverfault.com/questions/288...d-not-a-backup
http://hardware.slashdot.org/story/0...ackup-solution
 
Old 05-25-2012, 04:56 AM   #11
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Just my 2 cents. We have a couple Lacie drives at work. The power supply provides a5 and 12 volts. If one of them goes out, it can seem like the drives went bad.

Also, this isn't a networking question. I'm moving it to Linux Hardware.

Last edited by jschiwal; 05-25-2012 at 04:59 AM.
 
Old 05-25-2012, 11:37 AM   #12
peter100
LQ Newbie
 
Registered: May 2012
Posts: 14

Original Poster
Rep: Reputation: Disabled
i ran through the commands and did not get to far so i ran thought again and here are the text from terminal i tried variations of the commands but i did not work any better
------------------------------------------------------------------------------------------------

peter@lonovo:~$ sudo mdadm --examine /dev/sdb
/dev/sdb:
MBR Magic : aa55
Partition[0] : 1349397 sectors at 642663 (type fd)
------------------------------------------------------------------
peter@lonovo:~$ sudo mdadm --assemble --run /dev/md0 /dev/sdb
mdadm: Cannot assemble mbr metadata on /dev/sdb
mdadm: /dev/sdb has no superblock - assembly aborted
---------------------------------------------------------------------------
peter@lonovo:~$ sudo mdadm --assemble --run /dev/md0 /dev/sdb1
---------------------------------------------------------------------------
peter@lonovo:~$ sudo mkdir /mnt/lacie
mkdir: cannot create directory `/mnt/lacie': File exists
--------------------------------------------------------------------
peter@lonovo:~$ sudo mount /dev/md0 /mnt/lacie
mount: special device /dev/md0 does not exist
--------------------------------------------------------------------------------
peter@lonovo:~$
 
Old 05-25-2012, 12:07 PM   #13
whizje
Member
 
Registered: Sep 2008
Location: The Netherlands
Distribution: Slackware64 current
Posts: 594

Rep: Reputation: 141Reputation: 141
could you first post the result of the following commands:
Code:
cat /proc/mdstat
sudo mdadm --examine /dev/sd*

Last edited by whizje; 05-25-2012 at 12:09 PM.
 
Old 05-25-2012, 12:10 PM   #14
peter100
LQ Newbie
 
Registered: May 2012
Posts: 14

Original Poster
Rep: Reputation: Disabled
yes druuna i am slowly learning
and i understand your frustration having told people a thousand times and we still dont learn

one person buys 2 of any array uses one and the other sits in a box waiting for hardware failure

another person has 2) 1 tbyte usb drives, copies all his data to the drives and takes one to his mothers house and even if he has a fire, flood or robbery he still has a copy, and once a week he made a backup and goes and visits his mother and swops out the usb drive. cheap and easy and you get to visit your mother.

i got a great price on an acer server and it has hard drive redunducy (raid 1)but i plan on backing up all data on a usb drive. i dont know if making a trip to the bank once a week to swop out hard drives into my safety deposit box is over kill but im thinking about it

if i havent thanked everyone for all their help for a while i will do it now
thank you for all your time
 
Old 05-25-2012, 12:14 PM   #15
peter100
LQ Newbie
 
Registered: May 2012
Posts: 14

Original Poster
Rep: Reputation: Disabled
peter@lonovo:~$ cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
unused devices: <none>
--------------------------------------------------------------

peter@lonovo:~$ sudo mdadm --examine /dev/sd*
[sudo] password for peter:
/dev/sda:
MBR Magic : aa55
Partition[0] : 10063872 sectors at 2048 (type 27)
Partition[1] : 130914937 sectors at 10065920 (type 07)
Partition[2] : 15329282 sectors at 140982270 (type 05)
/dev/sda1:
MBR Magic : aa55
Partition[0] : 1917848077 sectors at 6579571 (type 70)
Partition[1] : 1818575915 sectors at 1953251627 (type 43)
Partition[2] : 10 sectors at 225735265 (type 72)
Partition[3] : 51890 sectors at 2642411520 (type 00)
/dev/sda2:
MBR Magic : aa55
Partition[0] : 1917848077 sectors at 6579571 (type 70)
Partition[1] : 1818575915 sectors at 1953251627 (type 43)
Partition[2] : 10 sectors at 225735265 (type 72)
Partition[3] : 51890 sectors at 2642411520 (type 00)
/dev/sda3:
MBR Magic : aa55
Partition[0] : 14413824 sectors at 2 (type 83)
Partition[1] : 914807 sectors at 14414475 (type 05)
mdadm: No md superblock detected on /dev/sda5.
mdadm: No md superblock detected on /dev/sda6.
/dev/sdb:
MBR Magic : aa55
Partition[0] : 1349397 sectors at 642663 (type fd)
/dev/sdb1:
Magic : a92b4efc
Version : 0.90.00
UUID : 00000000:00000000:00000000:00000000
Creation Time : Thu May 24 06:20:16 2012
Raid Level : -unknown-
Raid Devices : 0
Total Devices : 1
Preferred Minor : 2

Update Time : Thu May 24 06:25:13 2012
State : active
Active Devices : 0
Working Devices : 1
Failed Devices : 0
Spare Devices : 1
Checksum : 48a2c4da - correct
Events : 1


Number Major Minor RaidDevice State
this 0 8 17 0 spare /dev/sdb1

0 0 8 17 0 spare /dev/sdb1
peter@lonovo:~$
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LaCie 500 usb external hard drive sheine Linux - Hardware 13 03-06-2008 01:45 PM
Lacie USB drive and Mandriva 2006 Official fishy Linux - Hardware 1 02-11-2008 12:19 PM
LACIE Firewire drive Markup Linux - Hardware 1 09-29-2007 02:14 PM
Problems with Lacie external hard drive deanw8 Linux - Hardware 1 04-05-2007 11:07 AM
How to use virgin Lacie firewire drive nutthick Linux - Newbie 1 02-10-2005 10:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration