[zfs-discuss] Find out which of many FS from a zpool is busy?

2010-04-22 Thread Carsten Aulbert
Hi all,

sorry if this is in any FAQ - then I've clearly missed it.

Is there an easy or at least straight forward way to determine which of n ZFS 
is currently under heavy NFS load?

Once upon a time, when one had old style file systems and exported these as a 
whole iostat -x came in handy, however, with zpools, this is not the case 
anymore, right?

Imagine

zpool create tank . (many devices here)
zfs set sharenfs=on tank
zfs create tank/a
zfs create tank/b
zfs create tank/c
[...]
zfs create tank/z

Now, you have these lovely number of ZFS but how to find out which user is 
currently (ab)using the system most?

Cheers
Carsten
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Find out which of many FS from a zpool is busy?

2010-04-22 Thread Peter Tribble
On Thu, Apr 22, 2010 at 3:30 PM, Carsten Aulbert
carsten.aulb...@aei.mpg.de wrote:
 Hi all,

 sorry if this is in any FAQ - then I've clearly missed it.

 Is there an easy or at least straight forward way to determine which of n ZFS
 is currently under heavy NFS load?

 Once upon a time, when one had old style file systems and exported these as a
 whole iostat -x came in handy, however, with zpools, this is not the case
 anymore, right?

fsstat?

Typically along the lines of

fsstat /tank/* 1

-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Find out which of many FS from a zpool is busy?

2010-04-22 Thread Darren J Moffat

On 22/04/2010 15:30, Carsten Aulbert wrote:

sorry if this is in any FAQ - then I've clearly missed it.

Is there an easy or at least straight forward way to determine which of n ZFS
is currently under heavy NFS load?


DTrace Analytics in the SS7000 appliance would be perfect for this.


Once upon a time, when one had old style file systems and exported these as a
whole iostat -x came in handy, however, with zpools, this is not the case
anymore, right?




Now, you have these lovely number of ZFS but how to find out which user is
currently (ab)using the system most?


fstat might help but ultimately the question you are asking is one that 
the DTrace Analytics in the SS7000 appliance are perfect for.


--
Darren J Moffat
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Find out which of many FS from a zpool is busy?

2010-04-22 Thread Carsten Aulbert
Hi

On Thursday 22 April 2010 16:33:51 Peter Tribble wrote:
 fsstat?
 
 Typically along the lines of
 
 fsstat /tank/* 1
 

Sh**, I knew about fsstat but never ever even tried to run it on many file 
systems at once. D'oh.

*sigh* well, at least a good one for the archives...

Thanks a lot!

Carsten
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss