pvcreate.1m (2010 09)

p
pvcreate(1M) pvcreate(1M)
Warning: The
-f option should only be used as a last resort to over write file
system or volume manager information that cannot properly be removed using
the commands designed for that purpose. When invoked with
-f, the com-
mand does minimal verification, so care should be taken to assure that the
disk is not already in use prior to invoking the command.
-t disk_type Retrieve configuration information about the physical volume from the file
/etc/disktab. disk_type specifies the device (for example, hp7959S).
The disk_type only needs to be specified when
pvcreate fails to get the size
from the underlying disk driver. If the driver successfully returns the size of
the device, disk_type is ignored.
Note
The user data size of the same physical volume may differ, when initialized by
pvcreate command
under different releases of HP-UX.
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 HP Integrity system on raw device /dev/rdsk/c1t0d0s2
,
and force the creation without confirmation:
pvcreate -fB /dev/rdsk/c1t0d0s2
WARNINGS
If you are using pvcreate command on an HP Integrity system boot disk, ensure that the specified dev-
ice special file correspond to the HP-UX partition. For example,
pvcreate /dev/rdsk/c1t1d0s2
pvcreate initializes only the first 2,147,483,647 Kilobytes (2TB - 1KB) of disk space when the disk size
exceeds this value. Disk space beyond this point will not be used by LVM.
FILES
/etc/disktab Disk geometry and disk partition characteristics for all disk devices on the system
SEE ALSO
getconf(1), model(1), idisk(1M), lvlnboot(1M), lvrmboot(1M), mkboot(1M), vgcreate(1M), vgextend(1M),
lif(4), intro(7), lvm(7).
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: September 2010