2008-10-08 16:50:13 +04:00
.TH LVREMOVE 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
2002-01-04 23:35:19 +03:00
.SH NAME
2014-06-11 13:06:30 +04:00
lvremove \(em remove a logical volume
2002-01-04 23:35:19 +03:00
.SH SYNOPSIS
.B lvremove
2011-09-07 12:50:35 +04:00
.RB [ \- A | \- \- autobackup
.RI { y | n }]
2014-05-21 16:53:56 +04:00
.RB [ \- \- commandprofile
.IR ProfileName ]
2011-09-07 12:50:35 +04:00
.RB [ \- d | \- \- debug ]
.RB [ \- h | \- \- help ]
2015-02-11 12:03:37 +03:00
.RB [ \- S | \- \- select
.IR Selection ]
2011-09-07 12:50:35 +04:00
.RB [ \- t | \- \- test ]
.RB [ \- v | \- \- verbose ]
.RB [ \- \- version ]
.RB [ \- f | \- \- force ]
.RB [ \- \- noudevsync ]
.RI [ LogicalVolume { Name | Path }...]
2002-01-04 23:35:19 +03:00
.SH DESCRIPTION
2012-04-11 16:42:10 +04:00
lvremove removes one or more logical volumes.
2004-11-12 18:59:09 +03:00
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).
2008-11-17 21:20:13 +03:00
Removing an origin logical volume will also remove all dependent snapshots.
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
2011-09-07 12:50:35 +04:00
.BR \- f ", " \- \- force
2004-11-12 18:59:09 +03:00
Remove active logical volumes without confirmation.
2014-10-04 19:06:51 +04:00
Tool will try to deactivate \fI unused\fP volume.
To proceed with damaged pools use \- ff
2009-08-04 12:09:52 +04:00
.TP
2011-09-07 12:50:35 +04:00
.B \- \- noudevsync
2009-08-04 12:09:52 +04:00
Disable udev synchronisation. The
process will not wait for notification from udev.
It will continue irrespective of any possible udev processing
in the background. You should only use this if udev is not running
or has rules that ignore the devices LVM2 creates.
2012-04-11 16:42:10 +04:00
.SH Examples
Remove the active logical volume lvol1 in volume group vg00
2004-11-12 18:59:09 +03:00
without asking for confirmation:
.sp
2012-04-11 16:42:10 +04:00
.B lvremove \- f vg00/lvol1
2004-11-12 18:59:09 +03:00
.sp
Remove all logical volumes in volume group vg00:
.sp
2011-09-07 12:50:35 +04:00
.B lvremove vg00
2002-01-04 23:35:19 +03:00
.SH SEE ALSO
2012-04-11 16:42:10 +04:00
.BR lvcreate (8),
2006-11-06 17:11:40 +03:00
.BR lvdisplay (8),
2012-04-11 16:42:10 +04:00
.BR lvchange (8),
.BR lvm (8),
2004-11-12 18:59:09 +03:00
.BR lvs (8),
.BR lvscan (8),
.BR vgremove (8)