Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] Snapshots failing w/ kernel 2.6.4
@ 2004-04-07 17:38 Lars Kellogg-Stedman
  2004-04-07 17:54 ` Alasdair G Kergon
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Kellogg-Stedman @ 2004-04-07 17:38 UTC (permalink / raw)
  To: linux-lvm

Howdy all,

I'm running Fedora Core 2 test 1 + updates, which means:

	kernel-2.6.4-1.305
	lvm2-2.00.08-5
	device-mapper-1.00.07-3.1

When I try to create a snapshot of a 50g LV named 'home':

	# lvm lvcreate -s -L 5g -n home.snap0 /dev/vg0/home

I receive the following error:

	device-mapper ioctl cmd 9 failed: Invalid argument
	Couldn't load device 'vg0-home.snap0'.
	Problem reactivating origin home

This also results in some bogus entries in both the list of LVs and the 
device-mapper.  Manually removing the dm entry (dmsetup remove ...) and 
then removing the LV seems to work.

Is this a known problem?

Thanks,

-- Lars

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

* Re: [linux-lvm] Snapshots failing w/ kernel 2.6.4
  2004-04-07 17:38 [linux-lvm] Snapshots failing w/ kernel 2.6.4 Lars Kellogg-Stedman
@ 2004-04-07 17:54 ` Alasdair G Kergon
  0 siblings, 0 replies; 3+ messages in thread
From: Alasdair G Kergon @ 2004-04-07 17:54 UTC (permalink / raw)
  To: LVM general discussion and development

On Wed, Apr 07, 2004 at 01:38:15PM -0400, Lars Kellogg-Stedman wrote:
> When I try to create a snapshot of a 50g LV named 'home':
> 	# lvm lvcreate -s -L 5g -n home.snap0 /dev/vg0/home
 
> I receive the following error:
> 	device-mapper ioctl cmd 9 failed: Invalid argument

> Is this a known problem?
 
The kernel you're running does not support snapshots yet.
Snapshot support for 2.6 is currently being tested - watch the dm-devel
list to keep up with progress.

Alasdair
-- 
agk@redhat.com

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

* Re: [linux-lvm] Snapshots failing w/ kernel 2.6.4
@ 2004-04-07 18:14 Lars Kellogg-Stedman
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Kellogg-Stedman @ 2004-04-07 18:14 UTC (permalink / raw)
  To: linux-lvm

> The kernel you're running does not support snapshots yet.

Ouch, that would do it.  Thanks for the information; I'll keep my eyes on 
the dm-devel list.

Cheers,

-- Lars

-- 
Lars Kellogg-Stedman <lars@oddbit.com>

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

end of thread, other threads:[~2004-04-07 18:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-07 17:38 [linux-lvm] Snapshots failing w/ kernel 2.6.4 Lars Kellogg-Stedman
2004-04-07 17:54 ` Alasdair G Kergon
  -- strict thread matches above, loose matches on Subject: below --
2004-04-07 18:14 Lars Kellogg-Stedman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox