2002-01-04 23:35:19 +03:00
.TH LVREMOVE 8 "LVM TOOLS" "Sistina Software UK" \" -*- nroff -*-
.SH NAME
lvremove \- remove a logical volume
.SH SYNOPSIS
.B lvremove
[\- A/\- \- autobackup y/n] [\- d/\- \- debug] [\- f/\- \- force]
2002-11-18 17:04:08 +03:00
[\- h/\- ?/\- \- help]
[\- t/\- \- test]
[\- v/\- \- verbose] LogicalVolumePath [LogicalVolumePath...]
2002-01-04 23:35:19 +03:00
.SH DESCRIPTION
2004-11-12 18:59:09 +03:00
\fB lvremove\fP removes one or more logical volumes.
Confirmation will be requested before deactivating any active logical
volume prior to removal. Logical volumes cannot be deactivated
or removed while they are open (e.g. if they contain a mounted filesystem).
2006-11-06 17:11:40 +03:00
.sp
If the logical volume is clustered then it must be deactivated on all
nodes in the cluster before it can be removed. A single lvchange command
issued from one node can do this.
2002-01-04 23:35:19 +03:00
.SH OPTIONS
2004-11-12 18:59:09 +03:00
See \fB lvm\fP (8) for common options.
2002-01-04 23:35:19 +03:00
.TP
.I \- f, \- \- force
2004-11-12 18:59:09 +03:00
Remove active logical volumes without confirmation.
.SH EXAMPLES
Remove the active logical volume lvol1 in volume group vg00
without asking for confirmation:
.sp
\ \fB lvremove -f vg00/lvol1\fP
.sp
Remove all logical volumes in volume group vg00:
.sp
\ \fB lvremove vg00\fP
2002-01-04 23:35:19 +03:00
.SH SEE ALSO
.BR lvcreate (8),
2006-11-06 17:11:40 +03:00
.BR lvdisplay (8),
.BR lvchange (8),
2004-11-12 18:59:09 +03:00
.BR lvm (8),
.BR lvs (8),
.BR lvscan (8),
.BR vgremove (8)