HP Integrity Virtual Machines 4.3: Installation, Configuration, Administration

Delete an attribute from an entry:
-d {server | rdev | gdev}:entry-name:attr:attr-name
Delete one alias if a device has multiple aliases defined.
-d gdev_alias:/dev/rdisk/disknn
The following limitations apply:
Valid to delete only guest device aliases.
More than one alias must be defined, so that the alias delete does not attempt to
delete the only alias. If there is only one alias, use the following command to delete
the entire entry:
# hpvmdevmgmt -d gdev:/device
The alias must not be in used by any guest. If the alias to be deleted is in use by a
guest, you must remove the dependency with the following command:
# hpvmmodify -P guest -d <resources>
Note that the aliases for the device can be used by any guest.
To delete a cluster entry, specify the server host name for the entry-name.
-n gdev|rdev:oldentry-name:newentry_-name0[,newentry-name1]
Replaces a device. Typically used when a device goes bad.
-r
Generates a report script that can be used after inspection to fix various device database
problems.
RETURN VALUES
The hpvmdevmgmt command exits with one of the following values:
0: Successful completion.
1: One or more error conditions
occurred.
DIAGNOSTICS
The hpvmdevmgmt command displays error messages for any of the following conditions:
An invalid option is specified.
An invalid value is specified for an option.
A value was omitted for an argument that requires one, or a value was supplied for an
argument that does not take one.
The hpvmdevmgmt command and Integrity VM are at different revision levels.
EXAMPLES
Generate a device report and repair script and redirect the output to a file. This example also
sets the script to executable and writable, starts an editor to edit the file, and then runs the edited
file. If the script is not edited and there are errors to report or repair, you receive a message
directing you to edit it. If there are no errors to report or repair, the script runs without editing.
# hpvmdevmgmt -r > repair_script.sh
# chmod +wx repair_script.sh
# ./repair_script.sh
Device database status - Total problems found: zz.
Number of restricted devices with problems: xx.
Number of guest devices with problems: yy.
Since errors were found, please edit and inspect this script by hand to enable its repair functions.
# vi repair_script.sh
# ./repair_script.sh
List a guest-device entry:
269