Solaris 11: Verificação de desempenho de I/O no ZFS
O desempenho de I/O em Pools ZFS deve ser verificado com o comando zpool iostat, e não com o iostat do Solaris.
A opção -Td imprime a data e horário da coleta.
A opção -v traz mais informações sobre cada vdev (discos) indidualmente.
O 10 no final do comando irá imprimir o resultado continuamente a cada 10 segundos, parando somente com Control+C.
O oradata é o Pool que quero monitorar. Se quiser monitorar todos, basta não informar um Pool.
ricardo@solaris:~$ zpool iostat -Td -v -l oradata 10
Wednesday, May 9, 2012 02:33:42 PM BRT
capacity operations bandwidth
pool alloc free read write read write
---------- ----- ----- ----- ----- ----- -----
oradata 1.91G 97.6G 4 24 848K 3.33M
c3t4d0 1.91G 97.6G 4 24 848K 3.33M
---------- ----- ----- ----- ----- ----- -----
Wednesday, May 9, 2012 02:33:52 PM BRT
capacity operations bandwidth
pool alloc free read write read write
---------- ----- ----- ----- ----- ----- -----
oradata 1.90G 97.6G 12 18 1.64M 630K
c3t4d0 1.90G 97.6G 12 18 1.64M 630K
---------- ----- ----- ----- ----- ----- -----
Wednesday, May 9, 2012 02:34:02 PM BRT
capacity operations bandwidth
pool alloc free read write read write
---------- ----- ----- ----- ----- ----- -----
oradata 1.90G 97.6G 8 7 3.49M 327K
c3t4d0 1.90G 97.6G 8 7 3.49M 327K
---------- ----- ----- ----- ----- ----- -----
Wednesday, May 9, 2012 02:34:12 PM BRT
capacity operations bandwidth
pool alloc free read write read write
---------- ----- ----- ----- ----- ----- -----
oradata 1.90G 97.6G 0 14 205K 1.36M
c3t4d0 1.90G 97.6G 0 14 205K 1.36M
---------- ----- ----- ----- ----- ----- -----
Wednesday, May 9, 2012 02:34:22 PM BRT
capacity operations bandwidth
pool alloc free read write read write
---------- ----- ----- ----- ----- ----- -----
oradata 1.93G 97.6G 0 14 51.3K 762K
c3t4d0 1.93G 97.6G 0 14 51.3K 762K
---------- ----- ----- ----- ----- ----- -----
Wednesday, May 9, 2012 02:34:32 PM BRT
capacity operations bandwidth
pool alloc free read write read write
---------- ----- ----- ----- ----- ----- -----
oradata 1.93G 97.6G 1 9 154K 604K
c3t4d0 1.93G 97.6G 1 9 154K 604K
---------- ----- ----- ----- ----- ----- -----
^C
ricardo@solaris:~$ zpool iostat -Td -v -l 10
Wednesday, May 9, 2012 02:34:40 PM BRT
capacity operations bandwidth
pool alloc free read write read write
---------- ----- ----- ----- ----- ----- -----
oradata 1.93G 97.6G 4 23 859K 3.17M
c3t4d0 1.93G 97.6G 4 23 859K 3.17M
---------- ----- ----- ----- ----- ----- -----
rpool 34.6G 64.9G 47 29 1.44M 3.25M
c3t0d0s0 34.6G 64.9G 47 29 1.44M 3.25M
---------- ----- ----- ----- ----- ----- -----
test 1.28G 8.66G 0 0 109 760
mirror 1.28G 8.66G 0 0 109 760
c3t3d0 - - 0 0 744 787
c3t2d0 - - 0 0 669 787
---------- ----- ----- ----- ----- ----- -----
Wednesday, May 9, 2012 02:34:50 PM BRT
capacity operations bandwidth
pool alloc free read write read write
---------- ----- ----- ----- ----- ----- -----
oradata 1.95G 97.5G 3 44 500K 508K
c3t4d0 1.95G 97.5G 3 44 500K 508K
---------- ----- ----- ----- ----- ----- -----
rpool 34.8G 64.7G 13 76 2.61M 30.9M
c3t0d0s0 34.8G 64.7G 13 76 2.61M 30.9M
---------- ----- ----- ----- ----- ----- -----
test 1.28G 8.66G 0 0 0 0
mirror 1.28G 8.66G 0 0 0 0
c3t3d0 - - 0 0 0 0
c3t2d0 - - 0 0 0 0
---------- ----- ----- ----- ----- ----- -----
Wednesday, May 9, 2012 02:35:00 PM BRT
capacity operations bandwidth
pool alloc free read write read write
---------- ----- ----- ----- ----- ----- -----
oradata 1.95G 97.5G 36 30 8.28M 8.33M
c3t4d0 1.95G 97.5G 36 30 8.28M 8.33M
---------- ----- ----- ----- ----- ----- -----
rpool 34.8G 64.7G 10 0 1.25M 0
c3t0d0s0 34.8G 64.7G 10 0 1.25M 0
---------- ----- ----- ----- ----- ----- -----
test 1.28G 8.66G 0 0 0 0
mirror 1.28G 8.66G 0 0 0 0
c3t3d0 - - 0 0 0 0
c3t2d0 - - 0 0 0 0
---------- ----- ----- ----- ----- ----- -----
^C
ricardo@solaris:~$