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}]   [--commandprofile   ProfileName]
10       [-d|--debug] [-h|--help] [-S|--select Selection] [-t|--test] [-v|--ver‐
11       bose]     [--version]    [-f|--force]    [--noudevsync]    [LogicalVol‐
12       ume{Name|Path}...]
13

DESCRIPTION

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

OPTIONS

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

Examples

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

SEE ALSO

51       lvcreate(8),  lvdisplay(8),  lvchange(8),  lvm(8),  lvs(8),  lvscan(8),
52       vgremove(8)
53
54
55
56Sistina Software UKLVM TOOLS 2.02.143(2)-RHEL6 (2016-12-13)        LVREMOVE(8)
Impressum