PRIMECLUSTER Global File Services Configuration and Administration Guide 4.2 (Solaris(TM) Operating Environment) |
Contents Index |
Appendix F Reference Manual | > F.2 Management Commands Specific to the GFS Shared File System |
sfcproxyinfo
sfcproxyinfo [ -f ] rel_name
sfcproxyinfo -d raw_device_file
sfcproxyinfo displays the information about the relationship between the backup source and destination for high-speed backup and restoration.
sfcproxyinfo displays the following information:
The relationship name set up by sfcproxyjoin(1M) is displayed.
The type of operation pattern is displayed. "EC" is displayed for the EC operation, or "OPC" is displayed for the OPC operation.
join status, copy status and error status are displayed.
"JOIN" is displayed for the join status in the EC operation, "SEPARATE" is displayed for the separate status in the EC operation or for the OPC operation.
"COPY" is displayed when a real copy is being executed subsequently. Or "INVALID" is displayed when a real copy failed.
"RESTORE" is displayed in the state where the relation of a backup source and destination is reverse after implementation of restoration.
Backup source partition is displayed in the "master" item, and backup destination partition correspond to the source partition is displayed in the "proxy" item. The status of backup source partition is displayed in the "m_status" item, and the status of backup source partition is displayed in the "p_status" item; "COPY" is displayed in the status of copy destination partition when a real copy is being executed. "INVALID" is displayed in the status of copy destination partition when a read copy failed. Otherwise, "DONE" is displayed.
When no argument is specified, sfcproxyinfo displays information of all relationships.
When a relationship name is specified for an argument, sfcproxyinfo displays information on the relationship.
When a character special device is specified in the -d option, sfcproxyinfo displays information on all relationships that include such character special device in the backup source or destination.
Information on the relation of the group is displayed by - f option when relating it in each group in GDS.
The following options can be specified:
-d raw_device_file
This option displays information on all relationships that include such character special device raw_device_file in the backup source or destination.
-f
This option displays information only for partition correspondence in the format that can be used in case -f option of sfcproxyjoin(1M). This option can be specified only when rel_name is specified.
The following operand can be specified:
rel_name
This operand displays information on the relationship rel_name.
(Example 1)
This example displays information on the relationship backup1_for_volume0001. When an equivalent copy is being executed after sfcproxyjoin or sfcproxyop rejoin in the EC operation. The following is displayed.
# sfcproxyinfo backup1_for_volume0001 relation name: backup1_for_volume0001 type: EC status: JOIN, COPY master proxy m_status p_status /dev/sfdsk/class0001/rdsk/volume0001 /dev/sfdsk/class0001/rdsk/volume0001- DONE COPY
(Example 2)
This example displays information on the relationship backup1_for_volume0001. When an equivalent copy is being executed after sfcproxyrestore in the EC operation. The following is displayed.
# sfcproxyinfo backup1_for_volume0001 relation name: backup1_for_volume0001 type: EC status: JOIN, COPY, RESTORE master proxy m_status p_status /dev/sfdsk/class0001/rdsk/volume0001 /dev/sfdsk/class0001/rdsk/volume0001- COPY DONE
(Example 3)
This example displays information on the relationship backup1_for_volume0001. When a real copy is not executed in the separate status in the EC operation, the following is displayed.
# sfcproxyinfo backup1_for_volume0001 relation name: backup1_for_volume0001 type: EC status: SEPARATE master proxy m_status p_status /dev/sfdsk/class0001/rdsk/volume0001 /dev/sfdsk/class0001/rdsk/volume0001- DONE DONE
(Example 4)
This example displays information on the relationship backup1_for_volume0002. When a real copy has been completed in the partition during backup in the OPC operation, the following is displayed..
# sfcproxyinfo backup1_for_volume0002 relation name: backup1_for_volume0002 type: OPC status: SEPARATE master proxy m_status p_status /dev/sfdsk/class0002/rdsk/volume0002 /dev/sfdsk/class0002/rdsk/volume0002- DONE DONE
(Example 5)
This example displays information on all relationships that include the partition /dev/sfdsk/class0001/rdsk/volume0001 in the backup source or destination.
# sfcproxyinfo -d /dev/sfdsk/class0001/rdsk/volume0001 relation name: backup1_for_volume0001 type: EC status: JOIN, COPY master proxy m_status p_status /dev/sfdsk/class0001/rdsk/volume0001 /dev/sfdsk/class0001/rdsk/volume0001- DONE COPY relation name: backup2_for_volume0001 type: EC status: SEPARATE master proxy m_status p_status /dev/sfdsk/class0001/rdsk/volume0001 /dev/sfdsk/class0001/rdsk/volume1001- DONE DONE
(Example 6)
This example displays information on all relationships.
# sfcproxyinfo relation name: backup1_for_volume0001 type: EC status: JOIN, COPY master proxy m_status p_status /dev/sfdsk/class0001/rdsk/volume0001 /dev/sfdsk/class0001/rdsk/volume0001- DONE COPY relation name: backup2_for_volume0001 type: EC status: SEPARATE master proxy m_status p_status /dev/sfdsk/class0001/rdsk/volume0001 /dev/sfdsk/class0001/rdsk/volume1001- DONE DONE relation name: backup1_for_volume0002 type: OPC status: SEPARATE master proxy m_status p_status /dev/sfdsk/class0002/rdsk/volume0002 /dev/sfdsk/class0002/rdsk/volume0002- DONE DONE relation name: backup1_for_group0003 type: EC status: SEPARATE master proxy m_status p_status /dev/sfdsk/class0003/rdsk/volume0003 /dev/sfdsk/class0003/rdsk/volume0003- DONE DONE
(Example 7)
This example displays information on the relationship backup1_for_volume0002. When a real copy failed in the partition in the OPC operation, the following is displayed.
# sfcproxyinfo backup1_for_volume0002 relation name: backup1_for_volume0002 type: OPC status: SEPARATE, INVALID master proxy m_status p_status /dev/sfdsk/class0002/rdsk/volume0002 /dev/sfdsk/class0002/rdsk/volume0002- DONE INVALID
(Example 8)
This example displays information for partition correspondence on the relationship backup1_for_volume0001 in the format which can be used in case -f option of sfcproxyjoin(1M).
# sfcproxyinfo -f backup1_for_volume0001 /dev/sfdsk/class0001/rdsk/volume0001=/dev/sfdsk/class0001/rdsk/volume0001-
(Example 9)
This example displays information for group of GDS correspondence on the relationship backup1_for_group0003 in the format which can be used in case -f option of sfcproxyjoin(1M).
# sfcproxyinfo -f backup1_for_group0003 class0003.group0003=class0003.group0003-
The following exit values are returned:
0Successful completion.
>0An error occurred.
sfcproxybreak(1M), sfcproxyjoin(1M), sfcproxyop(1M), sfcproxyrestore(1M)
sdxinfo(1M) in the "PRIMECLUSTER Global Disk Services Configuration and Administration Guide."
Contents Index |