<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" 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 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

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

<div class=Section1>

<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'>First time poster so cut me a little
slack.  <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'>Maybe I'm just dumb but I can't figure
this out. I'm root and do a df then try to check the 3 mounts to see what space
is avaliale. I want /, /boot, and /var/lib/mysql. Background - drbd is
basically netowork raid1. I'm trying this on the primary as the secondary
doesn't get mounted till the first goes down. <br>
<br>
<em><i><font face=Arial><span style='font-family:Arial'>[root@mysql-1b ~]# df</span></font></i></em><i><span
style='font-style:italic'><br>
<em><i><font face=Arial><span style='font-family:Arial'>Filesystem 1K-blocks
Used Available Use% Mounted on</span></font></i></em><br>
<em><i><font face=Arial><span style='font-family:Arial'>/dev/cciss/c0d0p3
10317860 2405388 7388352 25% </span></font></i></em><strong><b><font
face=Arial><span style='font-family:Arial;font-weight:normal'>/ </span></font></b></strong></span></i><strong><b><font
face=Arial><span style='font-family:Arial'><-slash</span></font></b></strong><i><span
style='font-style:italic'><br>
<em><i><font face=Arial><span style='font-family:Arial'>/dev/cciss/c0d0p1
101086 20181 75686 22%</span></font></i></em><strong><b><font face=Arial><span
style='font-family:Arial'> /boot</span></font></b></strong><br>
<em><i><font face=Arial><span style='font-family:Arial'>/dev/drbd0 92368656
19834760 67841840 23% /</span></font></i></em><strong><b><font face=Arial><span
style='font-family:Arial'>var/lib/mysql</span></font></b></strong></span></i><br>
<br>
So you would think the command would be -<br>
<em><i><font face=Arial><span style='font-family:Arial'>[root@mysql-1b ~]#
/usr/lib64/nagios/plugins/check_disk -w 15% -c 10% -p /dev/cciss/c0d0p1
/dev/cciss/c0d0p3 -p /dev/drbd0</span></font></i></em><br>
Results<br>
DISK OK - free space: /boot 73 MB (78% inode=99%); / 7215 MB (75% inode=92%);|
/boot=19MB;83;88;0;98 /=2349MB;83;88;0;10076<br>
<br>
So lets try with the actaull path.<br>
[<em><i><font face=Arial><span style='font-family:Arial'>root@mysql-1b ~]#
/usr/lib64/nagios/plugins/check_disk -w 15% -c 10% -p /dev/cciss/c0d0p1
/dev/cciss/c0d0p3 -p /dev/cciss/c0d0p2</span></font></i></em><br>
Results<br>
DISK OK - free space: /boot 73 MB (78% inode=99%); / 7215 MB (75% inode=92%);|
/boot=19MB;83;88;0;98 /=2349MB;83;88;0;10076<br>
<br>
In both cases I don't get the drbd mount. Any thoughts?</span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thank you,<o:p></o:p></span></font></p>

<p class=MsoNormal><st1:PersonName w:st="on"><font size=2 face=Arial><span
 style='font-size:10.0pt;font-family:Arial'>Justin Maloney</span></font></st1:PersonName><font
size=2><span style='font-size:10.0pt'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Systems Administrator</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Honeycomb Internet Services</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

</body>

</html>