<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:m="http://schemas.microsoft.com/office/2004/12/omml" 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:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@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;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
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 bgcolor=white lang=DE-AT link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Sorry, I am confused. /etc/default/ksmtuned is correct<o:p></o:p></span></p>

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

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>the package installs /etc/defaults/ksmtuned too – but that
is wrong – I will fix it today.<o:p></o:p></span></p>

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

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Many thanks for debugging.<o:p></o:p></span></p>

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

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

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

<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>

<div>

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

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'>From:</span></b><span lang=EN-US
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>
pve-user-bounces@pve.proxmox.com [mailto:pve-user-bounces@pve.proxmox.com] <b>On
Behalf Of </b>Fred Supinski<br>
<b>Sent:</b> Mittwoch, 30. Dezember 2009 09:21<br>
<b>To:</b> pve-user@pve.proxmox.com<br>
<b>Subject:</b> Re: [PVE-User] KSM not working?<o:p></o:p></span></p>

</div>

</div>

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

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>The
path is hard coded wrong also.<br>
<br>
/etc/default/$prog needs to be changed to /etc/defaults/$prog<br>
<br>
I think that pretty much covers off the init script.<br>
<br>
-Fred<br>
</span><br>
-------- Original Message  --------<br>
Subject: Re: [PVE-User] KSM not working?<br>
From: Dietmar Maurer <a href="mailto:dietmar@proxmox.com"><dietmar@proxmox.com></a><br>
To: Fred Supinski <a href="mailto:fred@vmu.ca"><fred@vmu.ca></a>, <a
href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a> <a
href="mailto:pve-user@pve.proxmox.com"><pve-user@pve.proxmox.com></a><br>
Date: Wed Dec 30 2009 02:57:54 GMT-0500 (Eastern Standard Time)<br>
<br>
<o:p></o:p></p>

<pre>The statement should then be nested in the if statement that is loading<o:p></o:p></pre><pre>that file, shouldn't it?<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>#Include defaults if available<o:p></o:p></pre><pre>if [ -f /etc/default/$prog ] ; then<o:p></o:p></pre><pre>        . /etc/default/$prog<o:p></o:p></pre><pre>        if [ "$START" != "yes" ]; then<o:p></o:p></pre><pre>                exit 0<o:p></o:p></pre><pre>        fi<o:p></o:p></pre><pre>fi<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>-Fred<o:p></o:p></pre><pre><o:p> </o:p></pre><pre><o:p> </o:p></pre><pre>-------- Original Message  --------<o:p></o:p></pre><pre>Subject: Re: [PVE-User] KSM not working?<o:p></o:p></pre><pre>From: Dietmar Maurer <a
href="mailto:dietmar@proxmox.com"><dietmar@proxmox.com></a><o:p></o:p></pre><pre>To: Fred Supinski <a
href="mailto:fred@vmu.ca"><fred@vmu.ca></a>, <a
href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a><o:p></o:p></pre><pre><a
href="mailto:pve-user@pve.proxmox.com"><pve-user@pve.proxmox.com></a><o:p></o:p></pre><pre>Date: Wed Dec 30 2009 02:57:54 GMT-0500 (Eastern Standard Time)<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>I'm not sure about the if statement though.  Where is this variable being pulled from?<o:p></o:p></pre><pre>      <o:p></o:p></pre></blockquote>

<pre><o:p> </o:p></pre><pre>from /etc/defaults/ksmtuned<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>- Dietmar<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre><o:p> </o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>pve-user mailing list<o:p></o:p></pre><pre><a
href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a><o:p></o:p></pre><pre><a
href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user</a><o:p></o:p></pre><pre>  <o:p></o:p></pre>

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

</div>

</div>

</body>

</html>