LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-08-2011, 07:02 AM   #1
qrange
Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable, amd64
Posts: 805

Rep: Reputation: 32
RAID1 and ordinary drive?


Is there a difference between raid1 and ordinary hard disk?
 
Old 06-08-2011, 07:33 AM   #2
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 13.1
Posts: 1,326

Rep: Reputation: 253Reputation: 253Reputation: 253
You investigated how RAID1 is working already?
 
Old 06-08-2011, 07:38 AM   #3
qrange
Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable, amd64
Posts: 805

Original Poster
Rep: Reputation: 32
well I know its a mirror thing.

what I need to know is, if you take out RAID1 hard drive from a computer, and put it in another computer that is identical but without RAID controller; would it work?

if not, how do you convert it to non-raid drive?
 
Old 06-08-2011, 08:02 AM   #4
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 13.1
Posts: 1,326

Rep: Reputation: 253Reputation: 253Reputation: 253
If it’s a software RAID1 and the mainboard is the same it should work (although you get two machines with the same hostkeys), as for booting you need the initrd for this particular chipset. LILO/GRUB needs to be installed on both too.

If it’s a true hardware RAID1, you are most likely out of luck. But it depends on the vendor of the hardware RAID1, what they stored on the disk. Usually they write some extra information to the disk when you add it in their BIOS setup and they can’t work alone.
 
1 members found this post helpful.
Old 06-08-2011, 08:34 AM   #5
qrange
Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable, amd64
Posts: 805

Original Poster
Rep: Reputation: 32
what if true_hardware_RAID_controller breaks, and we put in another hardware RAID controller (different manufacturer/model)? would it work with the old drives?
 
Old 06-08-2011, 08:52 AM   #6
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 13.1
Posts: 1,326

Rep: Reputation: 253Reputation: 253Reputation: 253
What each controller vendor writes on proprietary information to the disk is not known. In that case you will need to restore all stuff from a backup.

Nevertheless: in certain cases it might work, but I wouldn't rely on it for my system. It’s better to assume that it won’t work. If you have a service contract for a computer system, the service company needs to have some of exactly this type in stock.
 
Old 06-09-2011, 01:52 AM   #7
qrange
Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable, amd64
Posts: 805

Original Poster
Rep: Reputation: 32
well in that case, dd would not be a smart way to backup the RAID1 drive?
 
Old 06-09-2011, 04:55 AM   #8
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 13.1
Posts: 1,326

Rep: Reputation: 253Reputation: 253Reputation: 253
A dd of the complete disk would copy only the part of the disk which is made visible to the OS, i.e. w/o the proprietary information. But it’s not guaranteed to work as it depends on the disk layout where partitions start and end. If you have a different disk where you restore the information to, it can fail. More promising would be a dd of the individual partitions which you could save as a file to somewhere and then mount as a loop device. Restoring the complete dump of the partition to a disk might give the same problem like a dd of the complete disk as the disk layout is different.

For a backup I would suggest a real backup application like Bacula.
 
Old 06-09-2011, 05:26 AM   #9
qrange
Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable, amd64
Posts: 805

Original Poster
Rep: Reputation: 32
but what is 'proprietary information'?
all we need to backup is OS with installed software.
Bacula needs installing, and that takes system resources.
 
Old 06-09-2011, 05:54 AM   #10
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 13.1
Posts: 1,326

Rep: Reputation: 253Reputation: 253Reputation: 253
The “proprietary information” each hardware RAID card stores on the disk which disk belongs to which array and alike. Imagine having 4 disks for a RAID5 plus a hot spare. How to know which disks belongs to which array? This information won’t be visible by the operating system, as even a RAID5 across 4 disks will show up as one disk with the assembled total size.

The disk image might change during operation. I would use dd only with an unmounted drive or one in read-only mode.

What do you mean by “system resources” - a few megabyte lost on the disk? I would emphasize to use a such a solution, there are even more.
 
Old 06-09-2011, 06:23 AM   #11
qrange
Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable, amd64
Posts: 805

Original Poster
Rep: Reputation: 32
ok, thanks Reuti. the thing I forgot to mention is that server uses Windows. Bacula seems to fully support only 'client daemon' for Windows.

the idea was to shutdown server, take drive out and backup it with dd.
the software we use on it already has backup options. so we don't need Bacula or similar. but it can't backup the OS itself. and they never gave us installation CDs for OS.
 
Old 06-09-2011, 07:04 AM   #12
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 13.1
Posts: 1,326

Rep: Reputation: 253Reputation: 253Reputation: 253
Really: forget this idea of a backup. You would always have to copy the complete disk, despite the fact that only half of it may be used. And you need an identical disk to restore it.

Well, this is a Linux forum and so you get suggestions for Linux or BSD like systems at the first place. Nevertheless: you can look into using Retrospect, AFAIK they have a recovery CD in the package.
 
  


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
Best way to RAID1 the boot drive whitestar73 Linux - Server 4 05-18-2010 06:24 PM
Missing Drive From RAID1 Mirror carlosinfl Linux - Server 1 10-30-2009 07:47 PM
Best way to recover file off of single RAID1 drive? ddc441 Linux - Hardware 5 02-24-2009 09:11 PM
trying to clone a drive with RAID1. getting stuck at grub ncsuapex Linux - Software 0 02-03-2009 01:12 PM
RH8, RAID1, Dead Drive hardtarget_x Linux - Hardware 11 10-15-2003 06:57 PM


All times are GMT -5. The time now is 10:30 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration