All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* Excessive lvreduce on snapshot doesn't show up as invalid snapshot
@ 2012-03-04 22:05 ben
  0 siblings, 0 replies; only message in thread
From: ben @ 2012-03-04 22:05 UTC (permalink / raw
  To: lvm-devel

If I have a snapshot and reduce it too far, it still shows as a valid
snap in 'lvs' on the attributes line.


# lvs
  LV           VG      Attr   LSize  Origin       Snap%  Move Log Copy%  
Convert
  OriginVolume MyGroup owi-a- 98.46g
  SnapShot     MyGroup swi-a- 73.28g OriginVolume   0.73


# lvreduce --size 10M MyGroup/SnapShop

# lvs
  /dev/MyGroup/SnapShot: read failed after 0 of 4096 at 105725755392: 
Input/output error
  /dev/MyGroup/SnapShot: read failed after 0 of 4096 at 105725812736: 
Input/output error
  snapshot percentage too large
  dm_report_object: report function failed for field snap_percent
  LV           VG      Attr   LSize  Origin       Snap%  Move Log Copy%  
Convert
  OriginVolume MyGroup owi-a- 98.46g
  SnapShot     MyGroup swi-a- 12.00m OriginVolume



lvs --version
  LVM version:     2.02.88(2) (2011-08-19)
  Library version: 1.02.67 (2011-08-19)
  Driver version:  4.22.0





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-03-04 22:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-04 22:05 Excessive lvreduce on snapshot doesn't show up as invalid snapshot ben

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.