Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
software RAID01
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
Exci
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 265
Location: The Netherlands, Zoetermeer

PostPosted: Mon Dec 09, 2002 3:09 pm    Post subject: software RAID01 Reply with quote

I'm trying to make a 4x120GB raid01 array with software raid from linux.

what i mean with that is 2x a raid0(stripe) and those 2 mirrored.

I begin with:
hde - hdg - hdi - hdk

I partition those drives with 1 partition with raid auto detect(fd).
so then i have
hde1 - hdg1 - hdi1 - hdk1

then i make my raidtab:
Code:

intranet root # cat /etc/raidtab
## RaidArray0 (RAID0)
raiddev /dev/md0
        raid-level      0
        nr-raid-disks   2
        persistent-superblock 1
        chunk-size     32
        device          /dev/hde1
        raid-disk       0
        device          /dev/hdg1
        raid-disk       1

## RaidArray1 (RAID0)
raiddev /dev/md1
        raid-level      0
        nr-raid-disks   2
        persistent-superblock 1
        chunk-size     32
        device          /dev/hdi1
        raid-disk       0
        device          /dev/hdk1
        raid-disk       1


## RaidArray01 (RAID1)
raiddev /dev/md2
        raid-level      1
        nr-raid-disks   2
        nr-spare-disks  0
        chunk-size     4
        persistent-superblock 1
        device          /dev/md0p1
        raid-disk       0
        device          /dev/md1p1
        raid-disk       1



I make the md0 and md1 and everything is fine, although my first problem show itself when i reboot. the rc-script with 'starting software raid' in it says that /dev//dev/md0 isn't correct .. like duh .. it has to be /dev/md0 .. I can change my raidtab and make the mkraids in /dev/ or i can edit the rc-script .. but what's best ? who started this problem? is it a syntax error in the rc-script or is my raidtab wrong ?


Ok I choose for editting my raidtab and continued, now i want to make md2 but md0p1 and md1p1 don't excist :(
I could make them with mknod .. although I don't now what major and minor to use :( and i don't know if i have to do this different with devfs ..

so please help meh ;)
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