pvremove.1m (2010 09)
p
pvremove(1M) pvremove(1M)
NAME
pvremove - remove LVM data structure from a physical volume
SYNOPSIS
/sbin/pvremove
pv_path
DESCRIPTION
The
pvremove command clears the LVM data structure on a disk, so that it is no longer an LVM physi-
cal volume. The device may then be used by the file system or by other volume managers.
The operation is denied if pv_path is assigned to a volume group. The
pvremove command only clears
the LVM data structure on a disk if the disk does not belong to a volume group. This avoids accidentally
removing a valid physical volume under a volume group. If the physical volume to be removed belongs to
a volume group, use the
vgremove command to first remove the volume group associated with the physi-
cal volume.
Arguments
pvremove recognizes the following arguments:
pv_path The character (raw) device path name of a physical volume.
EXTERNAL INFLUENCES
Environment Variables
LANG determines the language in which messages are displayed.
If
LANG is not specified or is null, it defaults to "C" (see lang(5)).
If any internationalization variable contains an invalid setting, all internationalization variables default
to "C" (see environ (5)).
EXAMPLES
Remove LVM data structure on the physical volume
/dev/rdsk/c1t0d0
:
pvremove /dev/rdsk/c1t0d0
SEE ALSO
lvremove(1M), vgremove(1M), intro(7), lvm(7).
HP-UX 11i Version 3: September 2010 − 1 − Hewlett-Packard Company 1