HP-UX Reference (11i v2 04/09) - 1M System Administration Commands N-Z (vol 4)
p
pvcreate(1M) pvcreate(1M)
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
Create a physical volume on raw device
/dev/rdsk/c1t0d0
, and force the creation without
confirmation:
pvcreate -f /dev/rdsk/c1t0d0
Create a bootable physical volume for an Itanium-based system on raw device
/dev/rdsk/c1t0d0s2
,
and force the creation without confirmation:
pvcreate -fB /dev/rdsk/c1t0d0s2
Create a physical volume on raw device
/dev/rdsk/c1t0d0, specifying that a bad blocks list (7, 13,
95, and 133) must be read from standard input:
echo 7 13 95 133 | pvcreate -b /dev/rdsk/c1t0d0
WARNINGS
Check the manufacturer’s listing or run diagnostics testing for bad blocks on the device prior to creating a
physical volume. If bad blocks are present, use the -b option when creating the physical volume.
Itanium(R)-based System Warning
If you are using
pvcreate on an Itanium-based system boot disk, ensure that the device file specifies
the EFI partition number. For example,
pvcreate /dev/rdsk/c1t1d0s1
FILES
/etc/disktab Disk geometry and disk partition characteristics for all disk devices on the system
SEE ALSO
idisk(1M), mkboot(1M), vgcreate(1M), vgextend(1M), lif(4).
Section 1M−−642 Hewlett-Packard Company − 2 − HP-UX 11i Version 2: September 2004