Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Software RAID not working
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
LittleKing
n00b
n00b


Joined: 04 Jul 2002
Posts: 15
Location: TN, USA

PostPosted: Wed Dec 08, 2004 3:30 am    Post subject: Software RAID not working Reply with quote

I"m trying to follow this HOW-TO about setting up Gentoo with software RAID. It's probably a simple problem, but I just can't seem to figure it out.

I'm installing from the Gentoo 2004.3-r1 minimal release. The hardware is a BE-6 mobo, PIII 550 Mhz, and both drives are on seperate channels. After I started the system, since all the networking stuff worked from boot the next thing seems to be "Set up partitions". I did the following command
Code:
#modprobe md
, fdisked both drives the same, the partition ID's are fd (except for the SWAP partition) and created my /etc/raidtab file. Now when I try to do
Code:
#mkraid /dev/md*
step, I'm getting the following error message
Code:
cannot determine md version: no MD device file in /dev


I'm not sure what I'm not doing. Any help would be appreicated.

Also another question about using RAID, do I need to set my /boot partition with the boot flag? It's not mentioned in the HOW-TO so I'm guessing not, but want to be sure.

THanks,
LK
Back to top
View user's profile Send private message
zecora
l33t
l33t


Joined: 17 Aug 2004
Posts: 627
Location: Minneapolis, MN

PostPosted: Wed Dec 08, 2004 3:33 am    Post subject: Reply with quote

The drives are on hda and hdc or hdb and hdd?
Back to top
View user's profile Send private message
zecora
l33t
l33t


Joined: 17 Aug 2004
Posts: 627
Location: Minneapolis, MN

PostPosted: Wed Dec 08, 2004 3:34 am    Post subject: Reply with quote

post your /etc/fstab

what raid lvl are you going for?
Back to top
View user's profile Send private message
LittleKing
n00b
n00b


Joined: 04 Jul 2002
Posts: 15
Location: TN, USA

PostPosted: Wed Dec 08, 2004 2:58 pm    Post subject: Reply with quote

Since the BE-6 chipset had only IDE-33, they added at HighPoint controller that added two IDE-66 connectors. So my setup is as follows:
Code:

IDE-33 Connectors
IDE1 - CD-RW
IDE2 - Empty
IDE3 - CD-ROM
IDE4 - Empty

IDE-66 Connectors
IDE5 - WD 80 Gig (hde)
IDE6 - empty
IDE7 - WD 80 Gig (hdg)
IDE8 - empty

Both HD are partitioned as follows:
Code:

Partition  | Size | Type
---------------------------------
hde1 /boot | 100M | fd - RAID Autodetect
SWAP       | 512M | linux swap
hde3 /home | 50 G | fd - RAID Autodetect
hde5 /var  | 10 G | fd - RAID Autodetect
hde6 /     | 14 G | fd - RAID Autodetect


Partition  | Size | Type
---------------------------------
hdg1 /boot | 100M | fd - RAID Autodetect
SWAP       | 512M | linux swap
hdg3 /home | 50 G | fd - RAID Autodetect
hdg5 /var  | 10 G | fd - RAID Autodetect
hdg6 /     | 14 G | fd - RAID Autodetect

My raidtab file is as follows:
Code:

# /boot (RAID 1)
raiddev                 /dev/md0
raid-level              1
nr-raid-disks           2
chunk-size              32
persistent-superblock   1
device                  /dev/hde1
raid-disk               0
device                  /dev/hdg1
raid-disk               1

# /home (RAID 1)
raiddev                 /dev/md1
raid-level              1
nr-raid-disks           2
chunk-size              32
persistent-superblock   1
device                  /dev/hde3
raid-disk               0
device                  /dev/hdg3
raid-disk               1

# /var (RAID 1)
raiddev                 /dev/md2
raid-level              1
nr-raid-disks           2
chunk-size              32
persistent-superblock   1
device                  /dev/hde5
raid-disk               0
device                  /dev/hdg5
raid-disk               1

# / (RAID 1)
raiddev                 /dev/md3
raid-level              1
nr-raid-disks           2
chunk-size              32
persistent-superblock   1
device                  /dev/hde6
raid-disk               0
device                  /dev/hdg6
raid-disk               1


LK
Back to top
View user's profile Send private message
NismoC32
Apprentice
Apprentice


Joined: 07 Apr 2003
Posts: 221

PostPosted: Wed Dec 08, 2004 11:44 pm    Post subject: Reply with quote

Looks like modprobe md is broken, it does not create any /dev/md* devices :-(

Well I'm fresh out og Ideas looks like all 2004.3 LiveCD's are brooken in different plases. I have tried for one week now on installing Gentoo on my new AMD64 PC.

I have tried AMD64 version of LiveCD from Stage 1 to Stage 3 none worked. I then tried the X86 LiveCD (2004.3-r1) and diden't manage to start raid :-(
I guess I have to go for Fedora :-(

2004.2 dosent support my raid card or network card.

I also tried AMD64 LiveCD 2004.3-r1 and nothing worked there, no fb, no keymap, no links2.... nothing ??????

I guess I'l have try again when LiveCD 2005.0 releases, and hopefully the AMD64 version is bugg free.
Back to top
View user's profile Send private message
LittleKing
n00b
n00b


Joined: 04 Jul 2002
Posts: 15
Location: TN, USA

PostPosted: Thu Dec 09, 2004 12:05 am    Post subject: Reply with quote

NismoC32 wrote:
Looks like modprobe md is broken, it does not create any /dev/md* devices :-(

Well I'm fresh out og Ideas looks like all 2004.3 LiveCD's are brooken in different plases.


Does everyone agree that it's just broken. Should I try to install from 2004.2 or maybe ealier?

LK
Back to top
View user's profile Send private message
LittleKing
n00b
n00b


Joined: 04 Jul 2002
Posts: 15
Location: TN, USA

PostPosted: Thu Dec 09, 2004 7:10 pm    Post subject: Reply with quote

Well, I tried installing from my old 2004.1 CD I had burned in preperation to install Gentoo back when 2004.1 came out, but didn't get around to it. Well after I did "modprobe md" I checked '/dev' for md devices and sure enough they where there. The rest of the install when smootly until I had to 'emerge --sync' which then couldn't connect. I had to got to bed so I'll try again today when I get home from work.

So does this mean that 2004.3 is broken?


Another question I have would be, can I install from the 2004.1 CD and still use the 2004.3 Stage1 to install the base system? I would think it would work, but are there known issues with doing this?

Thanks,
LK
Back to top
View user's profile Send private message
Skraut
Tux's lil' helper
Tux's lil' helper


Joined: 23 Feb 2003
Posts: 142
Location: Norwalk, OH, USA, Earth, Solar System, Milky Way, Virgo Supercluster, Known Universe

PostPosted: Thu Dec 09, 2004 8:39 pm    Post subject: Reply with quote

Dang, I'm stuck in the same spot. Anyone know a good way around?
_________________
__
If you play a Windows CD backwards you can hear demonic voices... Played forward it does something even more terrifying... It installs Windows.
Back to top
View user's profile Send private message
Skraut
Tux's lil' helper
Tux's lil' helper


Joined: 23 Feb 2003
Posts: 142
Location: Norwalk, OH, USA, Earth, Solar System, Milky Way, Virgo Supercluster, Known Universe

PostPosted: Fri Dec 10, 2004 1:13 pm    Post subject: Reply with quote

2004.2 worked for me to get everything booted, then downloaded the stage 1 2004.3 tarball
_________________
__
If you play a Windows CD backwards you can hear demonic voices... Played forward it does something even more terrifying... It installs Windows.
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7730
Location: Underworld

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

https://forums.gentoo.org/viewtopic-p-2587699.html
_________________
"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