<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2657.88">
<TITLE>RE: [hobbit] hobbitclient, disk and AIX</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>How is a mount of a CD-ROM/DVD drive handled? You may want to exclude those entries too - unless you have don't care about those pesky 100% always full reports on /dev/cdrom mounted to whatever...</FONT></P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Andy France [<A HREF="mailto:Andy@zespri.com">mailto:Andy@zespri.com</A>]</FONT>
<BR><FONT SIZE=2>Sent: Thursday, November 10, 2005 3:39 AM</FONT>
<BR><FONT SIZE=2>To: hobbit@hswn.dk</FONT>
<BR><FONT SIZE=2>Subject: Fw: [hobbit] hobbitclient, disk and AIX</FONT>
</P>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>

<P><FONT SIZE=2>Just a follow up on my own thread...</FONT>
</P>

<P><FONT SIZE=2>Andy France wrote on 10/11/2005 05:25:27 p.m.:</FONT>
</P>

<P><FONT SIZE=2>> I'm working my way through a small rollout of hobbitclient on some AIX</FONT>
<BR><FONT SIZE=2>5.3</FONT>
<BR><FONT SIZE=2>> boxen to replace the BB client.</FONT>
</P>

<P><FONT SIZE=2>> At present, I am having some issues with disk alerts, especially for NFS</FONT>
<BR><FONT SIZE=2>> mounted drives.</FONT>
</P>

<P><FONT SIZE=2>> As Henrik probably noticed, AIX is nice enough to *not* include the</FONT>
<BR><FONT SIZE=2>option</FONT>
<BR><FONT SIZE=2>> for specifying file system types in it's df command.  Well... it does in</FONT>
<BR><FONT SIZE=2>> the sysv version but that won't let you get the results in kb :-)  So if</FONT>
<BR><FONT SIZE=2>I</FONT>
<BR><FONT SIZE=2>> get a full disk on the NFS server, all the NFS clients let me know about</FONT>
<BR><FONT SIZE=2>it</FONT>
<BR><FONT SIZE=2>> too!</FONT>
</P>

<P><FONT SIZE=2>I've had a look at how BB resolves this issue.  They grep the df output for</FONT>
<BR><FONT SIZE=2>lines that begin with /dev.</FONT>
</P>

<P><FONT SIZE=2>This will work fine for me as all my LV's (logical volumes), whether</FONT>
<BR><FONT SIZE=2>locally attached SCSI disks or fibre attached FAStT SAN disks, follow this</FONT>
<BR><FONT SIZE=2>convention... which is kind of obvious seeing as i never noticed any</FONT>
<BR><FONT SIZE=2>problems with the BB client! ;-)</FONT>
</P>

<P><FONT SIZE=2>Can anyone else confirm that all AIX systems will follow this</FONT>
<BR><FONT SIZE=2>convention?  I'm relatively new to AIX and only run 5.2 and 5.3.  I</FONT>
<BR><FONT SIZE=2>therefore feel I'm not qualified to categorically state that all local</FONT>
<BR><FONT SIZE=2>filesystems will be created on logical volumes.  Does AIX actually enfore</FONT>
<BR><FONT SIZE=2>the use of LVM?</FONT>
</P>

<P><FONT SIZE=2>At this point, I've made the following change to my copies of</FONT>
<BR><FONT SIZE=2>hobbitclient-aix.sh</FONT>
</P>

<P><FONT SIZE=2>df -Ik | sed ...</FONT>
<BR><FONT SIZE=2>  *becomes*</FONT>
<BR><FONT SIZE=2>df -Ik | grep '^/dev' | sed...</FONT>
</P>

<P><FONT SIZE=2>Would anyone have objections to getting the source updated to match by</FONT>
<BR><FONT SIZE=2>Henrik?</FONT>
</P>

<P><FONT SIZE=2>> Would it be possible to use a DEFAULT regex to exclude any lines with a :</FONT>
<BR><FONT SIZE=2>> in them?  Something like...</FONT>
</P>

<P><FONT SIZE=2>> DISK  %*:.* 101 102</FONT>
</P>

<P><FONT SIZE=2>> Although my perl regex experience is a bit light... so any clarification</FONT>
<BR><FONT SIZE=2>> would be appreciated!</FONT>
</P>

<P><FONT SIZE=2>This would obviously become a bit redundant :-)</FONT>
</P>

<P><FONT SIZE=2>> Also - can you have multiple DISK lines undet the DEFAULT tag?  The man</FONT>
<BR><FONT SIZE=2>> page doesn't say much either way, although I've got it working fine on</FONT>
<BR><FONT SIZE=2>one</FONT>
<BR><FONT SIZE=2>> host entry for the PROC status</FONT>
</P>

<P><FONT SIZE=2>> Regards,</FONT>
</P>

<P><FONT SIZE=2>Andy.</FONT>
</P>

<P><FONT SIZE=2>#####################################################################################</FONT>
</P>

<P><FONT SIZE=2>This email is intended for the person to whom it is addressed</FONT>
<BR><FONT SIZE=2>only. If you are not the intended recipient, do not read, copy</FONT>
<BR><FONT SIZE=2>or use the contents in any way. The opinions expressed may not</FONT>
<BR><FONT SIZE=2>necessarily reflect those of ZESPRI Group of Companies ('ZESPRI').</FONT>
</P>

<P><FONT SIZE=2>While every effort has been made to verify the information</FONT>
<BR><FONT SIZE=2>contained herein, ZESPRI does not make any representations </FONT>
<BR><FONT SIZE=2>as to the accuracy of the information or to the performance</FONT>
<BR><FONT SIZE=2>of any data, information or the products mentioned herein.</FONT>
<BR><FONT SIZE=2>ZESPRI will not accept liability for any losses, damage or</FONT>
<BR><FONT SIZE=2>consequence, however, resulting directly or indirectly from</FONT>
<BR><FONT SIZE=2>the use of this e-mail/attachments.</FONT>
<BR><FONT SIZE=2>#####################################################################################</FONT>
</P>

<P><FONT SIZE=2>To unsubscribe from the hobbit list, send an e-mail to</FONT>
<BR><FONT SIZE=2>hobbit-unsubscribe@hswn.dk</FONT>
</P>

</BODY>
</HTML>