diff options
author | Dave Wysochanski <dwysocha@redhat.com> | 2007-08-28 16:14:49 +0000 |
---|---|---|
committer | Dave Wysochanski <dwysocha@redhat.com> | 2007-08-28 16:14:49 +0000 |
commit | f603fe64bd656af8679a9e8cae0cdeda87d556dc (patch) | |
tree | fa3e0ba17496b94d87ee1c5c824d706d9d0fb5c1 /man | |
parent | e4e02000babdc71815f710c1547123256658394a (diff) | |
download | lvm2-f603fe64bd656af8679a9e8cae0cdeda87d556dc.tar.gz |
Modify lvremove to prompt for removal if LV active on other cluster nodes.
Add '-f' to vgremove to force removal of VG even if LVs exist.
Update vgremove man page for '-f'.
Diffstat (limited to 'man')
-rw-r--r-- | man/vgremove.8 | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/man/vgremove.8 b/man/vgremove.8 index 0f2d9e9fe..7a51ed68b 100644 --- a/man/vgremove.8 +++ b/man/vgremove.8 @@ -3,17 +3,24 @@ vgremove \- remove a volume group .SH SYNOPSIS .B vgremove -[\-d/\-\-debug] [\-h/\-?/\-\-help] [\-t/\-\-test] [\-v/\-\-verbose] +[\-d/\-\-debug] [\-f/\-\-force] [\-h/\-?/\-\-help] +[\-t/\-\-test] [\-v/\-\-verbose] VolumeGroupName [VolumeGroupName...] .SH DESCRIPTION vgremove allows you to remove one or more volume groups. -The volume group(s) must not have any logical volumes allocated: -Remove them first with \fBlvremove\fP. If one or more physical -volumes in the volume group are lost, consider -\fBvgreduce --removemissing\fP to make the volume group +If one or more physical volumes in the volume group are lost, +consider \fBvgreduce --removemissing\fP to make the volume group metadata consistent again. +.sp +If there are logical volumes that exist in the volume group, +a prompt will be given to confirm removal. You can override +the prompt with \fB-f\fP. .SH OPTIONS See \fBlvm\fP for common options. +.TP +.BR \-f ", " \-\-force +Force the removal of any logical volumes on the volume group +without confirmation. .SH SEE ALSO .BR lvm (8), .BR lvremove (8), |