* [linux-lvm] LVM2-Snapshot
@ 2004-03-10 11:28 Christoph Pleger
2004-03-11 4:16 ` Joe Thornber
0 siblings, 1 reply; 10+ messages in thread
From: Christoph Pleger @ 2004-03-10 11:28 UTC (permalink / raw)
To: linux-lvm
Hello,
I have problems when I try to create a snapshot of a logical volume
under LVM2 (Kernel 2.6.3). I get the following messages after using
"lvcreate -s -l 227 -n snap /dev/vg1/lv1":
device_mapper ioctl cmd 9 failed: Invalid argument
Couldn't load device 'vg1-snap'.
Problem reactivating origin lv1
How can I solve that?
Using google, I found that snapshots under LVM2 and Kernel 2.6 generally
do not work. I hope that that is no longer true, is it?
Christoph
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] LVM2-Snapshot
@ 2004-03-10 11:41 darren.miller
0 siblings, 0 replies; 10+ messages in thread
From: darren.miller @ 2004-03-10 11:41 UTC (permalink / raw)
To: linux-lvm; +Cc: linux-lvm-admin
[-- Attachment #1: Type: text/plain, Size: 1379 bytes --]
I have exactly the same problem m8
==============================================================================
Darren Miller
Senior Systems Support Engineer
Microsoft Certified Professional
SCO Advanced Certified Engineer
Infomation Systems Department (Core Server Support)
Philips Semiconductors,Milbrook Industrial Estate,Southampton,SO15
0DJ,England
Direct Dial In: +44 (0) 2380 312681
Christoph Pleger <Christoph.Pleger@uni-dortmund.de>
Sent by:
linux-lvm-admin@redhat.com
10/03/2004 16:30
Please respond to linux-lvm
To: linux-lvm@redhat.com
cc: (bcc: Darren Miller/SOU/SC/PHILIPS)
Subject: [linux-lvm] LVM2-Snapshot
Classification:
Hello,
I have problems when I try to create a snapshot of a logical volume
under LVM2 (Kernel 2.6.3). I get the following messages after using
"lvcreate -s -l 227 -n snap /dev/vg1/lv1":
device_mapper ioctl cmd 9 failed: Invalid argument
Couldn't load device 'vg1-snap'.
Problem reactivating origin lv1
How can I solve that?
Using google, I found that snapshots under LVM2 and Kernel 2.6 generally
do not work. I hope that that is no longer true, is it?
Christoph
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
[-- Attachment #2: Type: text/html, Size: 2492 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] LVM2-Snapshot
2004-03-10 11:28 [linux-lvm] LVM2-Snapshot Christoph Pleger
@ 2004-03-11 4:16 ` Joe Thornber
2004-03-11 7:23 ` Craig Ringer
0 siblings, 1 reply; 10+ messages in thread
From: Joe Thornber @ 2004-03-11 4:16 UTC (permalink / raw)
To: linux-lvm
On Wed, Mar 10, 2004 at 05:30:02PM +0100, Christoph Pleger wrote:
> Hello,
>
> I have problems when I try to create a snapshot of a logical volume
> under LVM2 (Kernel 2.6.3). I get the following messages after using
> "lvcreate -s -l 227 -n snap /dev/vg1/lv1":
>
> device_mapper ioctl cmd 9 failed: Invalid argument
> Couldn't load device 'vg1-snap'.
> Problem reactivating origin lv1
>
>
> How can I solve that?
>
> Using google, I found that snapshots under LVM2 and Kernel 2.6 generally
> do not work. I hope that that is no longer true, is it?
The snapshot target isn't in vanilla 2.6 yet, use my udm (unstable dm)
tree if you want that functionality.
http://people.sistina.com/~thornber/dm/
I _hope_ to submit this to lkml within the next month.
- Joe
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] LVM2-Snapshot
@ 2004-03-11 6:13 darren.miller
2004-03-11 7:06 ` Joe Thornber
0 siblings, 1 reply; 10+ messages in thread
From: darren.miller @ 2004-03-11 6:13 UTC (permalink / raw)
To: linux-lvm; +Cc: linux-lvm-admin
[-- Attachment #1: Type: text/plain, Size: 1865 bytes --]
Tried to apply the udm patch selection to vanilla 2.6.4 kernel recieved a
shed load of failures and the kernel refused to build. I am not a
programmer so I have no clue how to rectify these issues. do you have
anything that works?
==============================================================================
Darren Miller
Senior Systems Support Engineer
Microsoft Certified Professional
SCO Advanced Certified Engineer
Infomation Systems Department (Core Server Support)
Philips Semiconductors,Milbrook Industrial Estate,Southampton,SO15
0DJ,England
Direct Dial In: +44 (0) 2380 312681
Joe Thornber <thornber@redhat.com>
Sent by:
linux-lvm-admin@redhat.com
11/03/2004 09:20
Please respond to linux-lvm
To: linux-lvm@redhat.com
cc: (bcc: Darren Miller/SOU/SC/PHILIPS)
Subject: Re: [linux-lvm] LVM2-Snapshot
Classification:
On Wed, Mar 10, 2004 at 05:30:02PM +0100, Christoph Pleger wrote:
> Hello,
>
> I have problems when I try to create a snapshot of a logical volume
> under LVM2 (Kernel 2.6.3). I get the following messages after using
> "lvcreate -s -l 227 -n snap /dev/vg1/lv1":
>
> device_mapper ioctl cmd 9 failed: Invalid argument
> Couldn't load device 'vg1-snap'.
> Problem reactivating origin lv1
>
>
> How can I solve that?
>
> Using google, I found that snapshots under LVM2 and Kernel 2.6 generally
> do not work. I hope that that is no longer true, is it?
The snapshot target isn't in vanilla 2.6 yet, use my udm (unstable dm)
tree if you want that functionality.
http://people.sistina.com/~thornber/dm/
I _hope_ to submit this to lkml within the next month.
- Joe
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
[-- Attachment #2: Type: text/html, Size: 3062 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] LVM2-Snapshot
2004-03-11 6:13 darren.miller
@ 2004-03-11 7:06 ` Joe Thornber
0 siblings, 0 replies; 10+ messages in thread
From: Joe Thornber @ 2004-03-11 7:06 UTC (permalink / raw)
To: linux-lvm
On Thu, Mar 11, 2004 at 11:13:12AM +0000, darren.miller@philips.com wrote:
> Tried to apply the udm patch selection to vanilla 2.6.4 kernel recieved a
> shed load of failures and the kernel refused to build. I am not a
> programmer so I have no clue how to rectify these issues. do you have
> anything that works?
The last udm was 2.6.4-rc2-udm1, I'm working on a 2.6.4 version now.
^^^
- Joe
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] LVM2-Snapshot
2004-03-11 4:16 ` Joe Thornber
@ 2004-03-11 7:23 ` Craig Ringer
2004-03-11 8:34 ` Alasdair G Kergon
0 siblings, 1 reply; 10+ messages in thread
From: Craig Ringer @ 2004-03-11 7:23 UTC (permalink / raw)
To: linux-lvm
On Thu, 2004-03-11 at 17:20, Joe Thornber wrote:
> The snapshot target isn't in vanilla 2.6 yet, use my udm (unstable dm)
> tree if you want that functionality.
>
> http://people.sistina.com/~thornber/dm/
>
> I _hope_ to submit this to lkml within the next month.
Is there any chance to tweak lvm in the mean time, so that it doesn't
/try/ to take a snapshot? I was forced to reboot to recover access to an
LV after trying to take a snapshot. There was no indication that
snapshots are broken under 2.6 either - a note in the LVM README would
be really handy.
Most importantly, though, an informative error message would be
invaluable.
Craig Ringer
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] LVM2-Snapshot
@ 2004-03-11 8:06 darren.miller
0 siblings, 0 replies; 10+ messages in thread
From: darren.miller @ 2004-03-11 8:06 UTC (permalink / raw)
To: linux-lvm; +Cc: linux-lvm-admin
[-- Attachment #1: Type: text/plain, Size: 1982 bytes --]
>The snapshot target isn't in vanilla 2.6 yet, use my udm (unstable dm)
>tree if you want that functionality.
>
>http://people.sistina.com/~thornber/dm/
>
>I _hope_ to submit this to lkml within the next month.
>
>- Joe
Added patches 4, 5, 6, 7, 9, 10 & 11 compiles ok but
Patch 7 one hunk fails:
Hunk #6 FAILED at 911.
1 out of 6 hunks FAILED -- saving rejects to file drivers/md/dm.c.rej
Patch 9 one hunk fails:
Hunk #1 FAILED at 3.
1 out of 1 hunk FAILED -- saving rejects to file drivers/md/Makefile.rej
Patch 10 one hunk fails:
Hunk #1 FAILED at 3.
1 out of 1 hunk FAILED -- saving rejects to file drivers/md/Makefile.rej
Patch 11 two hunks fail:
Hunk #1 FAILED at 5.
Hunk #2 FAILED at 27.
2 out of 2 hunks FAILED -- saving rejects to file drivers/md/Makefile.rej
Adding patch 2 killed it completely:
drivers/md/dm.c: In function `dm_get_table':
drivers/md/dm.c:216: structure has no member named `map_lock'
drivers/md/dm.c:220: structure has no member named `map_lock'
drivers/md/dm.c: At top level:
make[2]: *** [drivers/md/dm.o] Error 1
make[1]: *** [drivers/md] Error 2
make: *** [drivers] Error 2
Patch 3 outright gets rejected
patching file drivers/md/dm.c
Hunk #1 FAILED at 294.
1 out of 1 hunk FAILED -- saving rejects to file drivers/md/dm.c.rej
Patch 14 outright gets rejected
patching file drivers/md/Kconfig
Hunk #1 FAILED at 199.
1 out of 1 hunk FAILED -- saving rejects to file drivers/md/Kconfig.rej
patching file drivers/md/Makefile
Hunk #1 FAILED at 30.
1 out of 1 hunk FAILED -- saving rejects to file drivers/md/Makefile.rej
patching file drivers/md/dm-zero.c
Advice needed please
==============================================================================
Darren Miller
Senior Systems Support Engineer
Microsoft Certified Professional
SCO Advanced Certified Engineer
Infomation Systems Department (Core Server Support)
Philips Semiconductors,Milbrook Industrial Estate,Southampton,SO15
0DJ,England
Direct Dial In: +44 (0) 2380 312681
[-- Attachment #2: Type: text/html, Size: 3854 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] LVM2-Snapshot
@ 2004-03-11 8:24 darren.miller
0 siblings, 0 replies; 10+ messages in thread
From: darren.miller @ 2004-03-11 8:24 UTC (permalink / raw)
To: linux-lvm; +Cc: linux-lvm-admin
[-- Attachment #1: Type: text/plain, Size: 726 bytes --]
>The last udm was 2.6.4-rc2-udm1, I'm working on a 2.6.4 version now.
> ^^^
>
>- Joe
Ahh I see, I couldn't get hold of the rc2 simply wasn't available for
download. well my last mail may be of some use? gave you what I am
seeing error wise with the current udm
Anyway snapshot don't error any more the lvcreate -s commands just hang
Daz
==============================================================================
Darren Miller
Senior Systems Support Engineer
Microsoft Certified Professional
SCO Advanced Certified Engineer
Infomation Systems Department (Core Server Support)
Philips Semiconductors,Milbrook Industrial Estate,Southampton,SO15
0DJ,England
Direct Dial In: +44 (0) 2380 312681
[-- Attachment #2: Type: text/html, Size: 1192 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] LVM2-Snapshot
2004-03-11 7:23 ` Craig Ringer
@ 2004-03-11 8:34 ` Alasdair G Kergon
0 siblings, 0 replies; 10+ messages in thread
From: Alasdair G Kergon @ 2004-03-11 8:34 UTC (permalink / raw)
To: linux-lvm
On Thu, Mar 11, 2004 at 08:24:05PM +0800, Craig Ringer wrote:
> Is there any chance to tweak lvm in the mean time, so that it doesn't
> /try/ to take a snapshot?
Yes, I'm working on this.
I'll update the installation documentation to refer to the information
about upgrading recently added to the HOWTO:
http://www.tldp.org/HOWTO/LVM-HOWTO/lvm2faq.html
Alasdair
--
agk@redhat.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] LVM2-Snapshot
@ 2004-03-30 12:09 darren.miller
0 siblings, 0 replies; 10+ messages in thread
From: darren.miller @ 2004-03-30 12:09 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 1678 bytes --]
Will the patches be released in vanilla 2.6.5?
==============================================================================
Darren Miller
Senior Systems Support Engineer
Microsoft Certified Professional
SCO Advanced Certified Engineer
Infomation Systems Department (Core Server Support)
Philips Semiconductors,Milbrook Industrial Estate,Southampton,SO15
0DJ,England
Direct Dial In: +44 (0) 2380 312681
Joe Thornber <thornber@redhat.com>
Sent by:
linux-lvm-admin@redhat.com
11/03/2004 09:20
Please respond to linux-lvm
To: linux-lvm@redhat.com
cc: (bcc: Darren Miller/SOU/SC/PHILIPS)
Subject: Re: [linux-lvm] LVM2-Snapshot
Classification:
On Wed, Mar 10, 2004 at 05:30:02PM +0100, Christoph Pleger wrote:
> Hello,
>
> I have problems when I try to create a snapshot of a logical volume
> under LVM2 (Kernel 2.6.3). I get the following messages after using
> "lvcreate -s -l 227 -n snap /dev/vg1/lv1":
>
> device_mapper ioctl cmd 9 failed: Invalid argument
> Couldn't load device 'vg1-snap'.
> Problem reactivating origin lv1
>
>
> How can I solve that?
>
> Using google, I found that snapshots under LVM2 and Kernel 2.6 generally
> do not work. I hope that that is no longer true, is it?
The snapshot target isn't in vanilla 2.6 yet, use my udm (unstable dm)
tree if you want that functionality.
http://people.sistina.com/~thornber/dm/
I _hope_ to submit this to lkml within the next month.
- Joe
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
[-- Attachment #2: Type: text/html, Size: 2914 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2004-03-30 12:11 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-10 11:28 [linux-lvm] LVM2-Snapshot Christoph Pleger
2004-03-11 4:16 ` Joe Thornber
2004-03-11 7:23 ` Craig Ringer
2004-03-11 8:34 ` Alasdair G Kergon
-- strict thread matches above, loose matches on Subject: below --
2004-03-10 11:41 darren.miller
2004-03-11 6:13 darren.miller
2004-03-11 7:06 ` Joe Thornber
2004-03-11 8:06 darren.miller
2004-03-11 8:24 darren.miller
2004-03-30 12:09 darren.miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox