Checking the status of the disks
Checking the status of the disks
Verify that the disk drives are in good condition by checking their status. To check the status of the disk drives:
1. Enter:
. /opt/informix/bin/setenv
2. Enter:
onstat -d egrep “PDX” pg One of the following occurs:
● If nothing other than the command prompt is displayed, continue with Step 3.
● If any lines are displayed, the disk may require maintenance. Escalate through normal channels.
3. Enter:
metadb -i
Messages similar to the following are displayed:
| flags | first blk | block count |
|
a | u | 16 | 8192 | /dev/dsk/c0t0d0s1 |
a | u | 8208 | 8192 | /dev/dsk/c0t0d0s1 |
a | u | 16400 | 8192 | /dev/dsk/c0t0d0s1 |
|
|
|
|
|
This command shows the database replicas. There should be three replicas for the boot disk. If the correct number of replicas are not shown, escalate using the normal channels.
4. Enter:
metastat grep State: grep -v Okay pg
This reports the state of each disk segment and metadevice. One of the following occurs:
● If nothing is displayed, continue with Step 5.
● If any lines are displayed, the disk may require maintenance. Escalate through normal channels.
5. Continue with Activating customer options on page 54.