Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Move a software array to a new box.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
NrG
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jun 2002
Posts: 83

PostPosted: Sun Oct 27, 2002 4:46 pm    Post subject: Move a software array to a new box. Reply with quote

I want to move a sw raid 0 array to a new box.
Will my kernel automaticly detect this new array?
can i use any ide port i want to? or should i use the same as it was using on the other box?
Do need to copy/modify my raidtab?

What i read in the howto makes me believe i can just plug in the array in a new box and it would be automaticly detect if:

* autodection is enabled in the kernel
* they array is created with persistance supperblock
* and type is set to fd.

All of the above options are done on my system/array.

Any help/info is appriciated. There is some semi important information on these 2 disks and i dont have the capacity to backup 120 gb :)

Thx in Adv.

NrG
Back to top
View user's profile Send private message
mglauche
Retired Dev
Retired Dev


Joined: 25 Apr 2002
Posts: 564
Location: Germany

PostPosted: Mon Oct 28, 2002 12:52 pm    Post subject: Reply with quote

I think that is true, otherwise the kernel could not boot from raid ;)
(chicken - egg problem), how could the kernel know the raid parameters otherwise if "/" is raid ?
Back to top
View user's profile Send private message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1145
Location: Williamsburg Virginia

PostPosted: Mon Oct 28, 2002 5:17 pm    Post subject: Reply with quote

will you booting from the new array? either way you would need to make changes to /etc/fstab.....explain a bit more of what you are thinking or doing...like the steps you would take to actaully do.
Back to top
View user's profile Send private message
NrG
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jun 2002
Posts: 83

PostPosted: Mon Oct 28, 2002 5:41 pm    Post subject: Reply with quote

No system file are on this array. The array only contains my music :).

Currently its running on a slackware box and i want to move it to a new gentoo box. After the box is booted i want to mount it, it doesnt matter where.

My thinking is that when i move it to the new box and connect the drives to the ide ports and boot it up. The kernel should automaticly detect it and i would be able to mount /dev/md0 anywhere i want. But im not completely sure its as simple as that.

Hope this explains my situation a bit beter.

btw: the kernel could never boot from sw raid 0 as for as i know.


NrG
Back to top
View user's profile Send private message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1145
Location: Williamsburg Virginia

PostPosted: Tue Oct 29, 2002 5:22 am    Post subject: Reply with quote

your right you cant have a boot aprtition as part of of an lsr raid 0 configuration...i have been running lsr since i started using linux/gentoo....i was just wondering what you were trying to do...i think what you want to do will work as long as the right raid support in the kernel and raid tools have been emerged, then creating a mount point for /dev/md0 in fstab and an entry in /etc/mtab. but even if it didnt work i dont think you would be risking damaging the raid array.
the only other thing is what ide channels will you be using, and if its a pci controller to ber sure that it has kernel support.

good luck
Back to top
View user's profile Send private message
NrG
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jun 2002
Posts: 83

PostPosted: Tue Oct 29, 2002 8:03 pm    Post subject: Reply with quote

I think i will give it a try soon.
When i dont forget i will post my experiances here.

Thx

NrG
Back to top
View user's profile Send private message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1145
Location: Williamsburg Virginia

PostPosted: Wed Oct 30, 2002 1:51 am    Post subject: Reply with quote

yeah that would be helpful ....i would be interested to know what you had to do and how it worked out for ya

good luck
Back to top
View user's profile Send private message
NrG
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jun 2002
Posts: 83

PostPosted: Sun Dec 08, 2002 10:02 pm    Post subject: Reply with quote

Last weekend i finaly did it.
I moved my 120 raid 0 array and added also a new 650 gb raid 5 array.
After i connected the 2 disk of the 120 raid 0 array it was nicely detected by the kernel. It doesnt even matter what ide port/channel you use aslong as you:


Enable the RAID options you need in the kernel.
Enable auto mount in the kernel.
Partition your raid drives and setting it to type FD.
Set persistent-superblock 1 when creating the array.

Any box with disks that have these requerments will work i think.

Another thing i found out is that you can never use more then 2 promise controlers in one pc. Maybe this info can come in handy sometimes when you want to create a really large achive.

NrG
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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