netbsd man page for vgreduce

Query: vgreduce

OS: netbsd

Section: 8

Links: netbsd man pages   all man pages

Forums: unix linux community   forum categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

VGREDUCE(8)						      System Manager's Manual						       VGREDUCE(8)

NAME
vgreduce - reduce a volume group
SYNOPSIS
vgreduce [-a|--all] [-A|--autobackup y|n] [-d|--debug] [-h|-?|--help] [--removemissing] [-t|--test] [-v|--verbose] VolumeGroupName [Physi- calVolumePath...]
DESCRIPTION
vgreduce allows you to remove one or more unused physical volumes from a volume group.
OPTIONS
See lvm for common options. -a, --all Removes all empty physical volumes if none are given on command line. --removemissing Removes all missing physical volumes from the volume group, if there are no logical volumes allocated on those. This resumes normal operation of the volume group (new logical volumes may again be created, changed and so on). If this is not possible (there are logical volumes referencing the missing physical volumes) and you cannot or do not want to remove them manually, you can run this option with --force to have vgreduce remove any partial LVs. Any logical volumes and dependent snapshots that were partly on the missing disks get removed completely. This includes those parts that lie on disks that are still present. If your logical volumes spanned several disks including the ones that are lost, you might want to try to salvage data first by acti- vating your logical volumes with --partial as described in lvm (8).
SEE ALSO
lvm(8), vgextend(8) Sistina Software UK LVM TOOLS 2.02.44-cvs (02-17-09) VGREDUCE(8)
Related Man Pages
vgreduce(8) - mojave
vgreduce(8) - opensolaris
vgreduce(8) - v7
vgreduce(8) - osx
vgreduce(8) - freebsd
Similar Topics in the Unix Linux Community
how to assign same mount point for file systems mounted on physical disks
New Array of disks
How can i connect storedge A1000 to E250box?
Check disks not in a volume group?
Mirrorvg to different multiple disks