All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] System lockups when snapshoting
@ 2003-07-16 18:03 Nathan Hunsperger
  2003-07-16 21:37 ` Scott Mcdermott
  0 siblings, 1 reply; 3+ messages in thread
From: Nathan Hunsperger @ 2003-07-16 18:03 UTC (permalink / raw)
  To: linux-lvm

I'm experiencing severe issues when creating snapshots, and would
appreciate some advice.  These problems are occuring on 2.4.21 with LVM
1.0.7.  Without snapshots, I am not experiencing any problems.

After creating a snapshot of a live filesystem, my system starts to
hang.  This hanging takes two forms, temporary lockups, and permanent
lockups.  Sometimes, commands take 5+ minutes to execute after they are
typed, but more usually, they still fail to execute after 12 hours.

However, it seems that only commands which hit up the filesystem layer
are affected.  The system is always pingable, characters on console
always echo, and ssh connections stay responsive, until a request for
the fs is made.  Shell built-ins like "echo hello" succeed, however,
"echo /*" hangs.  / (which is not on lvm) should always be cached, so
nothing below the fs layer should need to be touched to list echo /*.
Lastly, I will receive a "raid 5 sync complete" message on console for
the md lvm is ontop of, an hour after I cannot issue any more fs-using
commands, so the block device the lvm volume group is on should be fine.

Based on this, it looks to me like there may be a race / deadlock in the
filesystem layer when a snapshot is active.  Or I am doing something
considerably wrong.

I experience these issues when using ext3 or ext2, SMP or uni-processor,
GCC 2.95.4 or GCC 3.3.  I've tried ext2 with and without the VFS patches
(always applied when testing ext3).  In applying the VFS and lvm patches, I
always apply the lvm patch, and then the VFS patch.

Also, when these temporary lockups occur, all my shells waiting to use the
fs execute at about the same time, and then lockup together.  If I am able
to issue a lvremove for the snapshot, the entire system comes back alive.

Thanks,
Nathan

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

* Re: [linux-lvm] System lockups when snapshoting
  2003-07-16 18:03 [linux-lvm] System lockups when snapshoting Nathan Hunsperger
@ 2003-07-16 21:37 ` Scott Mcdermott
  2003-07-17  0:08   ` Nathan Hunsperger
  0 siblings, 1 reply; 3+ messages in thread
From: Scott Mcdermott @ 2003-07-16 21:37 UTC (permalink / raw)
  To: linux-lvm

Nathan Hunsperger on Wed 16/07 16:02 -0700:
> I'm experiencing severe issues when creating snapshots,
> and would appreciate some advice.  These problems are
> occuring on 2.4.21 with LVM 1.0.7.  Without snapshots, I
> am not experiencing any problems.

it's not on a RAID5 PV by any chance?

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

* Re: [linux-lvm] System lockups when snapshoting
  2003-07-16 21:37 ` Scott Mcdermott
@ 2003-07-17  0:08   ` Nathan Hunsperger
  0 siblings, 0 replies; 3+ messages in thread
From: Nathan Hunsperger @ 2003-07-17  0:08 UTC (permalink / raw)
  To: linux-lvm

> Lastly, I will receive a "raid 5 sync complete" message on console for
> the md lvm is ontop of, an hour after I cannot issue any more fs-using
> commands, so the block device the lvm volume group is on should be fine.

Yes.  The PV is a software raid5 MD.  Have you seen this problem before?

- Nathan

On Wed, Jul 16, 2003 at 10:36:28PM -0400, Scott Mcdermott wrote:
> Nathan Hunsperger on Wed 16/07 16:02 -0700:
> > I'm experiencing severe issues when creating snapshots,
> > and would appreciate some advice.  These problems are
> > occuring on 2.4.21 with LVM 1.0.7.  Without snapshots, I
> > am not experiencing any problems.
> 
> it's not on a RAID5 PV by any chance?
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

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

end of thread, other threads:[~2003-07-17  0:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-16 18:03 [linux-lvm] System lockups when snapshoting Nathan Hunsperger
2003-07-16 21:37 ` Scott Mcdermott
2003-07-17  0:08   ` Nathan Hunsperger

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.