1LVREMOVE(8)                 System Manager's Manual                LVREMOVE(8)
2
3
4

NAME

6       lvremove - remove a logical volume
7

SYNOPSIS

9       lvremove [-A|--autobackup y|n] [-d|--debug] [-f|--force] [-h|-?|--help]
10       [--noudevsync]  [-t|--test]  [-v|--verbose]  LogicalVolumePath   [Logi‐
11       calVolumePath...]
12

DESCRIPTION

14       lvremove  removes  one  or  more logical volumes.  Confirmation will be
15       requested before  deactivating  any  active  logical  volume  prior  to
16       removal.   Logical  volumes cannot be deactivated or removed while they
17       are open (e.g. if they contain a mounted filesystem).  Removing an ori‐
18       gin logical volume will also remove all dependent snapshots.
19
20       If  the  logical volume is clustered then it must be deactivated on all
21       nodes in the cluster before it can be removed. A single  lvchange  com‐
22       mand issued from one node can do this.
23

OPTIONS

25       See lvm(8) for common options.
26
27       -f, --force
28              Remove active logical volumes without confirmation.
29
30       --noudevsync
31              Disable  udev  synchronisation.  The  process  will not wait for
32              notification from udev.  It will continue  irrespective  of  any
33              possible udev processing in the background.  You should only use
34              this if udev is not running or has rules that ignore the devices
35              LVM2 creates.
36

EXAMPLES

38       Remove  the  active  logical  volume lvol1 in volume group vg00 without
39       asking for confirmation:
40
41            lvremove -f vg00/lvol1
42
43       Remove all logical volumes in volume group vg00:
44
45            lvremove vg00
46

SEE ALSO

48       lvcreate(8),  lvdisplay(8),  lvchange(8),  lvm(8),  lvs(8),  lvscan(8),
49       vgremove(8)
50
51
52
53Sistina Software UK    LVM TOOLS 2.02.84(2) (2011-02-09)           LVREMOVE(8)
Impressum