trying to keep hdd in power saving mode
kaak kaabakas
ahelv2lk at hot.ee
Mon Nov 22 15:39:01 PST 2004
hello,
i recently built a home network server on freebsd 5.3 and am now looking for a way to keep it's hdd in power saving mode - the server is basically a pentium 166mhz machine, and the sound the hard drive is really annoying, as the machine is next to my bed. moving it is not an option - the cat5 cable alone would cost more than the machine itself did.
i have already got rid of most of the logging in /etc/syslog.conf.
i also commented out the */5 * * * * root /usr/libexec/atrun, */11 * * * * operator /usr/libexec/save-entropy and 0 * * * * root newsyslog lines in /etc/crontab as they do not serve much purpose to me, so the only one remainig constantly hdd accessing process that i can think of is cron itself.
so i am looking for a way to disable cron's automatic /etc/crontab and /var/cron/tabs checking. is there a way other than recompiling the source code with the checking commented out? if not, where exactly can i get the source and where in it lies the checking - i have no idea of how good documentation/commentation the source might have. also, if you can think of any other processes that might be accessing the disk often, could you let me know?
here is a copy of my "ps ax" to help with that:
PID TT STAT TIME COMMAND
0 ?? DLs 0:00.12 [swapper]
1 ?? ILs 0:00.06 /sbin/init --
2 ?? DL 0:04.33 [g_event]
3 ?? DL 0:03.73 [g_up]
4 ?? DL 0:03.37 [g_down]
5 ?? DL 0:00.00 [thread taskq]
6 ?? DL 0:00.00 [kqueue taskq]
7 ?? DL 0:00.10 [pagedaemon]
8 ?? DL 0:00.00 [vmdaemon]
9 ?? DL 0:02.51 [pagezero]
10 ?? RL 218:12.32 [idle]
11 ?? WL 0:00.00 [irq0: clk]
12 ?? WL 0:00.00 [irq1: atkbd0]
13 ?? WL 0:00.00 [irq3:]
14 ?? WL 0:00.00 [irq4: sio0]
15 ?? WL 0:00.76 [irq5: ed1]
16 ?? WL 0:00.00 [irq6:]
17 ?? WL 0:00.01 [irq7: ed0]
18 ?? WL 0:00.00 [irq8: rtc]
19 ?? WL 0:00.00 [irq9: rl0]
20 ?? WL 0:45.62 [irq10: xl1]
21 ?? WL 1:11.69 [irq11: xl0]
22 ?? WL 0:00.00 [irq12:]
23 ?? WL 0:00.00 [irq13:]
24 ?? WL 0:00.31 [irq14: ata0]
25 ?? WL 0:00.00 [irq15: ata1]
26 ?? WL 5:35.82 [swi1: net]
27 ?? WL 1:48.43 [swi5: clock sio]
28 ?? WL 0:00.00 [swi4: vm]
29 ?? DL 0:50.30 [yarrow]
30 ?? WL 0:00.00 [swi6:+]
31 ?? WL 0:00.00 [swi6: acpitaskq]
32 ?? WL 0:00.00 [swi6: task queue]
33 ?? WL 0:01.10 [swi6:+]
34 ?? WL 0:00.02 [swi0: sio]
35 ?? DL 0:01.37 [bufdaemon]
36 ?? DL 0:02.49 [syncer]
37 ?? DL 0:00.35 [vnlru]
38 ?? DL 0:03.84 [schedcpu]
201 ?? Rs 12:45.11 /usr/sbin/ppp -quiet -ddial -nat elion
248 ?? Is 0:00.00 /sbin/devd
272 ?? Is 0:00.26 /usr/sbin/syslogd -l /var/run/log -l /var/named/var/run/log -s
285 ?? Ss 0:01.11 /usr/sbin/named -u bind -t /var/named
395 ?? Is 0:00.03 /usr/sbin/sshd
413 ?? Is 0:00.57 /usr/sbin/cron -s
476 ?? Is 0:00.04 /usr/sbin/inetd -wW -C 60
492 ?? Ss 0:03.73 nmbd
499 ?? Is 0:00.25 sshd: kaak [priv] (sshd)
502 ?? S 0:16.48 sshd: kaak at ttyp0 (sshd)
503 p0 Is 0:00.13 -bash (bash)
504 p0 I 0:00.12 su
505 p0 S 0:01.82 _su (csh)
772 p0 R+ 0:00.02 ps ax
if there might be anything unwanted running but not showing up in the list, also your help would be helpful.
thank you!
-----------------------------------------
ITV - Sinu lemmiksaated internetis!
http://www.itv.ee
More information about the freebsd-questions
mailing list