HPlogo HP-UX Reference > P

pvremove(1M)

HP-UX 11i Version 2: December 2007 Update
» 

Technical documentation

 » Table of Contents

 » Index

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 physical volume. The device may then be used by the file system or by other Volume Manager.

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 physical 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