Re: FAQ

2000-08-02 Thread Ilia Baldine


Can we get the list administrator to add a footer to each
message that has the URL of one of the archives?
It will cut down on the questions like "...where is the
FAQ?"
-ilia
Gregory Leblanc wrote:
Here's a quickie FAQ, it's very incomplete, but I
wanted to get some
feedback on what I've got right now. Thanks,
 Greg
Linux-RAID FAQ
Gregory Leblanc

gleblanc (at) cu-portland.edu
 Revision History
 Revision v0.01 31 July 2000 Revised by: gml
 Initial draft of this FAQ.
 This is a FAQ for the Linux-RAID mailing list, hosted on
 vger.rutgers.edu. It's intended as a supplement to the
existing
 Linux-RAID HOWTO, to cover questions that keep occurring
on the mailing
 list. PLEASE read this document before your post to the
list.
 _
 1. General
 1.1. Where can I find archives
for the linux-raid mailing list?
 2. Kernel
 2.1. I'm running the DooDad
Linux Distribution. Do I need to

patch my kernel to make RAID work?
 2.2. How can I tell if I
need to patch my kernel?
 2.3. Where can I get the
latest RAID patches for my kernel?
 2.4. How do I apply the
patch to a kernel that I just downloaded

from ftp.kernel.org?
1. General
 1.1. Where can I find archives for the linux-raid mailing
list?
 My favorite archives are at Geocrawler.
 Other archives are available at
 http://marc.theaimsgroup.com/?l=linux-raidr=1w=2
 Another archive site is
 http://www.mail-archive.com/linux-raid@vger.rutgers.edu/.
2. Kernel
 2.1. I'm running the DooDad Linux Distribution. Do I need
to patch my
 kernel to make RAID work?
 Well, the short answer is, it depends. Distributions that
are keeping
 up to date have the RAID patches included in their kernels.
The kernel
 that RedHat distributes, as do some others. If you download
a 2.2.x
 kernel from ftp.kernel.org, then you will need to patch
your kernel.
 2.2. How can I tell if I need to patch my kernel?
 The easiest way is to check what's in /proc/mdstat. Here's
a sample
 from a 2.2.x kernel, with the RAID patches applied.
[gleblanc@grego1 gleblanc]$ cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid5] [translucent]
read_ahead not set
unused devices: none>
[gleblanc@grego1 gleblanc]$
 If the contents of /proc/mdstat looks like the above, then
you don't
 need to patch your kernel.
 I'll get a copy of something from an UN-patched 2.2.x kernel
and put
 it here shortly. If your /proc/mdstat looks like this
one, then you
 need to patch your kernel.
 2.3. Where can I get the latest RAID patches for my kernel?
 The patches for the 2.2.x kernels up to, and including,
2.2.13 are
 available from ftp.kernel.org. Use the kernel patch that
most closely
 matches your kernel revision. For example, the 2.2.11
patch can also
 be used on 2.2.12 and 2.2.13.
 The patches for 2.2.14 and later kernels are at
 http://people.redhat.com/mingo/raid-patches/.
Use the right patch for
 your kernel, these patches haven't worked on other kernel
revisions
 yet.
 2.4. How do I apply the patch to a kernel that I just downloaded
from
 ftp.kernel.org?
 Put the downloaded kernel in /usr/src. Change to this directory,
and
 move any directory called linux to something else. Then,
type tar
 -Ixvf kernel-2.2.16.tar.bz2, replacing kernel-2.2.16.tar.bz2
with your
 kernel. Then cd to /usr/src/linux, and run patch -p1 
raid-2.2.16-A0.
 Then compile the kernel as usual.

--
-+------
Ilia Baldine | [EMAIL PROTECTED]
Network Research Engineer, | ph#:(919)248-1847
Advanced Networking Research, MCNC | FAX:(919)248-1455
-+--
"I used to think the brain was the most important part
of the body, but then I realized who was telling me that."
 -Emo Philips




Re: LILO for RAID1

2000-07-26 Thread Ilia Baldine


set boot to a real bootable device (like /dev/sda) and root to the
md device.
-ilia
"Gabor Z. Papp" wrote:
Hello all,
what is the correct root/boot LILO config option for RAID1?
(root fs on raid)
Seems boot=/dev/md0 and root=/dev/md0 OK, but LILO can't
boot only when I issue manually the 'kernel root=/dev/md0'

--
-+--
Ilia Baldine | [EMAIL PROTECTED]
Network Research Engineer, | ph#:(919)248-1847
Advanced Networking Research, MCNC | FAX:(919)248-1455
-+--
"I used to think the brain was the most important part
of the body, but then I realized who was telling me that."
 -Emo Philips




Re: AW: /dev/hda1 mounted

2000-07-12 Thread Ilia Baldine


I think you want to have / on RAID. In the HOWTO
they discuss putting / on RAID - it is a somwehat
involved procedure. Easiest if it is done at install time.
RedHat actually offers that option at install, i
don't know about SuSe ( i have a suse box at
home but I don't run raid on it).
I think it is easiest to put / on a RAID5 partition if
your system is already installed (by marking the
existing / partition as failed in raid, copying everything
from / to the md partition and then readding the
old / disk back). You need to have a spare disk to
do it though. Read the HOWTO for details.
-ilia

Johnny wrote:
Yes, now I know that means. But now I ask me where
I can install Linux itself, because it contains the
data I want to mirror. In Windows NT I have first
have the data with the operating system and then
simply add a disk on which the whole thing is mirrored.
Where is my OS? I use a small boot partition and an
2 GB "/" partition, the "/" should be mirrored. Isn't
that possible.
HZ
-Ursprngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Im
Auftrag von Henry J. Cobb
Gesendet am: Mittwoch, 12. Juli 2000 18:42
An: [EMAIL PROTECTED]
Betreff: Re: /dev/hda1 mounted
If I understand correctly, you're attempting to simply add additional
drives to your existing non-RAID boot partition, instead of creating
a RAID
setup on additional not yet formatted partitions, no?
-HJC

--
-+----------
Ilia Baldine | [EMAIL PROTECTED]
Network Research Engineer, | ph#:(919)248-1847
Advanced Networking Research, MCNC | FAX:(919)248-1455
-+--
"I used to think the brain was the most important part
of the body, but then I realized who was telling me that."
 -Emo Philips




Keeping / on RAID0 in 2.3.99

2000-07-03 Thread Ilia Baldine


Hi all,
Ihave a system with /boot on a normal partition and
/ being on md0 (raid0). It runs 2.2.14 or 2.2.16-RAID,
however I need to switch to 2.3.99 for a variety of
reasons. I've been trying to get it going to no avail
for a couple of weeks now.
Ihave a few questions I'd like to get answers to:
0) It looks like the 2.3.99 patches from
people.redhat.com/mingo have been integrated
into 2.3.99-pre9, correct?
1) I see that 2.3.99-pre9 does not have "boot from
raid" compile option. If I have /boot on a regular
device, but / is on md0, do I still need this support
or not?
2)Is there any anticipation that boot support will
be added to 2.3.99 in the near future?
3) Is it possible to make 2.3.99 have / on md0 (raid0)?
I want to know if I should continue banging my head
against the wall, or can I stop now?
4) What is the meaning of life (in the broader
sense) :-) ?
Please CC me on replies as I am not a subscriber
to the list.
-ilia
--
-+--
Ilia Baldine | [EMAIL PROTECTED]
Network Research Engineer, | ph#:(919)248-1847
Advanced Networking Research, MCNC | FAX:(919)248-1455
-+--
"I used to think the brain was the most important part
of the body, but then I realized who was telling me that."
 -Emo Philips




Booting off raid with 2.3.99

2000-06-21 Thread Ilia Baldine


Hi,
This may have been asked to death by now, but I did
not see an answer in the archive: is it possible to have
/ on RAID0 with 2.3.99 kernel (lets say -pre9)?
I have a RH6.2 with 2.2.14 (pre-patched for RAID
courtesy of RedHat) so it has / on a raid0 drive (I'm short
on disk space to do raid1 or raid5).
I need to use 2.3.99 however because some bug has
crept up in SMP/SCSI code (don't know exactly where),
which freezes up the machine with the apparently
infamous now "unexpected IRQ vector 217 in CPU#0".
With 2.3.99 no such problem, but I can't boot with /
being on /dev/md0.
Any suggestions?
TIA
-ilia
--
-+--
Ilia Baldine | [EMAIL PROTECTED]
Network Research Engineer, | ph#:(919)248-1847
Advanced Networking Research, MCNC | FAX:(919)248-1455
-+--
"I used to think the brain was the most important part
of the body, but then I realized who was telling me that."
 -Emo Philips