drd-unrehost.1m
d
drd-unrehost(1M) drd-unrehost(1M)
4 Adds verbose INFO messages.
5 Adds very-verbose INFO messages.
-x sysinfo_file=
Usage: Basic
This is the file containing system information attributes, such as hostname and IP address, that is
copied to the EFI partition by the drd rehost
command and consequently applied by
auto_parms (1M) when the rehosted image is booted. The file can be removed from the EFI partition
and optionally copied back to the file system with the drd unrehost command. This extended
option provides the same functionality as the
-f option.
-x verbosity=3
Usage: Basic
Specifies the level of stderr verboseness:
0 Only ERROR messages and the starting/ending BANNER messages.
1 Adds WARNING messages.
2 Adds NOTE messages.
3 Adds INFO messages (informational messages preceded by the
* character).
4 Adds verbose INFO messages.
5 Adds very-verbose INFO messages.
Note: The
-v option is equivalent to increasing verbosity by 1 (e.g., from 3 to 4) and the
-q option
is equivalent to decreasing verbosity by 1. The
-v and -q options can be used more than once.
RETURN VALUE
drd unrehost returns the following values:
0 Success.
1 Error.
2 Warning.
EXAMPLES
To name a file specifying extended options:
drd <mode>[options] -X /tmp/extendedOptions
where the example /tmp/extendedOptions file has this content:
logfile=/tmp/robsDRD.log
log_verbosity=5
To remove
EFI/HPUX/SYSINFO.TXT
from the EFI partition of the inactive system image:
drd unrehost
To remove EFI/HPUX/SYSINFO.TXT
from the EFI partition of the disk /dev/disk/disk9:
drd unrehost -t /dev/disk/disk9
To remove EFI/HPUX/SYSINFO.TXT from the EFI partition of the inactive system image, preserving a
copy at /home/sysadmin/sysinfo_test:
drd rehost -f /home/sysadmin/sysinfo_test
To remove EFI/HPUX/SYSINFO.TXT from the EFI partition of the disk /dev/dsk/c0t0d0
, preserv-
ing a copy at
/home/sysadmin/sysinfo_test:
drd rehost -f /home/sysadmin/sysinfo_test -t /dev/dsk/c0t0d0
AUTHOR
drd was developed by Hewlett-Packard Development Company, L.P.
FILES
/var/opt/drd/drd.log Log file.
SEE ALSO
auto_parms(1M), drd(1M), drd-activate(1M), drd-clone(1M), drd-deactivate(1M), drd-mount(1M), drd-
rehost(1M), drd-runcmd(1M), drd-status(1M), drd-sync(1M), drd-umount(1M), sysinfo(4)
Dynamic Root Disk Administrator’s Guide , available at http://www.hp.com/go/drd-docs.
2 Hewlett-Packard Company − 2 − HP-UX 11i Version 3: September 2010