LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-08-2005, 09:59 PM   #1
slinky2004
Member
 
Registered: Oct 2004
Posts: 309

Rep: Reputation: 30
loggers are ruining hard drive standby... help


i'm trying to put my hard drive standby(standby spins it down, right?) with "hdparm -y /dev/hda" but whevever i do that, it always goes back to being "active/idle" very quickly. i've been told that this is because of logger daemons that are writing logs on the disk. and it's true, if i boot using, knoppix, i can spin hda down and everything's fine(probably because nothings writing to it, because it's not even mounted in knoppix).

the problem i have is that on my real linux install, i've killed all the daemons i can and something is still waking the disk up. some of the friggin things wont die either, even with kill -9, so it's making it hard to troubleshoot this with trial and error. here's my process list:
Quote:
root@darkstar:~# ps -A
PID TTY TIME CMD
1 ? 00:00:00 init
2 ? 00:00:00 ksoftirqd/0
3 ? 00:00:00 events/0
4 ? 00:00:00 khelper
5 ? 00:00:00 kthread
7 ? 00:00:00 kacpid
94 ? 00:00:00 kblockd/0
139 ? 00:00:00 pdflush
140 ? 00:00:00 pdflush
142 ? 00:00:00 aio/0
141 ? 00:00:00 kswapd0
143 ? 00:00:00 jfsIO
144 ? 00:00:00 jfsCommit
145 ? 00:00:00 jfsSync
737 ? 00:00:00 kseriod
803 ? 00:00:00 reiserfs/0
852 ? 00:00:00 udevd
1222 ? 00:00:00 syslogd
1225 ? 00:00:00 klogd
1258 ? 00:00:00 pccardd
1445 ? 00:00:00 ipw2200/0
1607 ? 00:00:00 khpsbpkt
1647 ? 00:00:00 knodemgrd_0
1807 ? 00:00:00 khubd
4153 ? 00:00:00 crond
4155 ? 00:00:00 atd
4158 ? 00:00:00 acpid
4208 ? 00:00:00 gpm
4210 tty1 00:00:00 bash
4211 tty2 00:00:00 agetty
4212 tty3 00:00:00 agetty
4213 tty4 00:00:00 agetty
4214 tty5 00:00:00 agetty
4215 tty6 00:00:00 agetty
4298 tty1 00:00:00 startx
4310 tty1 00:00:00 xinit
4311 ? 00:00:10 X
4331 tty1 00:00:00 fluxbox
4335 ? 00:00:00 xsnow
4336 ? 00:00:00 firefox
4357 ? 00:00:00 run-mozilla.sh
4362 ? 00:00:09 firefox-bin
4408 ? 00:00:00 dhcpcd
4411 ? 00:00:00 netstat <defunct>
4437 ? 00:00:00 rxvt
4438 pts/0 00:00:00 bash
4456 pts/0 00:00:00 ps
if somebody can tell me what i need to kill in order for my drive to stay spun down until i wake it up, i'd appreciate it.
 
Old 11-09-2005, 03:31 PM   #2
Back_to_Linux
Member
 
Registered: Sep 2005
Location: PARIS
Distribution: Mandriva 10.0 Communoty
Posts: 117

Rep: Reputation: 15
kill -9 4158
kill -9 1222
kill -9 1225
but what reside in your HD?
maybe it's more sure you stop loggers by stopping services, configure /etc/syslog.conf to not log anything, to send message to /dev/null (at your own risk) and reboot.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 08:48 AM
Powercuts and hard-drives in 'Standby' mode DSLC Linux - Hardware 2 06-26-2005 08:08 AM
Hard Disk Timeout/Standby BIOS/hdparm win32sux Linux - Hardware 4 02-01-2005 12:05 AM
Set root drive for standby jpc82 Linux - Hardware 0 04-28-2004 08:21 PM
Standby mode for drive, where does command go? inittab? Eradicator Mandriva 1 04-16-2004 08:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration