Carsten Aulbert
2010-Apr-22 14:30 UTC
[zfs-discuss] Find out which of many FS from a zpool is busy?
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
Darren J Moffat
2010-Apr-22 14:33 UTC
[zfs-discuss] Find out which of many FS from a zpool is busy?
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
Peter Tribble
2010-Apr-22 14:33 UTC
[zfs-discuss] Find out which of many FS from a zpool is busy?
On Thu, Apr 22, 2010 at 3:30 PM, Carsten Aulbert <carsten.aulbert at 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/
Carsten Aulbert
2010-Apr-22 14:44 UTC
[zfs-discuss] Find out which of many FS from a zpool is busy?
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