[PVE-User] KSM not working?

Dietmar Maurer dietmar at proxmox.com
Wed Dec 30 09:47:54 CET 2009


Sorry, I am confused. /etc/default/ksmtuned is correct

the package installs /etc/defaults/ksmtuned too - but that is wrong - I will fix it today.

Many thanks for debugging.

- Dietmar

From: pve-user-bounces at pve.proxmox.com [mailto:pve-user-bounces at pve.proxmox.com] On Behalf Of Fred Supinski
Sent: Mittwoch, 30. Dezember 2009 09:21
To: pve-user at pve.proxmox.com
Subject: Re: [PVE-User] KSM not working?

The path is hard coded wrong also.

/etc/default/$prog needs to be changed to /etc/defaults/$prog

I think that pretty much covers off the init script.

-Fred

-------- Original Message  --------
Subject: Re: [PVE-User] KSM not working?
From: Dietmar Maurer <dietmar at proxmox.com><mailto:dietmar at proxmox.com>
To: Fred Supinski <fred at vmu.ca><mailto:fred at vmu.ca>, pve-user at pve.proxmox.com<mailto:pve-user at pve.proxmox.com> <pve-user at pve.proxmox.com><mailto:pve-user at pve.proxmox.com>
Date: Wed Dec 30 2009 02:57:54 GMT-0500 (Eastern Standard Time)


The statement should then be nested in the if statement that is loading

that file, shouldn't it?



#Include defaults if available

if [ -f /etc/default/$prog ] ; then

        . /etc/default/$prog

        if [ "$START" != "yes" ]; then

                exit 0

        fi

fi



-Fred





-------- Original Message  --------

Subject: Re: [PVE-User] KSM not working?

From: Dietmar Maurer <dietmar at proxmox.com><mailto:dietmar at proxmox.com>

To: Fred Supinski <fred at vmu.ca><mailto:fred at vmu.ca>, pve-user at pve.proxmox.com<mailto:pve-user at pve.proxmox.com>

<pve-user at pve.proxmox.com><mailto:pve-user at pve.proxmox.com>

Date: Wed Dec 30 2009 02:57:54 GMT-0500 (Eastern Standard Time)





I'm not sure about the if statement though.  Where is this variable being pulled from?





from /etc/defaults/ksmtuned



- Dietmar







_______________________________________________

pve-user mailing list

pve-user at pve.proxmox.com<mailto:pve-user at pve.proxmox.com>

http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20091230/aca1b819/attachment.htm>


More information about the pve-user mailing list