LinuxQuestions.org
Register a domain and help support LQ
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 10-04-2005, 04:12 AM   #1
RPaulW
LQ Newbie
 
Registered: Sep 2003
Location: New York
Distribution: Slackware 10, SuSE SLES 9
Posts: 2

Rep: Reputation: 0
Can I go from /dev/sda to /dev/rd w/o data loss?


I have an HP ML370 G4, that was supposed to be preconfigured with RAID1.

To my stupidity with hardware RAID, I moved forward with a full SLES 9 install, and proceeded to build my web, GIS, and indexing system.

Four months later, about to go to production, during testing I realize I have a 2 SCSI drives, with no hardware RAID setup.

HP has set me the RAID controller, but now the problem.

Is it possible to take the /dev/sda system and convert to /dev/rd/???? without data loss?

Obviously, I do have a nice /dev/sdb (should have been my red flag) sitting empty in the box.



Regards,
Paul Warriner ing frantically!
 
Old 10-10-2005, 10:39 AM   #2
cardy
Member
 
Registered: Jan 2005
Location: Shropshire, England, UK
Distribution: RedHat, Fedora, CentOS..........
Posts: 121

Rep: Reputation: 19
I think which ever way you do this you would have to wipe the disks, or at least the RAID controller would do it for you when it was initialising the array. If the raid controller you have presents the combined RAID 1 array as /dev/sda then you could possibly use dd to archive the partitions off to some other storage medium and then dd it back after but this is not a nice solution.

However you go about this I think it will be a long winded process there is no simple method I know of to convert a disk into becoming a raid array without destroying whats there. It may be simpler in the long run to do a full backup, reconfigure the drives and do a restore. Just make sure you test your backups before you begin.
 
  


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
forcing the order of /dev/sda /dev/sdb etc.. jdaniel Linux - Software 5 05-23-2006 07:41 AM
where did my SATA drive go? not /dev/hde or /dev/sda edman007 Linux - Hardware 1 01-16-2005 10:23 PM
/dev/sda and /dev/sda1 disappeared using sii3112A striderstrahan Linux - Software 0 09-16-2004 05:00 AM
Sandisk USB card Reader not linking /dev/sg0 to /dev/sda acidraven Linux - Hardware 1 06-19-2004 03:56 PM
USB Compact flash card reader hotplug creates /dev/sda but no /dev/sda1 -Mandrake 9.1 bibinono Linux - Hardware 2 08-11-2003 09:37 AM


All times are GMT -5. The time now is 07:23 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration