Maintaining Mirrored Systems | CentreVu CMS Release 3 Version 8 |
Replacing a faulty disk | 72 |
|
|
Step 4: Remove state database replicas (boot disks only)
When you replace a boot disk, you must remove the state database replicas from the old disk and recreate them on the new one. A boot disk is one that is a member of metadevice d11 or d12 (see “Step 2: Identify the submirrors” on page 70).
If you fail to remove old replicas, the software will have an inaccurate picture of the replicas existing on your system and will attempt to write to nonexistent database replica files.Match up the device description lines to determine which disk drive has problems.
In general, the procedure is a
1.Issue a metadb
2.Issue a metadb
3.Issue another metadb
If the faulty disk were c0t1d0, for example, the replica deletion might resemble the following series of commands and responses:
#metadb
flags |
| first blk | block count |
| |
a m | p | luo | 16 | 1034 | /dev/dsk/c0t0d0s1 |
a | p | luo | 1050 | 1034 | /dev/dsk/c0t0d0s1 |
a | p | luo | 2084 | 1034 | /dev/dsk/c0t0d0s1 |
a | p | luo | 3118 | 1034 | /dev/dsk/c0t0d0s1 |
a | p | luo | 16 | 1034 | /dev/dsk/c1t4d0s1 |
a | p | luo | 1050 | 1034 | /dev/dsk/c1t4d0s1 |
a | p | luo | 2084 | 1034 | /dev/dsk/c1t4d0s1 |
#metadb
#metadb
| flags |
| first blk | block count |
|
a m | p | luo | 16 | 1034 | /dev/dsk/c0t0d0s1 |
a | p | luo | 1050 | 1034 | /dev/dsk/c0t0d0s1 |
a | p | luo | 2084 | 1034 | /dev/dsk/c0t0d0s1 |
a | p | luo | 3118 | 1034 | /dev/dsk/c0t0d0s1 |
|
|
|
|
|
|
Step 5: Replace the faulty disk drive
1.Remove the faulty disk drive.
2.Install the new disk drive into the same slot the faulty drive came out of. For installation instructions, see the documentation that came with the disk drive or the Lucent hardware installation manual.
3.Partition the new disk using the format command. See “Partitioning disks with the format command” on page 76 . Make sure you partition the new disk drive!