View previous topic :: View next topic |
Author |
Message |
LasseKongo n00b

Joined: 01 Aug 2003 Posts: 17 Location: Sweden
|
Posted: Mon Nov 19, 2007 8:01 pm Post subject: Missing RAID support for Alpha ? |
|
|
I just acquired an Alpha machine (Personal Workstation 500) which I intend to run Linux on.
I have equipped the machine with 2 18GB drivers which I intend to mirror with software RAID
and also boot from the mirror.
When I booted the Gentoo 2007.0 installcd I found that there are no RAID or LVM modules
whatsoever, and the are not statically compiled into the kernel either (but mdadm exists).
After reading posts on Google, a lot of people seem to think that it is not possible to boot
from a mirror, at least not with SRM/aboot.
I then downloaded Debian 4.0 which had all the necessary modules and mdadm included, and
after some quirks I got the mirror up and installed the base system with debbootstrap and then
successfully booted the system from the mirror.
So my question is, why is there no RAID support in the installcd kernel ? Are there known problems
when including them ?
Is there some way I can build my own kernel/installcd to get around this ?
/Daniel |
|
Back to top |
|
 |
neysx Retired Dev


Joined: 27 Jan 2003 Posts: 795
|
Posted: Wed Nov 21, 2007 2:47 pm Post subject: |
|
|
It was simply forgotten. 2007.1 should allow you to set up your system like you did.
Anyway, as you already know, Gentoo media is not required at all.
Any media that gives you access to your disks and Internet is all you need.
Hth |
|
Back to top |
|
 |
LasseKongo n00b

Joined: 01 Aug 2003 Posts: 17 Location: Sweden
|
Posted: Thu Nov 22, 2007 8:30 pm Post subject: |
|
|
Thanks for that info.
The potential problem I see is even if the modules are included and loaded at boot
it will not detect the arrays since there is no FD partition ID available when using
BSD disklabels. I my Debian experiment I used ext2 partition IDs and then Debian
embeds mdadm and an /etc/mdadm.conf with info on the root array
into the initramfs that loads when booting the kernel.
How does Gentoo handle such features in initrd/initramfs? When I checked on my PC
with Opensuse 10.3 there is a ton of features that can be embedded into the initrd of
that OS.
I don´t have a machine at the moment to check for myself, so if anyone could shed
some light on this it would be appreciated.
/Daniel |
|
Back to top |
|
 |
Lupin_the_3rd Apprentice


Joined: 03 Apr 2005 Posts: 168
|
Posted: Tue Dec 04, 2007 5:57 am Post subject: |
|
|
Yes, I'm running Gentoo on an XP1000 and I found it rather irritating that RAID1 module was not available on the install CD.
Anyhow, I am finally up and running on software RAID. SRM / aboot cannot boot from a Linux software RAID device though, so I came up with a creative solution to that problem! I took an old 128 MB ConpactFlash card I had here, and bought a $10 CF-to-IDE adapter, then attached that to an IDE-SCSI adapter. So now I have this 128 MB scsi "drive" on the onboard Qlogic controller that SRM can boot from! Hooray! I don't use initrd; I have RAID support compiled into the kernel, so once the kernel boots, it identifies my software RAID1 mirror and system is running! Actually works very well. The CF card is mounted as /boot on my system.
The CF card has BSD disk label so that SRM / aboot can see it and boot the kernel, then my two SCSI disks (36 GB 10k rpm) both have DOS disklabels to allow the correct type "FD" "Linux RAID Autodetect" partition type.
Code: | lain ~ # fdisk -l /dev/sda
Disk /dev/sda: 128 MB, 128188416 bytes
64 heads, 32 sectors/track, 122 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
3 partitions:
# start end size fstype [fsize bsize cpg]
a: 5 120 116 ext2
c: 1 122 122 unused 0 0
lain ~ # fdisk -l /dev/sdb
Disk /dev/sdb: 36.4 GB, 36419584000 bytes
64 heads, 32 sectors/track, 34732 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 10 1917 1953792 fd Linux raid autodetect
/dev/sdb2 1920 34730 33598464 fd Linux raid autodetect
lain ~ # fdisk -l /dev/sdc
Disk /dev/sdc: 36.4 GB, 36419584000 bytes
64 heads, 32 sectors/track, 34732 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 10 1917 1953792 fd Linux raid autodetect
/dev/sdc2 1920 34730 33598464 fd Linux raid autodetect
lain ~ # cat /proc/mdstat
Personalities : [raid1]
md1 : active raid1 sdc2[0] sdb2[1]
33598400 blocks [2/2] [UU]
md0 : active raid1 sdc1[0] sdb1[1]
1953728 blocks [2/2] [UU]
unused devices: <none>
lain ~ # uname -a
Linux lain 2.6.22-gentoo-r9-lain #1 Mon Dec 3 11:33:57 EST 2007 alpha EV67 Tsunami GNU/Linux
lain ~ # |
_________________ Compaq XP1000 Alpha EV67 667Mhz w/ 2GB ECC
32bit PCI: ATI Radeon 9100 (DRI works!)
32bit PCI: Generic Firewire 400 card
64bit PCI: BCM5703 Gig-E (Compaq NC7771)
64bit PCI: Sil3124 SATA w/ mdadm RAID1 (pair of WD VelociRaptors) |
|
Back to top |
|
 |
|
|
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
|
|