HPlogo Mirrored Disk/iX User's Guide: HP 3000 MPE/iX Computer Systems > Chapter 5 Mirrored Disk Commands

REPLACEMIRRVOL

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Glossary

 » Index

The REPLACEMIRRVOL command is used when a partner of a mirrored pair has suffered a failure and mirroring has been disabled. This command is also used to add a partner to a drive that is in the SUSPENDMIRR state because the operator issued a SUSPENDMIRRVOL command. This command initializes the new partner volume and begins the repair process on it. This process takes place without interruption to applications accessing the volume set. The replacement volume has the same characteristics that were specified in the NEWMIRRVOL or NEWMIRRSET command when the volume was first initialized.

When using this command, the replacement drive must be mounted on the same LDEV as the one that failed. The volume must be in the DISABLED state as shown in the DSTAT display.

NOTE: Any volume mounted on an LDEV on which a volume has been disabled, mounts in the DISABLED state.

Task

Replaces a previously disabled volume.

Syntax

     REPLACEMIRRVOL [VNAME=] sname:vname

                    [LDEV=] ldev

Parameters

sname

The name assigned to the mirrored volume set.Required.

vname

The name assigned to the volume. Required.

ldev

One number from 1 to 999 that specifies the logical device that is to be replaced. It must identify one unique device configured into the device class DISC. Required.

Example

This example shows how to use the REPLACEMIRRVOL command.

LDEV 33 did not mount. LDEV 32 mounted in the PENDING state because its partner was missing. The drive that did not mount has been fixed (or replaced), mounted, and placed online (in the DISABLED state). The drive can now be initialized as the new LDEV 33.

To initialize LDEV 33 as the new mirrored disk partner of LDEV 32, use the following command:

   volutil: REPLACEMIRRVOL PROD_SET:MEMBER2 33

The system now recognizes (mounts) the replaced volume, resumes disk mirroring, and starts the repair process.

Feedback to webmaster