Setting up the mirrored volume set [ Mirrored Disk/iX User's Guide ] MPE/iX 5.0 Documentation
Mirrored Disk/iX User's Guide
Setting up the mirrored volume set
After you have installed the mirrored disk hardware and software, you
need to set up the mirrored volume set by performing the following
procedures:
* Initialize the mirrored volume set.
* Add members to the mirrored volume set, if necessary.
* Move files, if necessary.
* Set up accounts and groups.
Initializing a mirrored volume set
A mirrored volume set is created by using the VOLUTIL NEWMIRRSET command
to initialize the master volume of the set. Refer to the Volume
Management Reference Manual (32650-90045) for more information on using
the VOLUTIL utility.
This example shows how to create a mirrored volume set. You need create
volumes (CV) capability to create a mirrored set.
1. Use the DSTAT command to display which disks can be initialized.
_________________________________________________________________
NOTE The new volume must be mounted in the SCRATCH or UNKNOWN
state.
_________________________________________________________________
_______________________________________________________
| |
| |
| :DSTAT |
| |
| LDEV-TYPE STATUS VOLUME (VOLUME SET - GEN) |
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
| 30- 079370 SCRATCH |
| 31- 079370 SCRATCH |
| 32- 079370 SCRATCH |
| 33- 079370 SCRATCH |
| |
_______________________________________________________
LDEVs 30, 31, 32, and 33 are mounted in the SCRATCH state and are
available to be initialized.
2. Start the VOLUTIL utility.
3. Use the NEWMIRRSET command to initialize the mirrored volume set
PROD_SET with the master name MEMBER1 for LDEVs 30 and 31.
____________________________________________________________________________________
| |
| |
| :VOLUTIL |
| |
| Mirvutil A.00.00, (C) Hewlett-Packard Co., 1989. All Rights Reserved. |
| |
| volutil: NEWMIRRSET PROD_SET MEMBER1 (30,31) |
| |
| *Verify: Initialize new volume set PROD_SET on ldev 30 and ldev 31 [Y/N]? Y |
| |
| *Note: New master volume has been initialized for ldev 30 and ldev 31. |
| |
____________________________________________________________________________________
The header "Mirvutil" tells you that mirrored disk software has
been installed and that VOLUTIL has been changed to accommodate
mirrored disks.
The system responds with a question asking you to verify whether
the information that you input was correct. When you respond Y
followed by RETURN, the system displays process information.
_________________________________________________________________
CAUTION Make sure that you see the message verifying that the
volumes were initialized. Any error that occurs during
initialization means that the volumes must be
reinitialized.
_________________________________________________________________
4. After you create a mirrored volume set, use the DSTAT command to
verify that the volume set was initialized.
__________________________________________________________
| |
| |
| volutil: :DSTAT |
| |
| LDEV-TYPE STATUS VOLUME (VOLUME SET - GEN) |
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
| 30- 079370 MASTER-MD MEMBER1 (PROD_SET-0) |
| 31- 079370 MASTER-MD MEMBER1 (PROD_SET-0) |
| 32- 079370 SCRATCH |
| 33- 079370 SCRATCH |
| |
__________________________________________________________
The "MD" in the previous screen designates a mirrored disk volume.
Adding volumes to a mirrored set
To add a volume to a mirrored volume set, use the VOLUTIL NEWMIRRVOL
command.
NOTE The new volume must be mounted in the SCRATCH or UNKNOWN state.
This example shows how to add a volume to a mirrored volume set.
1. Use the NEWMIRRVOL command to add the volume MEMBER2 to the
mirrored volume set PROD_SET for LDEVs 32 and 33. If you do not
specify a volume class, the default volume class DISC is added to
the volume.
_________________________________________________________________
NOTE Remember to include the colon (:) in the command between
the set name and the volume name.
_________________________________________________________________
_______________________________________________________________________________
| |
| |
| volutil: NEWMIRRVOL PROD_SET:MEMBER2 (32,33) |
| |
| *Verify: Initialize new member volume on ldev 32 and ldev 33 [Y/N]?Y |
| |
| *Note: New member volume has been initialized for ldev 32 and ldev 33. |
| |
_______________________________________________________________________________
The system responds with a question asking you to verify whether
the information you input was correct. When you respond Y
followed by RETURN, the system displays process information.
_________________________________________________________________
CAUTION Make sure that you see the message verifying that the
volumes were initialized. Any error that occurs during
initialization means that the volumes must be
reinitialized.
_________________________________________________________________
2. Use the DSTAT command to verify that the volumes were added
correctly to the volume set.
__________________________________________________________
| |
| |
| volutil: :DSTAT |
| |
| LDEV-TYPE STATUS VOLUME (VOLUME SET - GEN) |
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
| 30- 079370 MASTER-MD MEMBER1 (PROD_SET-0) |
| 31- 079370 MASTER-MD MEMBER1 (PROD_SET-0) |
| 32- 079370 MEMBER-MD MEMBER2 (PROD_SET-0) |
| 33- 079370 MEMBER-MD MEMBER2 (PROD_SET-0) |
| |
__________________________________________________________
3. Use the VOLUTIL SHOWSET command with the new MIRROR option to
display and verify volume information.
______________________________________________________________
| |
| |
| volutil:SHOWSET PROD_SET MIRROR |
| |
| Volume Name Vol Status Mirr Status Ldev Mirr ldev |
| - - - - - - - - - - - - - - - - - - - - - - - - - - |
| MEMBER1 MASTER NORMAL 30 31 |
| MEMBER1 MASTER NORMAL 31 30 |
| MEMBER2 MEMBER NORMAL 32 33 |
| MEMBER2 MEMBER NORMAL 33 32 |
| |
______________________________________________________________
This screen shows that there are four mirrored disks operating
normally.
4. Additional pairs can be added to the mirrored volume set using the
NEWMIRRVOL command.
Setting up accounts and groups
Once the mirrored volume set has been created, set up accounts and groups
on the system volume set and the mirrored volume set. For more
information on setting up accounts and groups on nonsystem volume sets,
refer to the Volume Management Reference Manual (32650-90045).
The BULDACCT utility can be used to set up accounts and groups.
Information on using this utility is described in the MPE/iX Utilities
Manual (32650-90081).
Moving files
Now that the mirrored volume set has been created and contains accounts
and groups, you can move files to that set. Since the system volume set
cannot be mirrored, data on the system volume set that is to be mirrored
must be moved to a mirrored volume set. Use the STORE command to move
files from the system volume set to the mirrored volume set. Refer to
the MPE/iX Commands Reference Manual Volumes 1 and 2 (32650-90003 and
32650-90364) for more information on moving files.
MPE/iX 5.0 Documentation