iostat -xen 1 will provide the same device names as the rest of the system
(as well as show error columns).

zpool status will show you which drive is in which pool.

As for the controllers, cfgadm -al groups them nicely.

t

On 23 May 2010 03:50, Brian <broco...@vt.edu> wrote:

> I am new to OSOL/ZFS but have just finished building my first system.
>
> I detailed the system setup here:
> http://opensolaris.org/jive/thread.jspa?threadID=128986&tstart=15
>
> I ended up having to add an additional controller card as two ports on the
> motherboard did not work as standard Sata port.  Luckily I was able to
> salvage an LSI SAS card from an old system.
>
> Things seem to be working OK for the most part.. But I am trying to dig a
> bit deeper into the performance.  I have done some searching and it seems
> that the iostat -x can help you better understand your performance.
>
> I have 8 drives in the system.  2 are in a mirrored boot pool and the other
> 6 are in a single raidz2 pool.  All 6 are the same.  Samsung 1TB Spinpoints.
>
> Here is what my output looks like from "iostat -x 30" during a scrub of the
> raidz2 pool:
>
> device    r/s    w/s   kr/s   kw/s wait actv  svc_t  %w  %b
> cmdk0   299.7    1.5 37080.9    1.6  7.7  2.0   32.3  98  99
> cmdk1   300.2    1.3 37083.0    1.5  7.7  2.0   32.2  98  99
> cmdk2  1018.6    1.6 37141.3    1.7  0.5  0.7    1.2  22  43
> cmdk3     0.0    1.8    0.0    5.2  0.0  0.0   33.7   1   2
> cmdk4  1045.6    2.1 37124.3    1.4  0.7  0.7    1.3  21  41
> sd6       0.0    1.8    0.0    5.2  0.0  0.0   25.1   0   1
> sd7    1033.4    2.5 37128.5    1.8  0.0  1.0    1.0   3  38
> sd8    1044.5    2.5 37129.4    1.8  0.0  0.9    0.9   3  36
>                 extended device statistics
> device    r/s    w/s   kr/s   kw/s wait actv  svc_t  %w  %b
> cmdk0   301.9    1.3 37339.0    1.7  7.8  2.0   32.1  99  99
> cmdk1   302.1    1.4 37341.0    1.8  7.7  2.0   32.0  99  99
> cmdk2  1048.1    1.5 37400.4    1.6  0.5  0.7    1.1  20  42
> cmdk3     0.0    1.5    0.0    5.1  0.0  0.0   36.5   1   2
> cmdk4  1054.4    1.6 37363.1    1.5  0.7  0.6    1.2  20  40
> sd6       0.0    1.5    0.0    5.1  0.0  0.0   30.4   0   1
> sd7    1044.4    2.1 37404.2    1.7  0.0  0.9    0.9   3  38
> sd8    1050.5    2.1 37382.8    1.9  0.0  0.9    0.9   3  36
>                 extended device statistics
> device    r/s    w/s   kr/s   kw/s wait actv  svc_t  %w  %b
> cmdk0   296.3    1.5 36195.4    1.7  7.8  2.0   32.7  99  99
> cmdk1   295.2    1.5 36230.1    1.8  7.7  2.0   32.5  98  98
> cmdk2   987.5    2.0 36171.5    1.7  0.6  0.7    1.3  22  43
> cmdk3     0.0    1.5    0.0    5.1  0.0  0.0   37.7   1   2
> cmdk4  1018.3    2.0 36160.8    1.6  0.7  0.6    1.4  21  41
> sd6       0.0    1.5    0.0    5.1  0.0  0.1   40.3   0   2
> sd7    1005.3    2.6 36300.6    1.8  0.0  1.1    1.1   3  39
> sd8    1016.0    2.5 36260.1    2.0  0.0  1.0    1.0   3  36
>
>
> I think cmdk3 and sd6 are in my rpool.  I tried to split the pools across
> the controllers for better performance.
>
> It seems to me that cmdk0 and cmdk1 are much slower than the others..  But
> I am not sure why or what to check next...  In fact I am not even sure how I
> can trace back that device name to figure out which controller it is
> connected to.
>
> Any ideas or next steps would be appreciated.
>
> Thanks.
> --
> This message posted from opensolaris.org
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to