HP Integrity Virtual Machines 4.2.5: Release Notes

hpvmhostgdev(1M)
NAME
hpvmhostgdev -- Manages Integrity VM Host devices available for virtual machine access.
SYNOPSIS
hpvmhostgdev [-H | [-u] | { -a | -c {disklist|lvlist} | -l
[>devlistfile] } | -d | -f devlistfile| -r | -v {
all|assigned|unassigned }]
DESCRIPTION
The hpvmhostgdev command analyzes disklist and lvlist output searching for unused
disks and logical volumes (LVs). It uses its results to add unused devices to the Integrity VM device
database as guest devices (gdevs).
When executed without any options or with the -H option, the hpvmhostgdev command displays
a description of the command.
NOTE: Do not use a disk to create volume group after it has been made a gdev (either by the
script or by hand). Once a disk has been made a gdev, it is free to be used as a disk by a guest.
To use a disk as part of a volume group of which you want to create logical volumes, perform the
following steps:
1. If the disk is a gdev, unmark it as one, if it is not in use by a guest:
# hpvmdevmgmt -d gdev:/dev/rdisk/disk#
2. Follow one of the following scenarios:
Scenario 1:
a. Make the disk restricted:
# hpvmdevmgmt -a rdev:/dev/rdisk/disk#
b. Create the volume group with the disk (or add it to an existing volume group),
followed by the LV creation.
Scenario 2:
a. Create the volume group with the disk (or add it to an existing volume group),
followed by the LV creation.
b. Make the disk restricted, by using one of the following commands:
# hpvmdevmgmt -a rdev:/dev/rdisk/disk#
# hpvmhostrdev -u
If many disks are being used for volume groups, then running hpvmhostrdev
u when you are done is more efficient than running the individual adds with
hpvmdevmgmt -a rdev.
NOTE: Only a superuser may execute the hpvmhostgdev command.
Options
The hpvmhostgdev command recognizes the following command-line options:
-H Displays a description of the hpvmhostgdev command.
-a Adds unused logical volumes and disks for guest use.
-c Displays the disklist or lvlist command output.
-d Deletes guest devices added by this script.
-f Uses specified device-list file to add devices for guest use.
106 hpvmhostgdev Manpage