NAME
drd-umount: drd — umount mode unmounts the inactive system image
SYNOPSIS
drd umount
[-?]
[-p]
[-q]...
[-v]...
[-x option=value]...
[-x -?]
[-X
option_file]
DESCRIPTION
The
drd umount
command unmounts all the file systems in the inactive system image.
The root file system of the inactive system image
is expected to be mounted at either
/var/opt/drd/mnts/sysimage_000
or
/var/opt/drd/mnts/sysimage_001.
If the inactive image contains an LVM volume group, the
drd umount
command then deactivates and exports the volume group from the system.
If the inactive image contains a VxVM disk group, the
drd umount
command then issues
vxvol stopall
but does not deport the disk group.
This ensures that the inactive image remains bootable.
Note:
Before running
drd umount,
all processes (including shells and editing sessions)
must change directories to a file system
outside of the inactive system image or be terminated.
Otherwise,
drd umount
will fail with a
Device busy
error.
Options
drd umount
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 umount
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 umount
returns one of the following values:
- 0
Success.
- 1
Error.
- 2
Warning.
EXAMPLES
To unmount the inactive system image:
To display all
drd umount
extended options:
AUTHOR
drd
was developed by HP.
FILES
- /var/opt/drd/drd.log
Log file.
- /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.
- /var/opt/drd/mnts/sysimage_001
Mount point for the root file system of an inactive system image
created by a
drd clone
command.