Cannot create more than one snapshot per origin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

when I try to create more than one snapshot of the same origin, the second and following snapshots are marked "inactive" and report Input/output errors all the time:

Berfore the first snapshot:

lunkwill pri # lvscan
  ACTIVE            '/dev/export/lvol0' [1.34 TB] inherit
  ACTIVE            '/dev/export/lvol1' [800.00 GB] inherit

lunkwill pri # lvcreate -s -L20G -n test /dev/export/lvol0
  Logical volume "test" created
lunkwill pri # lvscan
  ACTIVE   Original '/dev/export/lvol0' [1.34 TB] inherit
  ACTIVE            '/dev/export/lvol1' [800.00 GB] inherit
  ACTIVE   Snapshot '/dev/export/test' [20.00 GB] inherit

Everything's fine so far. Now the trouble starts:


lunkwill pri # lvcreate -s -L20G -n test2 /dev/export/lvol0
  Logical volume "test2" created
lunkwill pri # lvscan
/dev/export/test2: read failed after 0 of 4096 at 1473844805632: Input/output error
  /dev/export/test2: read failed after 0 of 4096 at 0: Input/output error
  inactive Original '/dev/export/lvol0' [1.34 TB] inherit
  ACTIVE            '/dev/export/lvol1' [800.00 GB] inherit
  ACTIVE   Snapshot '/dev/export/test' [20.00 GB] inherit
  inactive Snapshot '/dev/export/test2' [20.00 GB] inherit


I'm using an xfs filesystem on /dev/export/lvol0 and the following software versions:

kernel: vanilla 2.6.15.1
device-mapper: 1.02.07
lvm2: 2.02.05


Thanks for your help in advance!

Regards
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/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux