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