Moving raid to different machine
Phillip T. George
phillip at eacsi.com
Tue May 10 15:31:40 UTC 2005
Sam Varshavchik wrote:
> Phillip T. George writes:
>
>>> Try this: install Fedora on another box. When you install it create
>>> a small raid partition somewhere. Doesn't matter what it actually
>>> is, the only thing that needs to happen is to have anaconda create
>>> an initrd that loads the raid modules at boot time. Then, you
>>> should be able to move your old disks to the other machine, and they
>>> should come up at boot.
>>>
>>>
>> Sam,
>>
>> I didn't have to create any sort of raid for the modules to load at
>> boot time. I might of had to set some kind of service to start--but
>> I don't think I even had to do that! It was great :)
>
>
> You're slightly mistaken. Anaconda is not going to add the raid
> modules unless it actually creates some raid partition at install file.
>
> Here, for example, is the relevant part from the anaconda-generated
> linuxrc inside an initrd image on a raid server:
>
> echo "Loading scsi_mod.ko module"
> insmod /lib/scsi_mod.ko
> echo "Loading sd_mod.ko module"
> insmod /lib/sd_mod.ko
> echo "Loading aic79xx.ko module"
> insmod /lib/aic79xx.ko
> echo "Loading raid1.ko module"
> insmod /lib/raid1.ko
> echo "Loading jbd.ko module"
> insmod /lib/jbd.ko
> echo "Loading ext3.ko module"
> insmod /lib/ext3.ko
> raidautorun /dev/md0
> raidautorun /dev/md1
> raidautorun /dev/md2
>
> Anaconda is not going to generate all of this raid stuff unless it's
> actually needed.
>
> I suppose you can always manually load raid1.ko, if you don't need
> raid at boot time. Not quite sure yet what raidautorun does, though.
>
>
Sam,
I've done it twice within the past 2-3 weeks. I had to do nothing. It
auto-detected it. It was "freakin' sweet" :)
-Phillip
More information about the fedora-list
mailing list