HPlogo HP-UX Reference > D

drd_unregister_mirror(1M)

HP-UX 11i Version 2: December 2007 Update
» 

Technical documentation

 » Table of Contents

 » Index

NAME

drd_unregister_mirror — notify DRD that an LVM or VxVM mirror of a system image is about to be manually removed

SYNOPSIS

drd_unregister_mirror [-?] mirror_block_device_file

DESCRIPTION

The drd_unregister_mirror command notifies DRD that a mirror of either the active system image or the inactive sytem image has been removed or is about to be removed.

The drd_unregister_mirror command can be run before or after the mirror is actually removed, but there are some benefits to running drd_unregister_mirror first: You CANNOT remove the disk that DRD identifies as the boot disk of a system image. The drd_unregister_mirror command will exit with a failure return code if you attempt to do so. If you are not sure which mirrored copy of a system image is identified by DRD as the boot disk, run drd_unregister_mirror to attempt to remove the disk. If you have chosen the boot disk, the command will fail. The other disk can then be unregistered and removed.

Options

drd_unregister_mirror recognizes the following option:

-?

Displays the usage message.

Operands

drd_unregister_mirror recognizes the following operand:

mirror_block_device_file

The block device special file of the mirror disk. The file should refer to the entire disk, not to a partition.

RETURN VALUE

drd_unregister_mirror returns one of the following values:

0

Success.

1

Error.

2

Warning.

EXAMPLES

To display drd_unregister_mirror usage information:

drd_unregister_mirror -?

To notify drd that all mirrors of volumes in the root group on the disk /dev/dsk/c1t2d0 have been removed or are about to be removed.

drd_unregister_mirror /dev/dsk/c1t2d0

To notify drd that all mirrors of volumes in the inactive system image on the disk /dev/dsk/c2t3d0 have been removed or are about to be removed.

drd_unregister_mirror /dev/dsk/c2t3d0

AUTHOR

drd_unregister_mirror was developed by HP.

SEE ALSO

drd-activate(1M), drd-clone(1M), drd-deactivate(1M), drd-mount(1M), drd-runcmd(1M), drd-umount(1M)

Dynamic Root Disk Administrator's Guide, available on the HP Technical Documentation web site at http://docs/hp.com/en/DRD.