SOFTRAID

2000-07-26 Thread bernd . giese




I'm using Suse Linux 6.4.
I want to install a raid1 on /dev/hda4 and /dev/hdb2.
The /etc/raidtab is OK.

Now I want to excecute mkraid /dev/md0

The answer is:

Handling MD Device /dev/md0
analyzing super-block
disk0: ..
disk1: ..
Mkraid aborted, the the syslog or /proc/mdstat for potential clues.

The Problem is now, that nothing happend in /proc/mdstat and in my syslog.
Can you help me ???


Bernd Giese





M.M. WARBURG INVEST KAPITALANLAGEGESELLSCHAFT mbH
Liebigstr.6
60323 Frankfurt
Tel. +49 (0)69 17097-203
Fax +49 (0)69 17097-303
e-mail: [EMAIL PROTECTED]





Re: SOFTRAID

2000-07-26 Thread Alexander Javoronkov

 Mkraid aborted, the the syslog or /proc/mdstat for potential clues.

I had this promlem because of unpatched kernel.





LILO for RAID1

2000-07-26 Thread Gabor Z. Papp

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'




Re: LILO for RAID1

2000-07-26 Thread octave klaba

 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'

Hi,

try linear

# cat /etc/lilo.conf 
[...]
linear
[...]

Octave

Amicalement,
oCtAvE 

"Internet ? Welcome in the slave economy."



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




raid-0.90 and 2.2.16

2000-07-26 Thread Reid Sutherland


Hello,

Does anyone have a patch that will patch properly for 2.2.16?
I've looked on kernel.org/pub/linux/daemons/raid/alpha but found only
2.2.12 patches and nothing later.

Thank you.

-reid



Re: raid-0.90 and 2.2.16

2000-07-26 Thread Nic Benders

I used Ingo's patch from 
http://people.redhat.com/mingo/raid-patches/raid-2.2.16-A0
and it built without issue.  There is also a 2.2.17 patch that applies
cleanly against the Alan Cox's 2.2.17pre13 code for me.

-Nic Benders

On Wed, 26 Jul 2000, Reid Sutherland wrote:
 Does anyone have a patch that will patch properly for 2.2.16?
 I've looked on kernel.org/pub/linux/daemons/raid/alpha but found only
 2.2.12 patches and nothing later.




raid and 2.4 kernels

2000-07-26 Thread Anton

do the kernel developers responsible for RAID read this list?  I would be
interested in seeing some constructive discussion about the reports of
degraded RAID performance in the 2.4 kernels.  It is particularly
disappointing given that SMP appears to be a lot better in 2.4 vs 2.2

--
ai
http://sefiroth.org




OT: Kernel Management

2000-07-26 Thread Bryan Batchelder
Title: OT: Kernel Management





I've been wanting to mess around with the latest 2.4 kernels and RAID, but one thing that I just don't understand/know about the whole compiling the kernel is this: How do you manage the System.map file that resides in /boot on RedHat systems?

I have no problems configuring/compiling/installing otherwise.


Anyone have a good technique they use when they get to the point where its time to copy /usr/src/linux/arch/i386/boot/bzImage  /boot/vmlinux-versionnumber and copy /usr/src/linux/System.map  /boot and edit lilo.conf???

I am curious, and I know that people on this list must be doing it alot :-)


Thanks in advance,
--b


A product's only late once, but it can suck 
forever. -- Ben Spees, Ambrosia Software

 Bryan D. Batchelder 
Palm Wireless/Internet Application Developer
W: 813.935.7100
W: 813-936-8844 x 423 (after 5:30PM EST)
H: 727-547-1322
M: 727-808-4296

ConnectWise, Inc. (www.ConnectWise.com)
2803 West Busch Blvd, Suite 204
Tampa, FL 33618






Re: OT: Kernel Management

2000-07-26 Thread Federico Grau


I am sure each individual has their own style for rolling kernels, but on
redhat systems my preference is after running "make config", edit the
Makefile.  I tweekt the "EXTRAVERSION" variable towards the top so I can
have multiple kernels/module versions of the same revision (ex 2.2.16-1
2.2.16-2 2.2.16-RAID).  Then for the install process run "make install"
instead of make bzImage.  This does a nice job of copying the kernel and
System map, then linking it nicely in the /boot directory.  The foundation
behind this is the /sbin/installkernel script on your box.

Debian has a nice way where it is very easy to compile the kernel into a
debian package, which can then be installed like any other deb package.

donfede

On Wed, 26 Jul 2000, Bryan Batchelder wrote:

 I've been wanting to mess around with the latest 2.4 kernels and RAID, but
 one thing that I just don't understand/know about the whole compiling the
 kernel is this:  How do you manage the System.map file that  resides in
 /boot on RedHat systems?
 
 I have no problems configuring/compiling/installing otherwise.
 
 Anyone have a good technique they use when they get to the point where its
 time to copy /usr/src/linux/arch/i386/boot/bzImage 
 /boot/vmlinux-versionnumber and copy /usr/src/linux/System.map  /boot and
 edit lilo.conf???
 
 I am curious, and I know that people on this list must be doing it alot :-)
 
 Thanks in advance,
 --b
 
 "A product's only late once, but it can suck  
  forever." -- Ben Spees, Ambrosia Software
 
Bryan D. Batchelder  
 Palm Wireless/Internet Application Developer
 W: 813.935.7100
 W: 813-936-8844 x 423 (after 5:30PM EST)
 H: 727-547-1322
 M: 727-808-4296
 
 ConnectWise, Inc. (www.ConnectWise.com)
 2803 West Busch Blvd, Suite 204
 Tampa, FL 33618
 
 




Download FREE Software Promote Your Business!

2000-07-26 Thread Home Workers

InterNETACTIVE has sold for $39.95 and more...

InterNETACTIVE allows you to post your ad on
Classified Sites and Internet Malls for free!

InterNETACTIVE reveals what REALLY works to get
you top ranking among the most popular search
engines.

InterNETACTIVE is yours FREE with no strings
attached!

There is nothing to buy, no special unlock codes
and no fine print.

This is a one time offer so don't pass it up.

Request your free copy of this valuable Windows
based software today by emailing us at
[EMAIL PROTECTED] with "Free Download" in the subject heading.

Save valuable time by not having to search for
classified sites and malls.  InterNETACTIVE makes
it a snap to advertise on-line!

Direct Marketing Pros



Re: raid and 2.4 kernels

2000-07-26 Thread Jakob Østergaard

On Wed, 26 Jul 2000, Anton wrote:

 do the kernel developers responsible for RAID read this list?  I would be
 interested in seeing some constructive discussion about the reports of
 degraded RAID performance in the 2.4 kernels.  It is particularly
 disappointing given that SMP appears to be a lot better in 2.4 vs 2.2

2.4 is having VM problems, therefore especially write performance can be
poor.  This is not directly RAID related, although maybe RAID will amplify
the problem.

There's a lot of work going on in trying to make the VM perform more reasonably,
and I'm confident that RAID performance will be absolutely *smoking* once those
other issues are sorted out.

The block I/O layer has seen some optimizations and especially the buffer/cache
merger should improve throughput significantly (especially on low memory-bandwidth
machines).


-- 

: [EMAIL PROTECTED]  : And I see the elder races, :
:.: putrid forms of man:
:   Jakob Østergaard  : See him rise and claim the earth,  :
:OZ9ABN   : his downfall is at hand.   :
:.:{Konkhra}...:



Re: OT: Kernel Management

2000-07-26 Thread Jakob Østergaard

On Wed, 26 Jul 2000, Bryan Batchelder wrote:

 I've been wanting to mess around with the latest 2.4 kernels and RAID, but
 one thing that I just don't understand/know about the whole compiling the
 kernel is this:  How do you manage the System.map file that  resides in
 /boot on RedHat systems?
 
 I have no problems configuring/compiling/installing otherwise.
 
 Anyone have a good technique they use when they get to the point where its
 time to copy /usr/src/linux/arch/i386/boot/bzImage 
 /boot/vmlinux-versionnumber and copy /usr/src/linux/System.map  /boot and
 edit lilo.conf???
 
 I am curious, and I know that people on this list must be doing it alot :-)

make dep  make clean  make install modules  make modules_install

Builds the kernel, copies the files, runs lilo.

-- 

: [EMAIL PROTECTED]  : And I see the elder races, :
:.: putrid forms of man:
:   Jakob Østergaard  : See him rise and claim the earth,  :
:OZ9ABN   : his downfall is at hand.   :
:.:{Konkhra}...:



Raid developers question

2000-07-26 Thread Art

Dear Raiders,

I installed a 2.2.16 kernel over my Suse 6.3 (2.2.13) and patched them with
raid-2.2.16-A0.txt.
Installation of the raidtools-19990824-0.90.tar.gz , which is by the way the
same as raidtools-dangerous-0.90-2116.tar.gz (I checked, but maybe not
good enough), was a piece of cake. The raid 1 and rain5 is working.

After pulling out one disk (system off line), it came back on line with the
data intact... It started automatically the reconfiguration using the spare
disk.
The funny thing was, after reinserting the original disk it did not
reconfigure it automatially. I had to raidhotadd the disk. Then it started
reconfiguring it.
Now I have an old (5years) scsi2 disk array and each disk has 3 leds. Two of
them can be controled by the raid controller (on-line and disk-fail).
I would like to be able to stop my raid array and switch off the power of
this box (not the computer). If I switch the array off and on, the scsi
disks do not spindle up. So I have to reboot the machine (scsi card spindles
them up). This is a bit awkward.

I have a few questions:

Can the raid-software also control the above mentioned leds?
What is translucent mode?
Which drive is my hotspare if I issue `cat /proc/mdstat` ?
Is it possible to modify the raidstart/stop code so that it uses scsi
commands to start/stop the disks (in a running machine)?


Many thanks,

Nick






Re: LILO for RAID1

2000-07-26 Thread Gilles HANOTEL

Take a look at
http://metalab.unc.edu/mdw/HOWTO/Software-RAID-HOWTO-4.html#ss4.11
There is a patched version of LILO wich accept boot=/dev/md0 in
lilo.conf and will make each disk in the mirror bootable.


Ilia Baldine a écrit :

 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: raid and 2.4 kernels

2000-07-26 Thread Neil Brown

On Wednesday July 26, [EMAIL PROTECTED] wrote:
 do the kernel developers responsible for RAID read this list?  I would be
 interested in seeing some constructive discussion about the reports of
 degraded RAID performance in the 2.4 kernels.  It is particularly
 disappointing given that SMP appears to be a lot better in 2.4 vs 2.2

As Jakob mentioned,  the slow down is quite possibly related to other
parts of the kernel.
I would really like to see speed comparisons for
 
  2.2 no raid
  2.2 raid
  2.4 no raid
  2.4 raid

where 2.3+raid didn't fit the pattern, before I looked too deeply.

Given the code at the moment, I am highly confident that linear, raid0
and raid1 should be just as fast in 2.4 as in 2.2.
There are some issues with raid5 that I am looking into. I don't
know that they affect speed much, though they might.

NeilBrown



RE: raid and 2.4 kernels

2000-07-26 Thread Gregory Leblanc

 -Original Message-
 From: Neil Brown [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, July 26, 2000 7:41 PM
 To: Anton
 Cc: [EMAIL PROTECTED]
 Subject: Re: raid and 2.4 kernels
 
 On Wednesday July 26, [EMAIL PROTECTED] wrote:
  do the kernel developers responsible for RAID read this 
 list?  I would be
  interested in seeing some constructive discussion about the 
 reports of
  degraded RAID performance in the 2.4 kernels.  It is particularly
  disappointing given that SMP appears to be a lot better in 
 2.4 vs 2.2
 
 As Jakob mentioned,  the slow down is quite possibly related to other
 parts of the kernel.
 I would really like to see speed comparisons for
  
   2.2 no raid
   2.2 raid
   2.4 no raid
   2.4 raid
 
 where 2.3+raid didn't fit the pattern, before I looked too deeply.
 
 Given the code at the moment, I am highly confident that linear, raid0
 and raid1 should be just as fast in 2.4 as in 2.2.
 There are some issues with raid5 that I am looking into. I don't
 know that they affect speed much, though they might.

Could you be a little more specific?  Speed comparisons on disk access?
Then you can't compare RAID with no RAID effectively.  You could compare the
speed of 2.2/2.4 RAID, and 2.2/2.4 no RAID, but comparisons across would
seem to be meaningless.  Later,
Grego



Detaching mirrors with raidtools 0.9

2000-07-26 Thread Tom . Regan


G'day Folks,
My apologies if this is RTFM or previously discussed on list (I have 
just joined).

We have implemenetd mirroring using raidtools 0.9 on RedHat 6.2.
It is working well, but we would like the ability to do the following to 
backup a Lotus Domino server:
1. Shutdown Domino server
2. detach one half of mirror (preferably without using raidstop or 
unmounting the device containing Domino).
3. Restart Domino immediately  (running on "live" half of mirror)
4. Back up Notes partition from detached mirror
5. Re-attach detached mirror (again without using raidstop or 
umount).

Is there any way to do this with raidtools 0.9? 
If not, are there any plans to implement the ability to detach/attach 
mirror devices on the fly (ala Sun's Disksuite).?

TIA,
Tom



 --
 Tom Regan, Operations Manager  Email: [EMAIL PROTECTED]
 NSW AgriculturePhone: 0263 913268  
 Orange NSW Australia   Fax:   0263 913290