[Bug 1131713] Re: DiskMonitor not working

2013-09-13 Thread Alain Miltenburg
In the mean time I migrated to Ubuntu Server 13.04. DiskMonitor is doing
its job now and since I am the only affected I will mark this bug as
invalid.

** Changed in: powernap (Ubuntu)
   Status: Triaged = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to powernap in Ubuntu.
https://bugs.launchpad.net/bugs/1131713

Title:
  DiskMonitor not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/powernap/+bug/1131713/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1131713] Re: DiskMonitor not working

2013-03-01 Thread Alain Miltenburg
Hi Andres,

I tested the algorithm from your link. Running the script under my user account 
results in the status message Disk is active whether or not the drive is 
spinning.
However, the script is working correctly when run as root. This is off coarse 
because hdparm needs to be invoked as root.

I will post you a log file as requested.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to powernap in Ubuntu.
https://bugs.launchpad.net/bugs/1131713

Title:
  DiskMonitor not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/powernap/+bug/1131713/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1131713] Re: DiskMonitor not working

2013-03-01 Thread Alain Miltenburg
And here a link to the requested log file. Verbosity was set to 3.

http://paste.ubuntu.com/5577621/

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to powernap in Ubuntu.
https://bugs.launchpad.net/bugs/1131713

Title:
  DiskMonitor not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/powernap/+bug/1131713/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1131713] Re: DiskMonitor not working

2013-02-28 Thread Alain Miltenburg
Note for the supplied /etc/powernap/config file:

Line init = ^/sbin/init under [Process Monitor] should be  commented out.
Line threshold = 0under [LoadMonitor] should be changed to threshold = n.

I changed both parameters to prevent PowerNap to take any action for the
time being.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to powernap in Ubuntu.
https://bugs.launchpad.net/bugs/1131713

Title:
  DiskMonitor not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/powernap/+bug/1131713/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1131713] Re: DiskMonitor not working

2013-02-28 Thread Alain Miltenburg
** Description changed:

  I am unable to get the DiskMonitor to work on my server. Powernap still
  wants to suspend when the disks are spinning.
  
  Steps to reproduce:
  1. sudo apt-get -y install powernap
  2. sudo hdparm -S 60 /dev/sda (Sets spindown to 5 minutes for drive sda)
- 3. After 10 minutes: sudo hdparm -C /dev/sda Check if spindown is working
+ 3. After 5 minutes: sudo hdparm -C /dev/sda Check if spindown is working
  2. sudo hdparm -S 251 /dev/sda (Sets spindown to 5,5 hours)
  4. sudo apt-get install -y powernap
  5. add this to the [DiskMonitor] section of /etc/powernap/config: sda = y
  6. sudo service powernap restart
  
  Expected behaviour:
  Powernap should not take any powersaving actions while the configured 
harddrive keeps spinning.
  
  Encountered behaviour:
  Powernap takes powersaving actions while the harddrive is still spinning.
  
  ---
  ApportVersion: 2.0.1-0ubuntu17.1
  Architecture: amd64
  DistroRelease: Ubuntu 12.04
  InstallationMedia: Ubuntu-Server 12.04 LTS Precise Pangolin - Release amd64 
(20120424.1)
  MarkForUpload: True
  Package: powernap 2.17-0ubuntu2
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=nl_NL.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 3.2.0-38.61-generic 3.2.37
  Tags:  precise
  Uname: Linux 3.2.0-38-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  modified.conffile..etc.powernap.action: [modified]
  mtime.conffile..etc.powernap.action: 2013-02-22T12:13:28.452595
  mtime.conffile..etc.powernap.config: 2013-02-22T13:10:37.516469

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to powernap in Ubuntu.
https://bugs.launchpad.net/bugs/1131713

Title:
  DiskMonitor not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/powernap/+bug/1131713/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1131713] Re: DiskMonitor not working

2013-02-28 Thread Andres Rodriguez
** Changed in: powernap (Ubuntu)
 Assignee: (unassigned) = Andres Rodriguez (andreserl)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to powernap in Ubuntu.
https://bugs.launchpad.net/bugs/1131713

Title:
  DiskMonitor not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/powernap/+bug/1131713/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1131713] Re: DiskMonitor not working

2013-02-28 Thread Andres Rodriguez
Hi Alain,

Would you mind trying the algorithm that detects whether the disks are
active/inactive?

I have put it here: http://pastebin.ubuntu.com/5574954/

So you should only need to run it for the desired disk drive. Please let
me know the output of it. If this detects that the disks are
active/inactive correctly, then it is something else which prevents
powernap from doing what's supposed to.

Cheers.

** Changed in: powernap (Ubuntu)
   Status: New = Triaged

** Changed in: powernap (Ubuntu)
   Importance: Undecided = Medium

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to powernap in Ubuntu.
https://bugs.launchpad.net/bugs/1131713

Title:
  DiskMonitor not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/powernap/+bug/1131713/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1131713] Re: DiskMonitor not working

2013-02-28 Thread Andres Rodriguez
Oh and could you please increase the debug level in the config
/etc/powernap/config and restart the daemon and pastebin whatever is
output to /var/log/powernap.log please?

Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to powernap in Ubuntu.
https://bugs.launchpad.net/bugs/1131713

Title:
  DiskMonitor not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/powernap/+bug/1131713/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1131713] Re: DiskMonitor not working

2013-02-26 Thread Alain Miltenburg
apport information

** Tags added: apport-collected precise

** Description changed:

  I am unable to get the DiskMonitor working on my server. Powernap still
  wants to suspend when the disks are spinning.
  
  I have added the options below to the [DiskMonitor] section of 
/etc/powernap/config and restarted the service.
  sda = y
  sdb = y
  sdd = y
+ --- 
+ ApportVersion: 2.0.1-0ubuntu17.1
+ Architecture: amd64
+ DistroRelease: Ubuntu 12.04
+ InstallationMedia: Ubuntu-Server 12.04 LTS Precise Pangolin - Release amd64 
(20120424.1)
+ MarkForUpload: True
+ Package: powernap 2.17-0ubuntu2
+ PackageArchitecture: all
+ ProcEnviron:
+  TERM=xterm
+  PATH=(custom, no user)
+  LANG=nl_NL.UTF-8
+  SHELL=/bin/bash
+ ProcVersionSignature: Ubuntu 3.2.0-38.61-generic 3.2.37
+ Tags:  precise
+ Uname: Linux 3.2.0-38-generic x86_64
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
+ modified.conffile..etc.powernap.action: [modified]
+ mtime.conffile..etc.powernap.action: 2013-02-22T12:13:28.452595
+ mtime.conffile..etc.powernap.config: 2013-02-22T13:10:37.516469

** Attachment added: Dependencies.txt
   
https://bugs.launchpad.net/bugs/1131713/+attachment/3547518/+files/Dependencies.txt

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to powernap in Ubuntu.
https://bugs.launchpad.net/bugs/1131713

Title:
  DiskMonitor not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/powernap/+bug/1131713/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1131713] Re: DiskMonitor not working

2013-02-26 Thread Alain Miltenburg
** Description changed:

  I am unable to get the DiskMonitor working on my server. Powernap still
  wants to suspend when the disks are spinning.
  
- I have added the options below to the [DiskMonitor] section of 
/etc/powernap/config and restarted the service.
- sda = y
- sdb = y
- sdd = y
- --- 
+ Steps to reproduce:
+ 1. sudo apt-get -y install powernap
+ 2. sudo hdparm -S 60 /dev/sda (Sets spindown to 5 minutes for drive sda)
+ 3. After 10 minutes: sudo hdparm -C /dev/sda Check if spindown is working
+ 2. sudo hdparm -S 251 /dev/sda (Sets spindown to 5,5 hours)
+ 4. sudo apt-get install -y powernap
+ 5. add this to the [DiskMonitor] section of /etc/powernap/config: sda = y
+ 6. sudo service powernap restart
+ 
+ Expected behaviour:
+ Powernap should not take any powersaving actions while the configured 
harddrive keeps spinning.
+ 
+ Encountered behaviour:
+ Powernap takes powersaving actions while the harddrive is still spinning.
+  
+ ---
  ApportVersion: 2.0.1-0ubuntu17.1
  Architecture: amd64
  DistroRelease: Ubuntu 12.04
  InstallationMedia: Ubuntu-Server 12.04 LTS Precise Pangolin - Release amd64 
(20120424.1)
  MarkForUpload: True
  Package: powernap 2.17-0ubuntu2
  PackageArchitecture: all
  ProcEnviron:
-  TERM=xterm
-  PATH=(custom, no user)
-  LANG=nl_NL.UTF-8
-  SHELL=/bin/bash
+  TERM=xterm
+  PATH=(custom, no user)
+  LANG=nl_NL.UTF-8
+  SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 3.2.0-38.61-generic 3.2.37
  Tags:  precise
  Uname: Linux 3.2.0-38-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  modified.conffile..etc.powernap.action: [modified]
  mtime.conffile..etc.powernap.action: 2013-02-22T12:13:28.452595
  mtime.conffile..etc.powernap.config: 2013-02-22T13:10:37.516469

** Description changed:

- I am unable to get the DiskMonitor working on my server. Powernap still
+ I am unable to get the DiskMonitor to work on my server. Powernap still
  wants to suspend when the disks are spinning.
  
  Steps to reproduce:
  1. sudo apt-get -y install powernap
  2. sudo hdparm -S 60 /dev/sda (Sets spindown to 5 minutes for drive sda)
  3. After 10 minutes: sudo hdparm -C /dev/sda Check if spindown is working
  2. sudo hdparm -S 251 /dev/sda (Sets spindown to 5,5 hours)
  4. sudo apt-get install -y powernap
  5. add this to the [DiskMonitor] section of /etc/powernap/config: sda = y
  6. sudo service powernap restart
  
  Expected behaviour:
  Powernap should not take any powersaving actions while the configured 
harddrive keeps spinning.
  
  Encountered behaviour:
  Powernap takes powersaving actions while the harddrive is still spinning.
-  
+ 
  ---
  ApportVersion: 2.0.1-0ubuntu17.1
  Architecture: amd64
  DistroRelease: Ubuntu 12.04
  InstallationMedia: Ubuntu-Server 12.04 LTS Precise Pangolin - Release amd64 
(20120424.1)
  MarkForUpload: True
  Package: powernap 2.17-0ubuntu2
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=nl_NL.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 3.2.0-38.61-generic 3.2.37
  Tags:  precise
  Uname: Linux 3.2.0-38-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  modified.conffile..etc.powernap.action: [modified]
  mtime.conffile..etc.powernap.action: 2013-02-22T12:13:28.452595
  mtime.conffile..etc.powernap.config: 2013-02-22T13:10:37.516469

** Changed in: powernap (Ubuntu)
   Status: Incomplete = New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to powernap in Ubuntu.
https://bugs.launchpad.net/bugs/1131713

Title:
  DiskMonitor not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/powernap/+bug/1131713/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1131713] Re: DiskMonitor not working

2013-02-25 Thread Robie Basak
Thank you for taking the time to report this bug and helping to make
Ubuntu better. Unfortunately, we cannot work on this bug because your
description didn't include enough information. You may find it helpful
to read How to report bugs effectively
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful
if you would then provide a more complete description of the problem.

At a minimum, we need:

1. the specific steps or actions you took that caused you to encounter the 
problem,
2. the behavior you expected, and
3. the behavior you actually encountered (in as much detail as possible).

You also haven't told us which version of powernap you are using, or
which release you are on. Please execute the following command, as it
will automatically gather debugging information, in a terminal:

apport-collect 1131713

When reporting bugs in the future please use apport by using 'ubuntu-
bug' and the name of the package affected. You can learn more about this
functionality at https://wiki.ubuntu.com/ReportingBugs.

Once done, please change the bug status back to New.

Thanks!

** Changed in: powernap (Ubuntu)
   Status: New = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to powernap in Ubuntu.
https://bugs.launchpad.net/bugs/1131713

Title:
  DiskMonitor not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/powernap/+bug/1131713/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs