All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] LVM2 snapshot creation problem
@ 2003-01-08 17:48 Gary Windham
  2003-01-08 18:04 ` Alasdair G Kergon
  2003-01-10 12:19 ` Gary Windham
  0 siblings, 2 replies; 3+ messages in thread
From: Gary Windham @ 2003-01-08 17:48 UTC (permalink / raw)
  To: linux-lvm

I am testing LVM2 under the 2.4.20 (vanilla) kernel running on RedHat 
8.0.  I'm Using device-mapper0.96.07 and the userspace tools 
LVM2.1.95.13 packages.  I applied the device-mapper kernel patches 
located at 
http://people.sistina.com/~thornber/patches/2.4-stable/2.4.20/2.4.20-dm-2.tar.bz2.

My problem is that I have not been able to create LV snapshots under 
LVM2.  Here's an example (command and output follow):

===
# /lvm2/sbin/lvcreate -s -L 20g -n snap -v mytestvg/testlv

     Setting chunksize to 16 sectors.
     Finding volume group "mytestvg"
     Creating logical volume snap
     Archiving volume group "mytestvg" metadata.
     Found volume group "mytestvg"
     Loading mytestvg-snap
     Found volume group "mytestvg"
     Zeroing start of logical volume "snap"
     Found volume group "mytestvg"
     Removing mytestvg-snap
     Found volume group "mytestvg"
     Found volume group "mytestvg"
     Found volume group "mytestvg"
     Loading mytestvg-testlv-real
     Loading mytestvg-testlv
     Loading mytestvg-snap-cow
     Loading mytestvg-snap
   device-mapper ioctl cmd 2 failed: Invalid argument
   Couldn't load device 'mytestvg-snap'.
     Creating volume group backup "/etc/lvm/backup/mytestvg"
   Logical volume "snap" created
===

The logical volume is then in an "INACTIVE destination" for my original 
LV, and cannot be activated.  All I can do is "lvremove" it.

Any advice would be most appreciated!

Thanks,
--Gary
-- 
Gary Windham
Systems Programmer, Principal
The University of Arizona, CCIT

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

end of thread, other threads:[~2003-01-10 12:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-08 17:48 [linux-lvm] LVM2 snapshot creation problem Gary Windham
2003-01-08 18:04 ` Alasdair G Kergon
2003-01-10 12:19 ` Gary Windham

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.