[linux-lvm] system crash caused by lvm's fault?

Heinz J . Mauelshagen mauelshagen at sistina.com
Mon Oct 21 04:59:02 UTC 2002


On Sat, Oct 19, 2002 at 09:06:18PM +0200, NagyZ wrote:
> On Sat, 19 Oct 2002, Joe Thornber wrote:
> 
> > On Sat, Oct 19, 2002 at 07:01:36PM +0200, NagyZ wrote:
> > > On Sat, 19 Oct 2002, Joe Thornber wrote:
> > > 
> > > > On Sat, Oct 19, 2002 at 12:08:44AM +0200, NagyZ wrote:
> > > > > hi!
> > > > > 
> > > > > i have 1 VG with 5-6 LV.
> > > > > when one of my disks dont get enough power and 'fell out', then my ftp 
> > > > > processes get to state 'detach', and even kill -9 cant kill them..
> > > > > load is starting to get higher, and higher, and then VM says not enought 
> > > > > memory.. and kernel crashes.
> > > > > it is on p4, with 512MB ram, with 906G VG..
> > > > > 
> > > > > can i avoid this crash?
> > > > > i mean, when one disk fell off, then how can i kill this processes, and 
> > > > > unmount the lvs? any idea?
> > > > 
> > > > What version of LVM are you running and whay kernel ?
> > > > 
> > > LVM 1.0.5 with kernel 2.4.19
> > 
> > This is not an LVM problem.  I think your memory is just filling up
> > with io destined for that vanished device.
> > 
> and what should i do?
> do you have a solution for it?

You need to make sure, that your (disk) power supply is sufficient, sorry.

> 
> and an other question:
> i have a VG from 2 partition. (on 2 HDD)
> if one fell off, then how can i access the data on the remaining disk?

LVM2 has a partial activation feature for this case which will activate
such a partially available volume group.

Which filesystem or other data is still usable heavily depends on your
allocation.

> 
> NagyZ
> 
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen at Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




More information about the linux-lvm mailing list