Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 10-04-2005, 05:12 AM   #1
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.

Paul Warriner ing frantically!
Old 10-10-2005, 11:39 AM   #2
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.


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 08:41 AM
where did my SATA drive go? not /dev/hde or /dev/sda edman007 Linux - Hardware 1 01-16-2005 11:23 PM
/dev/sda and /dev/sda1 disappeared using sii3112A striderstrahan Linux - Software 0 09-16-2004 06:00 AM
Sandisk USB card Reader not linking /dev/sg0 to /dev/sda acidraven Linux - Hardware 1 06-19-2004 04: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 10:37 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:53 AM.

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