Monitoring LROC status using mmdiag command
You can use the mmdiag commands to monitor LROC component and I/O history.
The following mmdiag commands can be used to monitor LROC component and I/O history in the cluster.
Use the following command to display LROC
statistics.
# mmdiag --lroc
LROC Device(s): '090BD5CD603456D2#/dev/nvme1n1;090BD5CD60354659#/dev/nvme0n1;' status Running
Cache inodes 1 dirs 1 data 1 Config: maxFile -1 stubFile -1
Max capacity: 3051313 MB, currently in use: 3559 MB
Statistics starting from: Tue Feb 23 11:42:32 2021
Inode objects stored 312454 (1220 MB) recalled 157366 (614 MB) = 50.36 %
Inode objects queried 0 (0 MB) = 0.00 % invalidated 157460 (615 MB)
Inode objects failed to store 6 failed to recall 0 failed to query 0 failed to inval 0
Directory objects stored 84 (2 MB) recalled 979 (226 MB) = 1165.48 %
Directory objects queried 0 (0 MB) = 0.00 % invalidated 80 (6 MB)
Directory objects failed to store 0 failed to recall 0 failed to query 0 failed to inval 0 inval no recall 0
Data objects stored 57412 (188807 MB) recalled 10150641 (40597918 MB) = 17680.35 %
Data objects queried 1 (0 MB) = 100.00 % invalidated 57612 (228070 MB)
Data objects failed to store 30 failed to recall 407 failed to query 0 failed to inval 0 inval no recall 54307
agent inserts=1074934, reads=162501285
response times (usec):
insert min/max/avg=3/8030/121
read min/max/avg=1/66717/2919
ssd writeIOs=380060, writePages=48671744
readIOs=10345039194, readPages=10124700092
response times (usec):
write min/max/avg=192/11985/233
read min/max/avg=13/49152/225
Use the following command to monitor I/O history of LROC
component.
# mmdiag --iohist
=== mmdiag: iohist ===
I/O history:
I/O start time RW Buf type disk:sectorNum nSec time ms Type Device/NSD ID NSD node
--------------- -- ----------- ----------------- ----- ------- ---- ------------------ ---------------
10:24:37.612888 LR data -1:307454520 8192 2163.291 lrc Maj/Min 000000000
10:24:36.392477 LR data -1:307430856 8192 3543.937 lrc Maj/Min 000000000
10:24:36.283254 LR data -1:307429464 8192 3758.281 lrc Maj/Min 000000000
10:24:36.288204 LR data -1:307430160 8192 3912.547 lrc Maj/Min 000000000
10:24:36.407451 LR data -1:307433640 8192 3805.185 lrc Maj/Min 000000000
10:24:36.398778 LR data -1:307431552 8192 3841.871 lrc Maj/Min 000000000
10:24:36.401041 LR data -1:307432248 8192 3842.304 lrc Maj/Min 000000000
10:24:36.404512 LR data -1:307432944 8192 4045.038 lrc Maj/Min 000000000
For more information, see mmdiag command.