All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] System locks solid under LVM
@ 1999-04-16 15:20 Tony Rogers
  1999-04-17  0:59 ` Heinz Mauelshagen
  0 siblings, 1 reply; 4+ messages in thread
From: Tony Rogers @ 1999-04-16 15:20 UTC (permalink / raw)
  To: linux-lvm

Hello everyone,

My difficulties with LVM
========================
Overview
--------
I have been playing with LVM for some time now, with mixed results. I
have a machine at work which has LVM 0.6 installed. Although this is
not utilised heavily, it works fine.

On the other hand, I have a machine at home, also using LVM 0.6, which
has SERIOUS problems. In simple terms, the computer locks solid when
it comes under moderate load. I can trigger this VERY easily, but
don`t know how best to debug the situation.

I have just joined the mailing list, and noticed some mention of lock
ups, but the feeling seemed to be that if the underlying system was
OK, the LVM should be fine. I`m not convinced that this is true in my
case.

As is usual with hobby configurations, I have lots of I/O cards installed,
and have done my best to eliminate hardware / other system causes  as a
source of the problem.

My configuration
----------------
I am using Redhat 5.2, initially with Kernel 2.0.36, but have now
upgraded to 2.2.2 in an attempt to get the latest drivers for my hardware.

I have two Ethernet cards (ISA & PCI), two SCSI cards (ISA & PCI), a
sound card (ISA) and a video card (PCI).

The SCSI controller is a Diamond Fireport 40, and it is this
controller which hosts two partitioned Fireball 6.4G drives. It is
parts of these drives which have LVM configured for them.

Detailed description
--------------------
Because it is so easy to push the system over, I decided that I needed
to find out how to make the system stable again!

I now have two Kernels to play with. Both are 2.2.2, one with LVM
built in, and the other without the LVM patches.

This allows the following three scenarios:
1) Clean kernel - No LVM of any kind.
2) LVM Kernel - Not using LVM.
3) LVM Kernel - Using LVM.

In order to load the system, all I do is copy the contents of one
filesystem to that on another partition, either native ext2 or ext2 on
a Logical Volume (depending on the test).

My LVM configuration is as follows:

One Volume Group comprising 4 PVs on 2 SCSI drives. There are 7
Logical volumes in this group, but I do my testing on one of ~1.5G capacity.

I experimented with striping the LVs, but decided to settle on a
`straight` linear LV for the purposes of the tests.

The results of my testing (over a couple of weeks) seem to show the
following:

Case 1 - Clean Kernel. Solid, even with two simultaneous bulk copies
AND an archive to tape, at the same time.

Case 2 - LVM Kernel - Not using LVM. Pretty solid. A couple of  lock ups.

Case 3 - LVM Kernel - Using LVM. Falls over almost every time within
seconds or minutes. It lasted over an hour once only.

Plea for help
-------------
I really want to keep using LVM (it is the way forward!), and am
prepared to make quite some effort to make it work for me.

The problem I have, is that the machine seems to lock SOLID with no
warning, and there are no errors (that I can see) available to look
at.

I really am stuck. Is there any debugging that I can enable?

Any help will be appreciated, and I am willing to post any fix, for
the benefit of the list.

Thanks in advance, and sorry for the long mail!

Tony Rogers
===========

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: [linux-lvm] System locks solid under LVM
@ 1999-04-19 13:01 Tony Rogers
  0 siblings, 0 replies; 4+ messages in thread
From: Tony Rogers @ 1999-04-19 13:01 UTC (permalink / raw)
  To: stb; +Cc: linux-lvm

Hi there Klaus,

Many thanks for your comments.

I am a little confused. If I do 'gcc -v' on my work box (I am at work
now) it gives me:
[rogers@websrv rogers]$ gcc -v                                                  
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/specs             
gcc version 2.7.2.3 

which is the version which you say gave you problems. If I do a 'man' on
egcs, it takes me to the gcc page.

Is there a difference between egcs and gcc these days?

I am reluctant to believe that the compiler is totally at fault, as the
rest of the system seems to be fine, and my 'work' box was left on soak
test over the weekend, and it was still rattling away this morning - very
satisfying.

Following a question from the list, I reconfigured my system so that I had
two VGs, each containing 1 PV. The interesting thing is that they are now 
on different disks. One is quite reliable, the other is very unreliable.

Ordinarily I would say that this is hardware, but Win95 and non-LVM Linux
has no problem with this disk, which is heavily used.

It is looking more and more like LVM stresses the system just a little too
far, and that the base system is not quite right.

It might be interrupts - I don't know. It might be time to strip out all
the other cards (again!).

Unfortunately this does not help me much, as when LVM pushes it over the
edge, it locks totally, and I can't poke around to figure out what went
wrong.

Anyway, thanks again. I'm still plugging away.

Tony Rogers
===========

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-04-19 13:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-04-16 15:20 [linux-lvm] System locks solid under LVM Tony Rogers
1999-04-17  0:59 ` Heinz Mauelshagen
1999-04-17 15:40   ` Tony Rogers
  -- strict thread matches above, loose matches on Subject: below --
1999-04-19 13:01 Tony Rogers

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.