mr showstatus
Function
The mr showstatus command is used to view the header information of a metadata backup file.
Format
mr showstatus -o objectType -p poolId [ -t tierType | -l lunId ] [ -i type ]
Parameters
Parameter |
Description |
Value |
---|---|---|
objectType |
ID of a backed up metadata object. |
Possible values are 12, 17, and 19. |
poolId |
Disk domain ID. |
The value ranges from 0 to n minus one, where n indicates the maximum number of disk domains supported by a product. |
tierType |
Tier type. |
The value can be 0, 1, or 2, where:
|
lunId |
LUN ID. |
The value ranges from 0 to n minus one, where n indicates the maximum number of LUNs supported by a product. |
type |
Backup data type. |
The value can be 1 or other values.
|
Views
Diagnostic view
Usage Guidelines
None
Example
- View the header information of the metadata full backup file of LUN 0.
admin:/diagnose>mr showstatus -o 19 -p 0 -l 0 #################### backup message #################### tree state : standby_fullbackup last time result : init success last backup begin time : 2015-07-01 14:27:00 last backup end time : 2015-07-01 14:27:00 last backup file size : 940 byte last backup write number : 16 #################### full back file message #################### bakFileLayOutObj: tree handle : 0x27000000000 root blk ID : 0x4000400600000000 bakFileHead: backup trig time : 0000-00-00 00:00:00 tree handle : 0x27000000000 file status : standby_fullbackup root block id : 0x4000400600000000 log init status : 1 backedup write number: 0 current write number : 0 write cursor : 0 backup file : 0 begin time : 2015-07-01 14:27:00 update time : 2015-07-01 14:27:00 first blk ID : 0x4000400600000005 last blk ID : 0x4000400600000005 blk ID arr : 0x400000140000000b last blk offset : 8192 byte file size : 940 byte file src size : 4120 byte status : closed is valid : yes backedup write number: 16 total item number : 256 backup file : 1 begin time : 0000-00-00 00:00:00 update time : 0000-00-00 00:00:00 first blk ID : 0xffffffffffffffff last blk ID : 0xffffffffffffffff blk ID arr : 0x400000140000000c last blk offset : 4096 byte file size : 0 byte file src size : 0 byte status : closed is valid : no backedup write number: 0 total item number : 0
- View the header information of the metadata incremental backup file of LUN 0.
admin:/diagnose>mr showstatus -o 19 -p 0 -l 0 -i 1 #################### backup log file message #################### tree handle : 0x27000000000 LogFileHead: write num : 0x2 loop queue byte size: 0x400000 blk arr ID : 0x400000140000000d head offset : 0x1000 LogFileUnit: write num : 0x1 tail offset : 0x1050 checked offset : 0x1050 is log valid : 1 low half WN : 0 CpyTailOffset : 0x1050 CpyTimeStamp : 2015-07-01 14:24:41 blk ID array: validBlkNum : 4 0 : 0x4000400600000001 1 : 0x4000400600000002 2 : 0x4000400600000003 3 : 0x4000400600000004 others: readTagOffset : 4176 writtenStatus : WRITTEN_NORMAL LogOccupy[0,100] : 0 lastInitJiffies : 121819849 inInitLog : 0 hasInitTime : 0 logRecoverFlag : 1
System Response
The following table describes the parameter meanings.
Parameter |
Meaning |
---|---|
tree state |
Status of the backup file. |
last time result |
Result of last backup. |
last backup begin time |
Time when last backup starts. |
last backup end time |
Time when last backup ends. |
last backup file size |
Size of the last backup file. |
last backup write number |
Number of write operations in last backup. |
backup progress |
Backup progress (displayed only in backup). |
recover progress |
Recovery progress (displayed only in recovery). |
tree handle |
Name of the backup file. |
root blk ID |
Root block ID of the backup file. |
backup trig time |
Time when backup is triggered. |
file status |
Status of the backup file. |
backedup write number |
Number of backup time changes. |
current write number |
Number of changes. |
write cursor |
Location to which the current file points. |
backup file |
Location of the backup file. |
begin time |
Time when file backup starts. |
update time |
Time when the file is updated. |
first blk ID |
First block ID of the file. |
last blk ID |
Last block ID of the file. |
blk ID arr |
ID of the block array. |
last blk offset |
Offset of the last block of the file. |
file size |
Size of the compressed backup file. |
file src size |
Original data size of the backup file. |
status |
Status of the backup file (open or closed). |
is valid |
Whether the backup file is valid. |
backedup write number |
Times that the backup file is written. |
total item number |
Number of items in the backup file. |
log init status |
Whether the incremental backup file has been initialized. |
write num |
Number of incremental backup file changes. |
loop queue byte size |
Size of the circular queue. |
blk arr ID |
Block array ID of the incremental backup file. |
head offset |
Start address of the valid data of the circular queue. |
tail offset |
File tail offset. |
checked offset |
Offset of verified data. |
is log valid |
Whether the incremental backup file is valid. |
low half WN |
Number of changes to the B+ tree that maps to the incremental backup file. |
CpyTailOffset |
Offset of the copied file tail. |
CpyTimeStamp |
Copy time of the incremental backup file. |
validBlkNum |
Block quantity of the incremental backup file. |
readTagOffset |
End of reading the incremental backup file. |
writtenStatus |
Whether the incremental backup file is flushed to disks. |
LogOccupy |
Usage of the incremental backup file. |
lastInitJiffies |
Time stamp of the last incremental backup file initialization I/O. |
inInitLog |
Whether incremental backup file initialization I/Os are being processed. |
hasInitTime |
Times of initializing the incremental backup file. |
logRecoverFlag |
Whether the incremental backup file is recovered. |