* Re: RAID for AXP.
1998-06-09 19:56 Alvin Starr
@ 1998-06-09 11:52 ` Jay.Estabrook
1998-06-15 19:19 ` Carlos Carvalho
1 sibling, 0 replies; 15+ messages in thread
From: Jay.Estabrook @ 1998-06-09 11:52 UTC (permalink / raw)
To: axp-list
>>> Alvin Starr said:
>
> I have the software raid working with 2.1.101 but seem to have hit my
> head when trying to get a root file system to be raid1. It looks as
> though initrd is not supported by milo or the alpha verion of linux.
>
> Has anybody else tried playing with this?
>
> Any suggestions?
"initrd" is supported by Alpha kernels, IIRC.
However, MILO filesystem support, along with a number of other similar
things, is pretty much a roll-your-own set based (very) loosely on kernel
sources. Many things, such as MD and RAMdisk, are not supported by MILO, at
least for the moment.
Best bet would be to keep root a simple device/filesystem; sorry...
--Jay++
-------------------------------------------------------------------------------
American Non Sequitur Society: we don't make sense, but we do like pizza...
Jay A Estabrook Alpha Motherboards - LINUX Project
Digital Equipment Corp. (508) 841-3241 or (DTN) 237-3241
334 South Street, Shrewsbury, MA 01545 Jay.Estabrook@digital.com
-------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 15+ messages in thread
* RAID for AXP.
@ 1998-06-09 19:56 Alvin Starr
1998-06-09 11:52 ` Jay.Estabrook
1998-06-15 19:19 ` Carlos Carvalho
0 siblings, 2 replies; 15+ messages in thread
From: Alvin Starr @ 1998-06-09 19:56 UTC (permalink / raw)
To: axp-list
I have the software raid working with 2.1.101 but seem to have hit my
head when trying to get a root file system to be raid1. It looks as
though initrd is not supported by milo or the alpha verion of linux.
Has anybody else tried playing with this?
Any suggestions?
Alvin Starr || voice: (416)493-3325
Interlink Connectivity || fax: (416)493-7974
alvin@iplink.net ||
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: RAID for AXP.
@ 1998-06-10 14:19 Greg Lindahl
1998-06-10 15:24 ` Alvin Starr
0 siblings, 1 reply; 15+ messages in thread
From: Greg Lindahl @ 1998-06-10 14:19 UTC (permalink / raw)
To: axp-list
> I have the software raid working with 2.1.101 but seem to have hit my
> head when trying to get a root file system to be raid1. It looks as
> though initrd is not supported by milo or the alpha verion of linux.
Perhaps I'm missing something, but doesn't it go like this:
1) linload loads milo from a FAT filesystem
2) Milo reads a kernel off any filesystem it understands, and passes
it arguments
3) that kernel reads the root filesystem off anything it understands
With this existing setup, you can have your root filesystem on raid1
-- you just can't make milo read the kernel off a mirrored
disk. That's a 99% solution for most people; a running system will
survive a disk failure, but may not be able to reboot.
initrd in the kernel wouldn't help you; initrd in milo would get the
other 1%.
-- g
^ permalink raw reply [flat|nested] 15+ messages in thread
* RE: RAID for AXP.
@ 1998-06-10 14:59 Alan Wood
0 siblings, 0 replies; 15+ messages in thread
From: Alan Wood @ 1998-06-10 14:59 UTC (permalink / raw)
To: axp-list@redhat.com
If the kernel is on the FAT partition, then it will work. As you say, this is
not a full solution, the problem being that in order to get that other 1%, you
need to have the BIOS understand the RAID system, and if that is in software,
then it is not going to happen.
You could of course use two discs with identical FAT partitions on them, so
you are then able intervene and boot off the other one in case of a single disc
failure.
I actually have the kernel on our UDB setup with the kernel in the MILO FAT
partition, which is mounted as /boot. This was only because it seemed like the
right thing to do until I realised better, but why change it when it works ;-)
Alan
----------
From: Greg Lindahl[SMTP:lindahl@cs.virginia.edu]
Sent: 10 June 1998 11:20
To: axp-list@redhat.com
Subject: Re: RAID for AXP.
> I have the software raid working with 2.1.101 but seem to have hit my
> head when trying to get a root file system to be raid1. It looks as
> though initrd is not supported by milo or the alpha verion of linux.
Perhaps I'm missing something, but doesn't it go like this:
1) linload loads milo from a FAT filesystem
2) Milo reads a kernel off any filesystem it understands, and passes
it arguments
3) that kernel reads the root filesystem off anything it understands
With this existing setup, you can have your root filesystem on raid1
-- you just can't make milo read the kernel off a mirrored
disk. That's a 99% solution for most people; a running system will
survive a disk failure, but may not be able to reboot.
initrd in the kernel wouldn't help you; initrd in milo would get the
other 1%.
-- g
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: RAID for AXP.
1998-06-10 15:24 ` Alvin Starr
@ 1998-06-10 15:09 ` Michal Jaegermann
0 siblings, 0 replies; 15+ messages in thread
From: Michal Jaegermann @ 1998-06-10 15:09 UTC (permalink / raw)
To: axp-list
Alvin Starr writes:
>
> one other possiblity would be to have a system call that would allow the
> root to be remounted on another device after the system starts it's run
> up.
....
> I have even thought a bit about chroot-ing the system after it starts up
> but to do that I would have to hack init.
Very recently initial version of patches to do just that showed up
on 'linux-kernel' list. The context was to boot Linux from initrd
on ARM, switch to the "real" root, and *free* memory used by initrd.
At least 'mount', on user-land side, should be modified to allow such
operations.
Michal
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: RAID for AXP.
1998-06-10 14:19 RAID for AXP Greg Lindahl
@ 1998-06-10 15:24 ` Alvin Starr
1998-06-10 15:09 ` Michal Jaegermann
0 siblings, 1 reply; 15+ messages in thread
From: Alvin Starr @ 1998-06-10 15:24 UTC (permalink / raw)
To: axp-list; +Cc: axp-list
On Wed, 10 Jun 1998, Greg Lindahl wrote:
> > I have the software raid working with 2.1.101 but seem to have hit my
> > head when trying to get a root file system to be raid1. It looks as
> > though initrd is not supported by milo or the alpha verion of linux.
>
> Perhaps I'm missing something, but doesn't it go like this:
>
> 1) linload loads milo from a FAT filesystem
> 2) Milo reads a kernel off any filesystem it understands, and passes
> it arguments
> 3) that kernel reads the root filesystem off anything it understands
>
> With this existing setup, you can have your root filesystem on raid1
> -- you just can't make milo read the kernel off a mirrored
The problem with raid under linux is that there is no way to have the
kernel boot up and directly recoginze the raid drives. Some user level
programmes must be run. I may have missed some recient changes in the
raid software but as far as I know the only way to do this is through the
initrd type process.
> disk. That's a 99% solution for most people; a running system will
> survive a disk failure, but may not be able to reboot.
A raid1 mirrored device is readable by milo and can be used for booting.
it is just that if you write the drive you are up the creek or if the
drive is striped.
one other possiblity would be to have a system call that would allow the
root to be remounted on another device after the system starts it's run
up. Reading from the the raw device that is part of a mirror is ok it is
just when you want to mount the file system for writing that you will
have to have the real /dev/md up and running.
I have even thought a bit about chroot-ing the system after it starts up
but to do that I would have to hack init.
> initrd in the kernel wouldn't help you; initrd in milo would get the
> other 1%.
Alvin Starr || voice: (416)585-9971
Interlink Connectivity || fax: (416)585-9974
alvin@iplink.net ||
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: RAID for AXP.
@ 1998-06-10 15:45 Greg Lindahl
1998-06-11 2:10 ` Richard Henderson
0 siblings, 1 reply; 15+ messages in thread
From: Greg Lindahl @ 1998-06-10 15:45 UTC (permalink / raw)
To: axp-list
> The problem with raid under linux is that there is no way to have the
> kernel boot up and directly recoginze the raid drives. Some user level
> programmes must be run.
Oh, yech. That's not very boot-friendly, although it works fine for
user files.
-- g
[ see http://www.ssc.com/lg/issue17/raid.html for an explanation of
how you create raid devices, and
ftp://ftp.bizsystems.com/pub/raid/Root-RAID-HOWTO.html for a raid
cookbook which shows how to do it with initrd... if someone does
figure out how to do this with Alphas, they should add to this howto. ]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: RAID for AXP.
1998-06-10 15:45 Greg Lindahl
@ 1998-06-11 2:10 ` Richard Henderson
1998-06-11 3:18 ` Alvin Starr
0 siblings, 1 reply; 15+ messages in thread
From: Richard Henderson @ 1998-06-11 2:10 UTC (permalink / raw)
To: axp-list
On Wed, Jun 10, 1998 at 11:45:56AM -0400, Greg Lindahl wrote:
> > The problem with raid under linux is that there is no way to have the
> > kernel boot up and directly recoginze the raid drives. Some user level
> > programmes must be run.
>
> Oh, yech. That's not very boot-friendly, although it works fine for
> user files.
You can in 2.1.x. See Documentation/md.txt.
r~
----
You can boot (if you selected boot support in the configuration) with your md
device with the following kernel command line:
md=<md device no.>,<raid level>,<chunk size factor>,<fault level>,dev0,dev1,...,
devn
md device no. = the number of the md device ...
0 means md0,
1 md1,
2 md2,
3 md3,
4 md4
raid level = -1 linear mode
0 striped mode
other modes are currently unsupported.
chunk size factor = (raid-0 and raid-1 only)
Set the chunk size as PAGE_SIZE << n.
fault level = (raid-1 only)
Set the maximum fault number as n.
Currently unsupported due to lack of boot support for raid1.
dev0-devn: e.g. /dev/hda1,/dev/hdc1,/dev/sda1,/dev/sdb1
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: RAID for AXP.
1998-06-11 2:10 ` Richard Henderson
@ 1998-06-11 3:18 ` Alvin Starr
1998-06-11 18:23 ` Christoph Nadig
0 siblings, 1 reply; 15+ messages in thread
From: Alvin Starr @ 1998-06-11 3:18 UTC (permalink / raw)
To: Richard Henderson; +Cc: axp-list
On Wed, 10 Jun 1998, Richard Henderson wrote:
> On Wed, Jun 10, 1998 at 11:45:56AM -0400, Greg Lindahl wrote:
> > > The problem with raid under linux is that there is no way to have the
> > > kernel boot up and directly recoginze the raid drives. Some user level
> > > programmes must be run.
> >
> > Oh, yech. That's not very boot-friendly, although it works fine for
> > user files.
>
> You can in 2.1.x. See Documentation/md.txt.
>
>
> r~
>
>
> ----
> You can boot (if you selected boot support in the configuration) with your md
> device with the following kernel command line:
>
> md=<md device no.>,<raid level>,<chunk size factor>,<fault level>,dev0,dev1,...,
> devn
>
> md device no. = the number of the md device ...
> 0 means md0,
> 1 md1,
> 2 md2,
> 3 md3,
> 4 md4
>
> raid level = -1 linear mode
> 0 striped mode
> other modes are currently unsupported.
>
> chunk size factor = (raid-0 and raid-1 only)
> Set the chunk size as PAGE_SIZE << n.
>
> fault level = (raid-1 only)
> Set the maximum fault number as n.
> Currently unsupported due to lack of boot support for raid1.
>
> dev0-devn: e.g. /dev/hda1,/dev/hdc1,/dev/sda1,/dev/sdb1
Yes you are correct. There is support for booting a raid system. I am
sure I read just about every FAQ and document on the linux raid
implemtation and nobody mentioned the boot support. FYI It also seems to
work for raid1 if you uncoment out the section that tests for raid1/5 in
md.c. My quickie test allowes me to boot a kernel that mounts /dev/md0 as
the root partition. I have not done any extensive tests but my quick boot
and poke around the file system seems to work correctly.
It looks now like my prblem is how to stop cleanly.
Alvin Starr || voice: (416)585-9971
Interlink Connectivity || fax: (416)585-9974
alvin@iplink.net ||
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: RAID for AXP.
1998-06-11 3:18 ` Alvin Starr
@ 1998-06-11 18:23 ` Christoph Nadig
1998-06-11 19:18 ` Alvin Starr
` (2 more replies)
0 siblings, 3 replies; 15+ messages in thread
From: Christoph Nadig @ 1998-06-11 18:23 UTC (permalink / raw)
To: axp-list
Alvin Starr wrote:
> > You can in 2.1.x. See Documentation/md.txt.
>
> Yes you are correct. There is support for booting a raid system. I am
> sure I read just about every FAQ and document on the linux raid
> implemtation and nobody mentioned the boot support.
Ok, so which 2.1.x kernel is stable enough to replace 2.0.30 redhat kernel?
Thanks, Chris
--
Christoph Nadig | mailto:christoph.nadig@stest.ch
Switching Test Solutions AG | web :http://www.stest.com
a Wandel & Goltermann Company | Phone : +41 1 454-6726
Friesenbergstr. 75 | FAX : +41 1 454-6605
CH-8055 Zurich |
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: RAID for AXP.
1998-06-11 18:23 ` Christoph Nadig
@ 1998-06-11 19:18 ` Alvin Starr
1998-06-11 21:41 ` Wes Bauske
1998-06-12 7:14 ` Joakim Roubert
2 siblings, 0 replies; 15+ messages in thread
From: Alvin Starr @ 1998-06-11 19:18 UTC (permalink / raw)
To: Christoph Nadig; +Cc: axp-list
On Thu, 11 Jun 1998, Christoph Nadig wrote:
> Alvin Starr wrote:
>
> > > You can in 2.1.x. See Documentation/md.txt.
> >
> > Yes you are correct. There is support for booting a raid system. I am
> > sure I read just about every FAQ and document on the linux raid
> > implemtation and nobody mentioned the boot support.
>
> Ok, so which 2.1.x kernel is stable enough to replace 2.0.30 redhat kernel?
I have been using 2.1.101 for a few weeks now. Not a real good test but
I have not had any significant problems. Mind you I am using the system
for a development testbed so I quite often do things that will cause it
to crash.
Alvin Starr || voice: (416)585-9971
Interlink Connectivity || fax: (416)585-9974
alvin@iplink.net ||
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: RAID for AXP.
1998-06-11 18:23 ` Christoph Nadig
1998-06-11 19:18 ` Alvin Starr
@ 1998-06-11 21:41 ` Wes Bauske
1998-06-12 7:14 ` Joakim Roubert
2 siblings, 0 replies; 15+ messages in thread
From: Wes Bauske @ 1998-06-11 21:41 UTC (permalink / raw)
To: axp-list
Christoph Nadig wrote:
>
> Alvin Starr wrote:
>
> > > You can in 2.1.x. See Documentation/md.txt.
> >
> > Yes you are correct. There is support for booting a raid system. I am
> > sure I read just about every FAQ and document on the linux raid
> > implemtation and nobody mentioned the boot support.
>
> Ok, so which 2.1.x kernel is stable enough to replace 2.0.30 redhat kernel?
>
I've had a 2.1.98 running on a PC164LX 27 days now.
It's one of my compute engines. Other PC164 is
still running 2.0.3x.
Tried 2.1.102 and it wasn't so stable. When
I have time, I'll try the newest one. Have
some other code to write at the moment.
Wes
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: RAID for AXP.
1998-06-11 18:23 ` Christoph Nadig
1998-06-11 19:18 ` Alvin Starr
1998-06-11 21:41 ` Wes Bauske
@ 1998-06-12 7:14 ` Joakim Roubert
2 siblings, 0 replies; 15+ messages in thread
From: Joakim Roubert @ 1998-06-12 7:14 UTC (permalink / raw)
To: axp-list
On Thu, 11 Jun 1998, Christoph Nadig wrote:
> Ok, so which 2.1.x kernel is stable enough to replace 2.0.30 redhat kernel?
From what I've heard, 2.1.98 is to be allright.
/Jokke tmw.
---
* Origin: FUW95 http://www.efd.lth.se/~d97jro/ (2:200/127.9)
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: RAID for AXP.
1998-06-09 19:56 Alvin Starr
1998-06-09 11:52 ` Jay.Estabrook
@ 1998-06-15 19:19 ` Carlos Carvalho
1998-06-16 13:57 ` Alvin Starr
1 sibling, 1 reply; 15+ messages in thread
From: Carlos Carvalho @ 1998-06-15 19:19 UTC (permalink / raw)
To: axp-list
Alvin Starr (alvin@iplink.net) wrote on 9 June 1998 15:56:
>
>I have the software raid working with 2.1.101
I need this BADLY and URGENTLY :-( How did you get it to work? I
couldn't and some others also didn't manage :-( :-( First, the
raidtools (which aren't included in redhat) don't compile on the alpha
out of the box. I had to remove some lines dealing with llseek in
raid_io.c. Then it compiles, but when I try to mkraid the array, after
setting up /etc/raid5.conf, it aborts immediately and returns to the
shell prompt...
What's your configuration? I need raid5, with a partition of about 3MB
on each of the 4 disks. I tried with 2.1.101 as well.
Much thanks in advance,
Carlos
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: RAID for AXP.
1998-06-15 19:19 ` Carlos Carvalho
@ 1998-06-16 13:57 ` Alvin Starr
0 siblings, 0 replies; 15+ messages in thread
From: Alvin Starr @ 1998-06-16 13:57 UTC (permalink / raw)
To: Carlos Carvalho; +Cc: axp-list
On Mon, 15 Jun 1998, Carlos Carvalho wrote:
> Alvin Starr (alvin@iplink.net) wrote on 9 June 1998 15:56:
> >
> >I have the software raid working with 2.1.101
>
> I need this BADLY and URGENTLY :-( How did you get it to work? I
> couldn't and some others also didn't manage :-( :-( First, the
> raidtools (which aren't included in redhat) don't compile on the alpha
> out of the box. I had to remove some lines dealing with llseek in
> raid_io.c. Then it compiles, but when I try to mkraid the array, after
> setting up /etc/raid5.conf, it aborts immediately and returns to the
> shell prompt...
>
> What's your configuration? I need raid5, with a partition of about 3MB
> on each of the 4 disks. I tried with 2.1.101 as well.
>
> Much thanks in advance,
> Carlos
I had to make the same patches to to the raidtools. I will email you a
tar of the changes I have made.
I am only using raid1. I suggest that you start with a simple raid1
installation first. then go from there.
Alvin Starr || voice: (416)585-9971
Interlink Connectivity || fax: (416)585-9974
alvin@iplink.net ||
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~1998-06-16 13:28 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-10 14:19 RAID for AXP Greg Lindahl
1998-06-10 15:24 ` Alvin Starr
1998-06-10 15:09 ` Michal Jaegermann
-- strict thread matches above, loose matches on Subject: below --
1998-06-10 15:45 Greg Lindahl
1998-06-11 2:10 ` Richard Henderson
1998-06-11 3:18 ` Alvin Starr
1998-06-11 18:23 ` Christoph Nadig
1998-06-11 19:18 ` Alvin Starr
1998-06-11 21:41 ` Wes Bauske
1998-06-12 7:14 ` Joakim Roubert
1998-06-10 14:59 Alan Wood
1998-06-09 19:56 Alvin Starr
1998-06-09 11:52 ` Jay.Estabrook
1998-06-15 19:19 ` Carlos Carvalho
1998-06-16 13:57 ` Alvin Starr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox