Initial import of binutils 2.22 on the new vendor branch
[dragonfly.git] / contrib / lvm2 / dist / man / lvremove.8.in
1 .TH LVREMOVE 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
2 .SH NAME
3 lvremove \- remove a logical volume
4 .SH SYNOPSIS
5 .B lvremove
6 [\-A|\-\-autobackup y|n] [\-d|\-\-debug] [\-f|\-\-force]
7 [\-h|\-?|\-\-help] 
8 [\-\-noudevsync]
9 [\-t|\-\-test]
10 [\-v|\-\-verbose] LogicalVolumePath [LogicalVolumePath...]
11 .SH DESCRIPTION
12 \fBlvremove\fP removes one or more logical volumes.
13 Confirmation will be requested before deactivating any active logical
14 volume prior to removal.  Logical volumes cannot be deactivated
15 or removed while they are open (e.g. if they contain a mounted filesystem).
16 Removing an origin logical volume will also remove all dependent snapshots.
17 .sp
18 If the logical volume is clustered then it must be deactivated on all
19 nodes in the cluster before it can be removed. A single lvchange command
20 issued from one node can do this.
21 .SH OPTIONS
22 See \fBlvm\fP(8) for common options.
23 .TP
24 .I \-f, \-\-force
25 Remove active logical volumes without confirmation.
26 .TP
27 .I \-\-noudevsync
28 Disable udev synchronisation. The
29 process will not wait for notification from udev.
30 It will continue irrespective of any possible udev processing
31 in the background.  You should only use this if udev is not running
32 or has rules that ignore the devices LVM2 creates.
33 .SH EXAMPLES
34 Remove the active logical volume lvol1 in volume group vg00 
35 without asking for confirmation:
36 .sp
37 \       \fBlvremove -f vg00/lvol1\fP
38 .sp
39 Remove all logical volumes in volume group vg00:
40 .sp
41 \       \fBlvremove vg00\fP
42 .SH SEE ALSO
43 .BR lvcreate (8), 
44 .BR lvdisplay (8),
45 .BR lvchange (8),  
46 .BR lvm (8), 
47 .BR lvs (8),
48 .BR lvscan (8),
49 .BR vgremove (8)