NAME
drd-mount: drd — mount mode mounts the inactive system image
SYNOPSIS
drd mount
[-?]
[-p]
[-q]...
[-v]...
[-x option=value]...
[-x -?]
[-X
option_file]
DESCRIPTION
The
drd mount
command mounts all the file systems in the inactive system image.
The DRD commands manage two system images:
The image
sysimage_000
consists of the LVM volume group or VxVM disk group
that was booted when the most recent
drd clone
command was run, and resides on the physical disk that contains that group.
The image
sysimage_001
consists of the LVM volume group or VxVM disk group that was created by the
drd clone
command, and resides on the target disk of the
drd clone
command.
Since the system may have been booted from the clone between running
drd clone
and
drd mount,
either
sysimage_001
or
sysimage_000
may be active (booted) when the
drd mount
command is run.
The root file system of the inactive system image is mounted as
/var/opt/drd/mnts/name,
where
name
is
sysimage_000,
or
sysimage_001,
as described above.
All other file systems are mounted under the root file system.
Options
drd mount
recognizes the following options:
- -?
Displays the usage message.
- -p
Sets preview mode.
See also
-x preview,
in the
Extended -x Options
section below.
- -q
Decreases the verbosity level by one each time it is specified.
For the interaction with
-x verbosity,
see the
Extended -x Options
section below.
- -v
Increases the verbosity level by one each time it is specified.
For the interaction with
-x verbosity,
see the
Extended -x Options
section below.
- -x -?
Displays the list of possible
-x
(extended) options.
- -x option=value
Sets the extended option to a value.
See the
Extended -x Options
section below.
- -X option_file
Gets the extended options from a file.
See
drd(1M)
for an explanation of the format and an example of an option file.
Extended -x Options
drd mount
recognizes the following
-x
(extended) options.
If a default value exists, it is shown in
bold.
- -x logfile=/var/opt/drd/drd.log
Usage: Basic
This is the path to the log file for this command.
Each time DRD is run, this file will grow larger.
This can be changed,
for example, to a month-specific location
for easier archiving, off-host backup, and rotation.
- -x log_verbosity=4
Usage: Basic
Specifies the level of message verbosity in the log file.
(See also
-x verbosity.)
Legal values are:
- 0
Saves 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.
- -x preview=false
Usage: Basic
If
true,
run this command in preview mode only
(that is, complete the analysis phase and exit;
do not commit changes to disk).
Setting this option to
true
has the same effect as specifying
-p
on the command line.
- -x verbosity=3
Usage: Basic
Specifies the level of standard error verboseness:
- 0
Displays 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.
See also the
-v
and
-q
options in the
Options
section above.
The
-v
option increases the verbosity by 1
(for example, from 3 to 4) and the
-q
option decreases the verbosity by 1.
The
-v
and
-q
options can be given more than once.
Multiples can be merged, as in
-qq.
For example,
if both
-x verbosity=5
and
-qqq
are included on the command line, the effective verbosity is 2.
The minimum combined verbosity level is 0.
For example,
if both
-x verbosity=1
and
-vv
are included on the command line, the effective verbosity is 3.
The maximum combined verbosity level is 5.
RETURN VALUE
drd mount
returns one of the following values:
- 0
Success.
- 1
Error.
- 2
Warning.
EXAMPLES
To mount the inactive system image:
If the system image mounted was created by the most recent
drd clone
command, the root file system will be mounted at
/var/opt/drd/mnts/sysimage_001.
If the system image was booted when the most recent
drd clone
command was run, the root file system will be mounted at
/var/opt/drd/mnts/sysimage_000.
To display all
drd mount
extended options:
AUTHOR
drd
was developed by HP.
FILES
- /var/opt/drd/drd.log
Log file.
- /var/opt/drd/mnts/sysimage_001
Mount point for the root file system of an inactive system image created by a
drd clone
command.
- /var/opt/drd/mnts/sysimage_000
Mount point for the root file system of an inactive system image
that was the booted system when
drd clone
was run.