Re: [gentoo-user] What spins a drive up?

2005-06-08 Thread Tim Igoe


Mark Knecht wrote:
 Hello,
I'm experimenting with leaving a drive turned off in a MythTV
 frontend. I have laptop_mode turned on with whatever it has for
 default settings. I have vixie-cron turned off. Once an hour it seems
 that the drive still spins up for about 1 minute. How can I find
 what's causing that and at least make it more infrequent? I see
 nothing in /var/log/messages nor anything in dmesg. Is there somewhere
 else I should look?
 
 Thanks,
 Mark
 

If its once per hour, its probably hourly crons running then. My laptop
behaved itself when i was running linux on it - rarely spinning teh disk
 up at all. Can't say the same for my desktop however. :)

-- 
Tim Igoe
[EMAIL PROTECTED]
http://tim.igoe.me.uk - Personal Site
http://tv.igoe.me.uk - UK TV Guide

Computers are like Air-con, open windows and they stop working!


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] What spins a drive up?

2005-06-08 Thread Mark Knecht
-- Forwarded message --
From: Tim Igoe [EMAIL PROTECTED]
Date: Jun 8, 2005 6:27 AM
Subject: Re: [gentoo-user] What spins a drive up?
To: gentoo-user@lists.gentoo.org




Mark Knecht wrote:
 Hello,
I'm experimenting with leaving a drive turned off in a MythTV
 frontend. I have laptop_mode turned on with whatever it has for
 default settings. I have vixie-cron turned off. Once an hour it seems
 that the drive still spins up for about 1 minute. How can I find
 what's causing that and at least make it more infrequent? I see
 nothing in /var/log/messages nor anything in dmesg. Is there somewhere
 else I should look?

 Thanks,
 Mark


If its once per hour, its probably hourly crons running then. My laptop
behaved itself when i was running linux on it - rarely spinning teh disk
 up at all. Can't say the same for my desktop however. :)


But as I said vixie-cron is turned off. How could hourly crons run?

Thanks,
Mark


signature.asc
Description: PGP signature


Re: [gentoo-user] What spins a drive up?

2005-06-08 Thread A. Khattri
On Wed, 8 Jun 2005, Mark Knecht wrote:

 But as I said vixie-cron is turned off. How could hourly crons run?

What else is running?

Maybe you can run ps -ef and show us the output?

-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What spins a drive up?

2005-06-08 Thread Mark Knecht
On 6/8/05, A. Khattri [EMAIL PROTECTED] wrote:
 On Wed, 8 Jun 2005, Mark Knecht wrote:
 
  But as I said vixie-cron is turned off. How could hourly crons run?
 
 What else is running?
 
 Maybe you can run ps -ef and show us the output?
 
Hi - here you go.

myth11 root # ps -ef
UIDPID  PPID  C STIME TTY  TIME CMD
root 1 0  0 10:18 ?00:00:00 init [3]
root 2 1  0 10:18 ?00:00:00 [ksoftirqd/0]
root 3 1  0 10:18 ?00:00:00 [events/0]
root 4 1  0 10:18 ?00:00:00 [khelper]
root 9 1  0 10:18 ?00:00:00 [kthread]
root19 9  0 10:18 ?00:00:00 [kacpid]
root   100 9  0 10:18 ?00:00:00 [kblockd/0]
root   113 1  0 10:18 ?00:00:00 [khubd]
root   184 9  0 10:18 ?00:00:00 [pdflush]
root   185 9  0 10:18 ?00:00:00 [pdflush]
root   186 1  0 10:18 ?00:00:00 [kswapd0]
root   187 9  0 10:18 ?00:00:00 [aio/0]
root   773 1  0 10:18 ?00:00:00 [kseriod]
root   869 1  0 10:18 ?00:00:00 [kjournald]
root   919 1  0 10:18 ?00:00:00 udevd
root  5341 1  0 10:19 ?00:00:00 /usr/sbin/syslog-ng
root  5863 1  0 10:19 ?00:00:00 /usr/sbin/sshd
root  5887 1  0 10:19 ?00:00:00 login -- mark
root  5892 1  0 10:19 tty2 00:00:00 /sbin/agetty 38400 tty2 linux
root  5893 1  0 10:19 tty3 00:00:00 /sbin/agetty 38400 tty3 linux
root  5894 1  0 10:19 tty4 00:00:00 /sbin/agetty 38400 tty4 linux
root  5895 1  0 10:19 tty5 00:00:00 /sbin/agetty 38400 tty5 linux
root  5896 1  0 10:19 tty6 00:00:00 /sbin/agetty 38400 tty6 linux
mark  5963  5887  0 10:20 tty1 00:00:00 -bash
mark  5969  5963  0 10:20 tty1 00:00:00 /bin/sh /usr/bin/startx
mark  5980  5969  0 10:20 tty1 00:00:00 xinit
/home/mark/.xinitrc -- -nolisten tcp -br -defroot  5981  5980  3
10:20 ?00:00:03 X :0 -nolisten tcp -br -deferglyphs 16
mark  5991  5980  1 10:20 tty1 00:00:01 mythfrontend
mark  5992  5991  0 10:20 tty1 00:00:00 fluxbox
root  5997  5863  0 10:21 ?00:00:00 sshd: [EMAIL PROTECTED]/0
root  6003  5997  0 10:21 pts/000:00:00 -bash
root  6008  6003  0 10:21 pts/000:00:00 ps -ef

I suppose that one possibility is that mythfrontend itself could
access the disk every so often for some reason. I should check on that
if nothing else explains this 1 hour behaviour.

Thanks!

- Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What spins a drive up?

2005-06-08 Thread Richard Fish
Mark Knecht wrote:

On 6/8/05, A. Khattri [EMAIL PROTECTED] wrote:
  

On Wed, 8 Jun 2005, Mark Knecht wrote:



But as I said vixie-cron is turned off. How could hourly crons run?
  

What else is running?

Maybe you can run ps -ef and show us the output?



root  5341 1  0 10:19 ?00:00:00 /usr/sbin/syslog-ng

  


Double check your /etc/syslog-ng/syslog-ng.conf file.  I find the
following in mine:

# The default action of syslog-ng 1.6.0 is to log a STATS line
# to the file every 10 minutes.  That's pretty ugly after a while.
# Change it to every 12 hours so you get a nice daily update of
# how many messages syslog-ng missed (0).
stats(43200);

If yours was set to 3600 for some reason, that would account for the 1
hour spinup.

-Richard

-- 
gentoo-user@gentoo.org mailing list