Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.