Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Raid 5 switch from RedHat to Gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
ukolsch
n00b
n00b


Joined: 15 Sep 2004
Posts: 2

PostPosted: Wed Sep 15, 2004 10:33 am    Post subject: Raid 5 switch from RedHat to Gentoo Reply with quote

I'm currently running a system on RedHat 9 with this configuration:
The OS is installed on a single IDE harddrive, a storage area is setup on 4 SCSI drives using software RAID 5 as it comes with RedHat.

I would like to switch this system to Gentoo. Does someone know if this is possible by keeping the current RAID 5 array.

Thanks

Uwe
Back to top
View user's profile Send private message
Petyr
Guru
Guru


Joined: 08 Jan 2003
Posts: 471
Location: San Diego, CA, USA

PostPosted: Wed Sep 15, 2004 11:05 pm    Post subject: Reply with quote

Unless RedHat(e) did something evil and messed with the software raid stuff from the kernel, then you should be perfectly fine moving that over. Just make sure when you're building your kernel and setting up your Gentoo box that you get the raid-tools stuff installed and that you enable Multipule devices drivers support (RAID and LVM) -> RAID support.
It's pretty safe to just enable all of those options under that section.

If nothing else, test it out. Make a good backup of the main drive (I suggest g4u or Ghost for Unix), then install Gentoo over the main drive. If all goes well, then hold onto that image until your comfortable that everything else is safe then you can drop it. If all goes wrong, then you have an image you can restore from.

hth,

Petyr Rahl
Back to top
View user's profile Send private message
ukolsch
n00b
n00b


Joined: 15 Sep 2004
Posts: 2

PostPosted: Fri Sep 17, 2004 11:48 am    Post subject: Reply with quote

Thanks for this. Can I just take the existing raidtab file, put it in /etc, and call raidstart /dev/md0?
Back to top
View user's profile Send private message
Petyr
Guru
Guru


Joined: 08 Jan 2003
Posts: 471
Location: San Diego, CA, USA

PostPosted: Fri Sep 17, 2004 10:15 pm    Post subject: Reply with quote

I don't see why not. Just make a quick sanity check that all the device names haven't been changed around on you when you go from RH to Gentoo.
Back to top
View user's profile Send private message
MorfiusX
n00b
n00b


Joined: 14 Sep 2004
Posts: 8

PostPosted: Sat Sep 18, 2004 2:56 am    Post subject: Reply with quote

The last time I used the RAID the comes with Red Hat, it indeed built the RAID support into the kernel. So, most likely that's how yours is set up. I decided to set up Gentoo on the same box. When I went to fdisk the drive(s) because I no longer wanted RAID, the array was still recognized. You'll probably be OK just making sure that RAID is built into the kernel when you build it and copying the raidtab.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum