Yeri Tiete wrote:
RAID boot only from RAID 1 and with fdisk chek RAID 1 partition as bootable. Check raitab, grub and kernel setingsDear,
I have Sata builtin (You need gentoo livecd 2004.3 to install on Sata hdd's).
I followed this forum howto to set it up: http://forums.gentoo.org/viewtopic.php?t=8813&highlight=raid
I have no real idea why he tells you that error. Are you 100% sure
Grub and/or /etc/raidtab is correct?
This is my grub.conf: # Grub config timeout 3 default 0 fallback 1 splashimage=(hd0,0)/grub/splash.xpm.gz # # Booting Gentoo Linux # title Rootspirit root (hd0,0) kernel /boot/bzImage root=/dev/md3 # But please note that with this config Grub only boots from hda, and not from hdb!
This is my /etc/raidtab:
# /boot (RAID 1)
raiddev /dev/md1
raid-level 1
nr-raid-disks 2
chunk-size 32
persistent-superblock 1
device /dev/sda1
raid-disk 0
device /dev/sdb1
raid-disk 1
# /var (RAID 1)
raiddev /dev/md2
raid-level 1
nr-raid-disks 2
chunk-size 32
persistent-superblock 1
device /dev/sda3
raid-disk 0
device /dev/sdb3
raid-disk 1
# / (RAID 1)
raiddev /dev/md3
raid-level 1
nr-raid-disks 2
chunk-size 32
persistent-superblock 1
device /dev/sda4
raid-disk 0
device /dev/sdb4
raid-disk 1
I hope I might helped a bit. Good luck and kind regards, Yeri
On Mon, 7 Feb 2005 10:20:59 +1100 (EST), Devraj Mukherjee
<[EMAIL PROTECTED]> wrote:
Hi Yeri,
It seems to me like you have managed to get software RAID and Gentoo happening on your server. I am trying to setup something similar has have failed miserably about four times now.
Everything goes well and as instructed, except when I boot it gives me a message informing me that its unable to find my device md2. All partitions are set right etc, but raid does not detect the parts.
Does SATA support have to be compiled into the kernel separetely?
md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. VFS: Cannot open root device "md2" or unknown-block(0,0) Plesae append a correct "root=" boot option Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)
Devraj
[Reply below]
On Sun, 06 Feb 2005 16:35:33 +0100, TRauMa <[EMAIL PROTECTED]>
wrote:
1. You can edit the boot prompt in Grub. so just press "e" and change 01. The server is in a datacenter, so I can't press e to change
to 1
2. If you disable hda, you have a slave(hdb) without a master(hda)
hanging on your IDE Bus, don't you?
something. The server is at 350 km from here.
2. I use Sata hdd's. Sata doesn't have master or slave anymore.
I have root partition on RAID 0 and boot on RAID 1 an work ok no problem at all.
