LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-03-2005, 04:21 AM   #1
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,192

Rep: Reputation: 101Reputation: 101
Moving a software raid to a new computer


I have a software RAID-1 using two IDE harddrives, and I need to move it to another computer, I'm not sure how to do this. Is it just a matter of plugging the hdds in and mounting /dev/md0? Do I need to plug the harddrives into the same channels, ie the two harddrives are currently hdb and hdc, so do i need to plug them into the primary slave and secondary master (respectively) on the new system? Is there anything to set up in the system? The computer with the raid uses Slackware 10 and I'm going to use Slackware 10.1 on the new machine.
 
Old 06-03-2005, 05:25 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
Is it just a matter of plugging the hdds in and mounting /dev/md0?
You would need to create the /etc/raidtab file and using the correct /dev/hdx devices.

Do I need to plug the harddrives into the same channels, ie the two harddrives are currently hdb and hdc, so do i need to plug them into the primary slave and secondary master (respectively) on the new system?
Plugging them into the same exact channels being primary slave/seconday master will most likely keep them as /dev/hdb and /dev/hdc. If they do come up as the same letters as in the old system, you could copy the raidtab exactly and mount /dev/md0.

Is there anything to set up in the system?
Make sure the raid-toolkit is installed, the drives you use in the raidtab match the drive letters in the new system, and of course

BACK UP EVERYTHING BEFORE YOU DO ANYTHING.
 
Old 06-03-2005, 08:11 AM   #3
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,192

Original Poster
Rep: Reputation: 101Reputation: 101
The thing is I have had to resinstall slackware on the current machine (the system files are another disk, the raid is for home dirs) and it automatically recognised the RAID without having to set up the raidtab file again. So I'm wondering if it will automatically recognised by Slackware in the new system, especially if I plug the hdds in the same physical locations

If I set up the RAIDTAB and do a `mkraid /dev/md0` won't that format my disks and I will lose all my data?
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving from non-raid to Raid with linux Danathar Linux - General 1 11-01-2005 07:02 PM
Moving a computer macisaint Linux - Hardware 8 06-26-2005 11:57 PM
moving system from ide software raid to new box with scsi raid ftumsh Linux - General 0 10-28-2003 09:34 AM
software raid (linear) and moving disks TuxJay Linux - Software 0 08-27-2003 03:36 AM
moving computer chens_83 Linux - General 1 07-24-2002 09:46 AM


All times are GMT -5. The time now is 01:09 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