Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Need help with Raid
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
jerome187
Guru
Guru


Joined: 29 Apr 2003
Posts: 584

PostPosted: Sat Jul 26, 2003 8:05 am    Post subject: Need help with Raid Reply with quote

I'm trying to initisalise my raid array with mkraid /dev/md0, and heres what i get:

Code:
cdimage root # mkraid --really-force /dev/md0
DESTROYING the contents of /dev/md0 in 5 seconds, Ctrl-C if unsure!
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/sda2, 1961680kB, raid superblock at 1961600kB
disk 1: /dev/sdb1, 2061469kB, raid superblock at 2061376kB
disk 2: /dev/sdc1, 2061469kB, raid superblock at 2061376kB
disk 3: /dev/sdb1, 2061469kB, raid superblock at 2061376kB
mkraid: aborted, see the syslog and /proc/mdstat for potential clues.
cdimage root # cat /proc/mdstat
Personalities :
read_ahead not set
md0 : inactive scsi/host1/bus0/target2/lun0/part1[2] scsi/host1/bus0/target1/lun0/part1[1] scsi/host1/bus0/target0/lun0/part2[0]
      0 blocks
unused devices: <none>
cdimage root #


heres my raidtab:
Code:
# / partition
raiddev /dev/md0
raid-level 0
nr-raid-disks 4
chunk-size 32
persistent-superblock 1
device /dev/sda2
raid-disk 0
device /dev/sdb1
raid-disk 1
device /dev/sdc1
raid-disk 2
device /dev/sdb1
raid-disk 3


I'm using 4 old scsi disks, all exact same size/make/model. Letme know if you need more info to help me,

TIA

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


Joined: 29 Apr 2003
Posts: 584

PostPosted: Sat Jul 26, 2003 9:32 pm    Post subject: Reply with quote

can someone tell me where the syslog is so i can view it?
Back to top
View user's profile Send private message
jerome187
Guru
Guru


Joined: 29 Apr 2003
Posts: 584

PostPosted: Sun Jul 27, 2003 5:29 am    Post subject: Reply with quote

well i tryed making all my partions in the 4 drives exactly the same, one boot partion (25MB) one / partion (2gigs) and one swap partion. the boot are root partions are set to be linux raid autodetect in fdisk. so heres my new raidtab:

Code:
 /boot partition
raiddev /dev/md0
raid-level 0
nr-raid-disks 4
chunk-size 32
persistent-superblock 1
device /dev/sda1
raid-disk 0
device /dev/sdb1
raid-disk 1
device /dev/sdc1
raid-disk 2
device /dev/sdb1
raid-disk 3

# / partition
raiddev /dev/md1
raid-level 0
nr-raid-disks 4
chunk-size 32
persistent-superblock 1
device /dev/sda2
raid-disk 0
device /dev/sdb2
raid-disk 1
device /dev/sdc2
raid-disk 2
device /dev/sdb2
raid-disk 3


still dosent work tho...
Back to top
View user's profile Send private message
deathdruid
Guru
Guru


Joined: 25 Jul 2002
Posts: 343
Location: Philadelphia, PA, USA

PostPosted: Sun Jul 27, 2003 6:13 am    Post subject: Reply with quote

jerome187 wrote:
can someone tell me where the syslog is so i can view it?


Depends on which log package you are using. With the "original" syslog, it is at /var/log/messages. I think all of the logs are in /var/log -- kernel messages should show up with dmesg, of course.
Back to top
View user's profile Send private message
jerome187
Guru
Guru


Joined: 29 Apr 2003
Posts: 584

PostPosted: Sun Jul 27, 2003 6:29 am    Post subject: Reply with quote

i just using the livecd, i havent gotten a successful install on this machine yet (or even close to one...)
Back to top
View user's profile Send private message
deathdruid
Guru
Guru


Joined: 25 Jul 2002
Posts: 343
Location: Philadelphia, PA, USA

PostPosted: Sun Jul 27, 2003 6:48 am    Post subject: Reply with quote

1. Post to the correct forum (Installation in this case)
2. Try Ctrl-Alt-F<1-4>. One of them is the syslog.
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