Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error create software raid device on 2005.0 (x86)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
dellaxim
Tux's lil' helper
Tux's lil' helper


Joined: 04 Mar 2005
Posts: 138

PostPosted: Wed Mar 30, 2005 7:23 pm    Post subject: Error create software raid device on 2005.0 (x86) Reply with quote

Hi,
I just have time to try out the new 2005.0 today but failed to create software raid devices for my pc.
I create a raidtab:
Code:

# /boot (RAID 1)
raiddev                 /dev/md0
raid-level              1
nr-raid-disks           2
chunk-size              64
persistent-superblock   1
device                  /dev/sda1
raid-disk               0
device                  /dev/sdb1
raid-disk               1


# / (RAID 1)
raiddev                 /dev/md2
raid-level              1
nr-raid-disks           2
chunk-size              64
persistent-superblock   1
device                  /dev/sda3
raid-disk               0
device                  /dev/sdb3
raid-disk               1

 
# /home (RAID 0)
raiddev                 /dev/md3
raid-level              0
nr-raid-disks           2
chunk-size              64
persistent-superblock   1
device                  /dev/sda4
raid-disk               0
device                  /dev/sdb4
raid-disk               1


and then I did
Code:
/dev> MAKEDEV md

which create bunches of raid devices in /dev fine
but then when I executed
Code:
mkraid /dev/md*

It returned an error:
Code:
cannot determine md version: 6

which is really weird because I did it and it worked like charm with my old 2004.3.

Anyone please help me out!
Thanks for all reply!

:)
Back to top
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Wed Mar 30, 2005 7:29 pm    Post subject: Reply with quote

Did you load the modules for the raid devices? I think it goes like this, ie:
Code:
modprobe raid1
Back to top
View user's profile Send private message
DntKnwHw
n00b
n00b


Joined: 14 Aug 2003
Posts: 74
Location: Philippines

PostPosted: Thu Apr 07, 2005 1:15 pm    Post subject: Reply with quote

i think you have to use mknod etc...

documents can be read on the documentaion of gentoo, x86 tips and tricks

happy raidding :)
Back to top
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Thu Apr 07, 2005 3:32 pm    Post subject: Reply with quote

DntKnwHw wrote:
i think you have to use mknod etc...

documents can be read on the documentaion of gentoo, x86 tips and tricks

happy raidding :)

Using 2004.3 there was no need to mknod. Modprobing the raid modules was enough. But, if they changed that, then using mknod first is neccessary.

Good tip, DntKnwHw, I totally forgot about that.
Back to top
View user's profile Send private message
arkane
l33t
l33t


Joined: 30 Apr 2002
Posts: 918
Location: Phoenix, AZ

PostPosted: Thu Apr 07, 2005 9:01 pm    Post subject: Reply with quote

Unfortunately it doesn't setup the /dev/md* stuff.

mknod /dev/md0 b 9 0
mknod /dev/md1 b 9 1
mknod /dev/md2 b 9 2
etc...
then raidstart /dev/md0 /dev/md1 /dev/md2 etc

your good to go then.
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Wed Jul 20, 2005 2:06 pm    Post subject: Reply with quote

See this thread.
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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