1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/man
Dave Wysochanski da52655315 Fix "lvremove -f vgname" when vgname contains snapshots.
Prior to this patch, "lvremove -f vgname" would fail if vgname contained
one or more snapshot LVs.  Now this passes, but has a side-effect.
If you issue "lvremove vgname" where vgname contains one or more snaps,
you will get an extra "y/n" prompt to remove the same snapshot.
Example:
$ lvs
  LV     VG     Attr   LSize  Origin Snap%  Move Log Copy%  Convert
  lvsnap vgtest swi-a- 16.00M lvtest   0.05
  lvtest vgtest owi-a- 64.00M
$ lvremove vgtest
Do you really want to remove active logical volume "lvsnap"? [y/n]: n
  Logical volume "lvsnap" not removed
Do you really want to remove active logical volume "lvsnap"? [y/n]: n
  Logical volume "lvsnap" not removed
  Command failed with status code 5.

Fixing this will most likely require modification of the iterator
function, process_each_lvs_in_vg() to iterate over snaps in some
cases (e.g. lvs, vgdisplay -v) but not in others (lvremove).
2008-11-17 18:20:13 +00:00
..
clvmd.8.in Generate man pages from templates and include version. (romster) 2008-10-08 12:50:13 +00:00
dmsetup.8.in typo 2007-12-28 15:13:38 +00:00
fsadm.8.in Generate man pages from templates and include version. (romster) 2008-10-08 12:50:13 +00:00
lvchange.8.in Make man pages consistent with either-or options (use "|" everywhere). 2008-11-12 15:01:35 +00:00
lvconvert.8.in Make man pages consistent with either-or options (use "|" everywhere). 2008-11-12 15:01:35 +00:00
lvcreate.8.in Make man pages consistent with either-or options (use "|" everywhere). 2008-11-12 15:01:35 +00:00
lvdisplay.8.in Make man pages consistent with either-or options (use "|" everywhere). 2008-11-12 15:01:35 +00:00
lvextend.8.in Make man pages consistent with either-or options (use "|" everywhere). 2008-11-12 15:01:35 +00:00
lvm.8.in Generate man pages from templates and include version. (romster) 2008-10-08 12:50:13 +00:00
lvm.conf.5.in Generate man pages from templates and include version. (romster) 2008-10-08 12:50:13 +00:00
lvmchange.8.in Generate man pages from templates and include version. (romster) 2008-10-08 12:50:13 +00:00
lvmdiskscan.8.in Make man pages consistent with either-or options (use "|" everywhere). 2008-11-12 15:01:35 +00:00
lvmdump.8.in Generate man pages from templates and include version. (romster) 2008-10-08 12:50:13 +00:00
lvreduce.8.in Make man pages consistent with either-or options (use "|" everywhere). 2008-11-12 15:01:35 +00:00
lvremove.8.in Fix "lvremove -f vgname" when vgname contains snapshots. 2008-11-17 18:20:13 +00:00
lvrename.8.in Generate man pages from templates and include version. (romster) 2008-10-08 12:50:13 +00:00
lvresize.8.in More man page cleanup - convert "+/-" to "+|-" 2008-11-12 15:16:58 +00:00
lvs.8.in More man page cleanup - convert "+/-" to "+|-" 2008-11-12 15:16:58 +00:00
lvscan.8.in Generate man pages from templates and include version. (romster) 2008-10-08 12:50:13 +00:00
Makefile.in make install_device-mapper 2008-11-04 17:25:32 +00:00
pvchange.8.in Make man pages consistent with either-or options (use "|" everywhere). 2008-11-12 15:01:35 +00:00
pvck.8.in Generate man pages from templates and include version. (romster) 2008-10-08 12:50:13 +00:00
pvcreate.8.in Make man pages consistent with either-or options (use "|" everywhere). 2008-11-12 15:01:35 +00:00
pvdisplay.8.in Make man pages consistent with either-or options (use "|" everywhere). 2008-11-12 15:01:35 +00:00
pvmove.8.in Make man pages consistent with either-or options (use "|" everywhere). 2008-11-12 15:01:35 +00:00
pvremove.8.in Generate man pages from templates and include version. (romster) 2008-10-08 12:50:13 +00:00
pvresize.8.in Generate man pages from templates and include version. (romster) 2008-10-08 12:50:13 +00:00
pvs.8.in More man page cleanup - convert "+/-" to "+|-" 2008-11-12 15:16:58 +00:00
pvscan.8.in Generate man pages from templates and include version. (romster) 2008-10-08 12:50:13 +00:00
vgcfgbackup.8.in Generate man pages from templates and include version. (romster) 2008-10-08 12:50:13 +00:00
vgcfgrestore.8.in Generate man pages from templates and include version. (romster) 2008-10-08 12:50:13 +00:00
vgchange.8.in Generate man pages from templates and include version. (romster) 2008-10-08 12:50:13 +00:00
vgck.8.in Make man pages consistent with either-or options (use "|" everywhere). 2008-11-12 15:01:35 +00:00
vgconvert.8.in Generate man pages from templates and include version. (romster) 2008-10-08 12:50:13 +00:00
vgcreate.8.in Generate man pages from templates and include version. (romster) 2008-10-08 12:50:13 +00:00
vgdisplay.8.in Generate man pages from templates and include version. (romster) 2008-10-08 12:50:13 +00:00
vgexport.8.in Make man pages consistent with either-or options (use "|" everywhere). 2008-11-12 15:01:35 +00:00
vgextend.8.in Make man pages consistent with either-or options (use "|" everywhere). 2008-11-12 15:01:35 +00:00
vgimport.8.in Make man pages consistent with either-or options (use "|" everywhere). 2008-11-12 15:01:35 +00:00
vgmerge.8.in Make man pages consistent with either-or options (use "|" everywhere). 2008-11-12 15:01:35 +00:00
vgmknodes.8.in Make man pages consistent with either-or options (use "|" everywhere). 2008-11-12 15:01:35 +00:00
vgreduce.8.in Make man pages consistent with either-or options (use "|" everywhere). 2008-11-12 15:01:35 +00:00
vgremove.8.in Make man pages consistent with either-or options (use "|" everywhere). 2008-11-12 15:01:35 +00:00
vgrename.8.in Make man pages consistent with either-or options (use "|" everywhere). 2008-11-12 15:01:35 +00:00
vgs.8.in More man page cleanup - convert "+/-" to "+|-" 2008-11-12 15:16:58 +00:00
vgscan.8.in Make man pages consistent with either-or options (use "|" everywhere). 2008-11-12 15:01:35 +00:00
vgsplit.8.in Generate man pages from templates and include version. (romster) 2008-10-08 12:50:13 +00:00