<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:D="DAV:" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.gmailquote
        {mso-style-name:gmail_quote;}
span.e
        {mso-style-name:e;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>it's similar…under solaris, grace is 'timeleft' and there's no
summation but the core appears to be the similar enough on minor checks would
need to be made.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>=G=<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Josh Luthman
[mailto:josh@imaginenetworksllc.com] <br>
<b>Sent:</b> Wednesday, January 16, 2008 1:14 PM<br>
<b>To:</b> hobbit@hswn.dk<br>
<b>Subject:</b> Re: [hobbit] Monitoring linux quotas<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'>Galen,<br>
<br>
Does your output look like this?<br>
<br>
-> repquota -av<br>
*** Report for user quotas on device /dev/md0<br>
Block grace time: 7days; Inode grace time: 7days<br>
                       
Block
limits               
File limits <br>
User           
used    soft    hard 
grace    used  soft  hard  grace<br>
----------------------------------------------------------------------<br>
root      --
1453828      
0      
0         
43803     0     0<br>
daemon    --     
20       0      
0             
3     0     0 <br>
<snip><br>
jluthman  --    
284       0      
0            
44     0     0<br>
testuser   +- 1287896 1048576       0 
6days       6    
0     0<br>
<br>
Statistics:<br>
Total blocks: 7<br>
Data blocks: 1<br>
Entries: 16 <br>
Used average: 16.000000<br>
<br>
Josh<br>
<br>
<o:p></o:p></p>

<div>

<p class=MsoNormal><span class=gmailquote>On 1/16/08, <b>Galen Johnson</b> <<a
href="mailto:Galen.Johnson@sas.com">Galen.Johnson@sas.com</a>> wrote:</span>
<o:p></o:p></p>

<div>

<div>

<p><span style='font-size:11.0pt;color:#1F497D'>Yep…solaris and OSX use the
same commands for local filesystem quotas.  There's a wrapper script for
'repquota -av' that needs to be tweaked to work correctly that we may be able
to modify…I need to do this for another environment so I may get to it this
weekend or next week.</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>For your info, NetApp is
basically a standalone nfs server (of cifs if you want to add windows mounts as
well).</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>=G=</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>

<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;
border-color:-moz-use-text-color -moz-use-text-color'>

<p><b><span style='font-size:10.0pt'>From:</span></b><span style='font-size:
10.0pt'> Josh Luthman [mailto:<a href="mailto:josh@imaginenetworksllc.com"
target="_blank">josh@imaginenetworksllc.com</a>] <br>
<b>Sent:</b> Wednesday, January 16, 2008 12:04 PM<o:p></o:p></span></p>

<div>

<p class=MsoNormal><span style='font-size:10.0pt'><br>
<span class=e><b>To:</b> <a href="mailto:hobbit@hswn.dk" target="_blank">hobbit@hswn.dk</a></span><br>
<span class=e><b>Subject:</b> Re: [hobbit] Monitoring linux quotas</span><o:p></o:p></span></p>

</div>

</div>

<div>

<p> <o:p></o:p></p>

<p style='margin-bottom:12.0pt'>I am using "linux quotas" on Centos
5.1 (a RHEL derivative).<br>
<br>
I've never heard of NetApp.  The command I'm using to check the quotas are
edquota and repquota.  I had to stick in the quota options in /etc/fstab
too.  Does this help confirm I'm using the right quotas? <br>
<br>
Here is what the RPM says:<br>
<br>
Name   : quota<br>
Arch   : i386<br>
Epoch  : 1<br>
Version: 3.13<br>
Release: 1.2.3.2.el5<br>
Size   : 783 k<br>
Repo   : installed<br>
Summary: System administration tools for monitoring users' disk usage. <br>
<br>
Description:<br>
The quota package contains system administration tools for monitoring<br>
and limiting user and or group disk usage per filesystem.<o:p></o:p></p>

<div>

<p>On 1/16/08, <b>Galen Johnson</b> <<a href="mailto:Galen.Johnson@sas.com"
target="_blank">Galen.Johnson@sas.com</a>> wrote:<o:p></o:p></p>

<div>

<div>

<p><span style='font-size:11.0pt;color:#1F497D'>There's actually a better
netapp monitoring tool for Hobbit (which I think works for BB as well). 
I've found several snippets of various commands and perl scripts that could
probably be cobbled together into a decent monitor.</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>=G=</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>

<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;
border-color:-moz-use-text-color'>

<p><b><span style='font-size:10.0pt'>From:</span></b><span style='font-size:
10.0pt'> Ralph Mitchell [mailto:<a href="mailto:ralphmitchell@gmail.com"
target="_blank"> ralphmitchell@gmail.com</a>] <br>
<b>Sent:</b> Wednesday, January 16, 2008 10:56 AM<br>
<b>To:</b> <a href="mailto:hobbit@hswn.dk" target="_blank">hobbit@hswn.dk</a><br>
<b>Subject:</b> Re: [hobbit] Monitoring linux quotas</span><o:p></o:p></p>

</div>

<p> <o:p></o:p></p>

<div>

<p>On Jan 16, 2008 9:31 AM, Galen Johnson <<a
href="mailto:Galen.Johnson@sas.com" target="_blank">Galen.Johnson@sas.com</a>>
wrote:<o:p></o:p></p>

<div>

<blockquote style='border:none;border-left:solid windowtext 1.0pt;padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt;
border-color:-moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(204, 204, 204)'>

<div>

<div>

<p><span style='font-size:11.0pt;color:#1F497D'>Unfortunatley, you didn't…I do
recall seeing one but now I don't recall where.</span><o:p></o:p></p>

</div>

</div>

</blockquote>

<div>

<p><br>
You may be thinking of this:<br>
<br>
     <a
href="http://support.bb4.com/archive/200009/msg00877.html" target="_blank">http://support.bb4.com/archive/200009/msg00877.html
</a><br>
<br>
which uses rsh to get disk usage/quota from NetApp fileservers.<br>
<br>
Dunno if that helps, but it might give you a place to start.  How does the
system tell you the users are exceeding their quotas??<br>
<br>
Ralph Mitchell <o:p></o:p></p>

</div>

</div>

</div>

</div>

</div>

</div>

<p><br>
<br clear=all>
<br>
-- <br>
Josh Luthman<br>
Office: 937-552-2340<br>
Direct: 937-552-2343<br>
1100 Wayne St<br>
Suite 1337<br>
Troy, OH 45373<br>
<br>
Those who don't understand UNIX are condemned to reinvent it, poorly. <br>
--- Henry Spencer <o:p></o:p></p>

</div>

</div>

</div>

</div>

<p class=MsoNormal><br>
<br clear=all>
<br>
-- <br>
Josh Luthman<br>
Office: 937-552-2340<br>
Direct: 937-552-2343<br>
1100 Wayne St<br>
Suite 1337<br>
Troy, OH 45373<br>
<br>
Those who don't understand UNIX are condemned to reinvent it, poorly. <br>
--- Henry Spencer <o:p></o:p></p>

</div>

</body>

</html>