* [linux-lvm] lvremove hangs on removing snapshot
@ 2006-06-04 19:01 Joris van Rantwijk
2006-06-05 20:04 ` Alasdair G Kergon
0 siblings, 1 reply; 3+ messages in thread
From: Joris van Rantwijk @ 2006-06-04 19:01 UTC (permalink / raw)
To: linux-lvm
Hello,
When trying to remove a dm-snapshot device, I see lvremove freezing.
A reboot is then needed to get the system in a usable state again.
I know that previous freezes/segfaults on removing a snapshot
have been traced to a problem with kcopyd, but I am running
linux 2.6.16.16 which should contain the fix for these problems.
So it seems that my problem is different.
The freeze happens consistently, and even if the snapshot and/or
real device have not been accessed. For example, I type:
# lvcreate --size 1G --snapshot --name homesnap vg0/home
# lvremove vg0/home
Are you sure ... ? Y
[ lvremove now frozen ]
If a filesystem was mounted on the original vg0/home, any attempt
to access the filesystem will freeze as well. Other than that, the
system remains responsive.
After a reboot, I see that vg0/home and vg0/homesnap are both still
present but set to inactive. I can then lvremove vg0/homesnap and
lvchange vg0/home to reactivate it.
If I strace lvremove on its one-way trip, I see that it sends
a few DM_SUSPEND ioctls, then freezes on a DM_TABLE_LOAD ioctl.
Am I doing something wrong with the snapshot, or is this still a bug?
I seem to remember that I had it working correctly some time ago, but
now it fails all the time.
My system is Debian 3.1, linux 2.6.16.16, lvm2 2.01.04.
Thanks,
Joris.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] lvremove hangs on removing snapshot
2006-06-04 19:01 [linux-lvm] lvremove hangs on removing snapshot Joris van Rantwijk
@ 2006-06-05 20:04 ` Alasdair G Kergon
2006-06-06 19:26 ` Joris van Rantwijk
0 siblings, 1 reply; 3+ messages in thread
From: Alasdair G Kergon @ 2006-06-05 20:04 UTC (permalink / raw)
To: Joris van Rantwijk; +Cc: linux-lvm
On Sun, Jun 04, 2006 at 09:01:07PM +0200, Joris van Rantwijk wrote:
> My system is Debian 3.1, linux 2.6.16.16, lvm2 2.01.04.
Upgrade userspace:
2.6.16+ requires 2.02.*
Alasdair
--
agk@redhat.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] lvremove hangs on removing snapshot
2006-06-05 20:04 ` Alasdair G Kergon
@ 2006-06-06 19:26 ` Joris van Rantwijk
0 siblings, 0 replies; 3+ messages in thread
From: Joris van Rantwijk @ 2006-06-06 19:26 UTC (permalink / raw)
To: agk; +Cc: linux-lvm
On Mon, Jun 05, 2006 at 09:04:16PM +0100, Alasdair G Kergon wrote:
> > My system is Debian 3.1, linux 2.6.16.16, lvm2 2.01.04.
> Upgrade userspace:
> 2.6.16+ requires 2.02.*
Yep, this seems to fix the problem. Thanks for your help.
Bye,
Joris.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-06-06 19:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-04 19:01 [linux-lvm] lvremove hangs on removing snapshot Joris van Rantwijk
2006-06-05 20:04 ` Alasdair G Kergon
2006-06-06 19:26 ` Joris van Rantwijk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).