Re: Hard drive spindown: root drive wakes frequently
Here it is:
Yes - actually, as there are 2 data disc (one main and one backup) sda is the system, sdb is the data, sdc is the backup, sdd is the pendrive. But I configured fstab so that they are mounted by UUID.
I wanted to mount them by label, but it doesn't work. I ls'd /dev/disk/ and there's no "by-label" subfolder. That subfolder is there in my desktop pc though. Why isn't it there on the server?
I have this:
and
Looks quite similar to yours, but there's no ACPI... Hmmm. Now that I think about it, that box also has a problem when shutting down - I have to give the shutdown command with the "-hP" option or it will start a recovery console, or halt without powering down. Maybe it's because I didn't wipe the system after changing hardware - I wanted to avoid a reinstall and reconfigure, and the system seemed to work fine. I guess I'll have to do that tomorrow anyway...
Cristian
Originally posted by jankushka
Code:
cristian@server:/etc/init.d$ sudo ./foobar start
+ PATH=/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+ HOME_DIR=/home/cristian
+ LOG_DIR=/var/log
+ BACKUP_DIR=/home/cristian/logs
+ . /lib/lsb/init-functions
+ FANCYTTY=
+ [ -e /etc/lsb-base-logging.sh ]
+ . /etc/lsb-base-logging.sh
+ log_action_begin_msg Configuring my stuff
+ log_daemon_msg Configuring my stuff...
+ [ -z Configuring my stuff... ]
+ log_use_usplash
+ [ n = y ]
+ type usplash_write
+ usplash_write TEXT Configuring my stuff...
+ log_to_console log_daemon_msg Configuring my stuff...
+ [ n != y ]
+ [ no != yes ]
+ readlink /proc/self/fd/0
+ stdin=/dev/pts/0
+ [ /dev/pts/0 != /dev/pts/0 ]
+ return 0
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ [ xxterm != xdumb ]
+ [ -x /usr/bin/tput ]
+ [ -x /usr/bin/expr ]
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ [ -z ]
+ FANCYTTY=1
+ true
+ /usr/bin/tput xenl
+ /usr/bin/tput cols
+ COLS=74
+ [ 74 ]
+ [ 74 -gt 6 ]
+ /usr/bin/expr 74 - 7
+ COL=67
+ printf * Configuring my stuff...
* Configuring my stuff... + /usr/bin/expr 74 - 1
+ /usr/bin/tput hpa 73
+ printf
+ echo 5
+ [ mke2fs /dev/ram0 ]
+ log_action_end_msg 2
+ log_end_msg 2
+ [ -z 2 ]
+ log_use_usplash
+ [ n = y ]
+ type usplash_write
+ [ 2 -eq 0 ]
+ usplash_write FAILURE failed
+ log_to_console log_end_msg 2
+ [ n != y ]
+ [ no != yes ]
+ readlink /proc/self/fd/0
+ stdin=/dev/pts/0
+ [ /dev/pts/0 != /dev/pts/0 ]
+ return 0
+ [ 67 ]
+ [ -x /usr/bin/tput ]
+ printf \r
+ /usr/bin/tput hpa 67
+ [ 2 -eq 0 ]
+ printf [
[+ /usr/bin/tput setaf 1
+ printf fail
fail+ /usr/bin/tput op
+ echo ]
]
+ return 2
+ true
+ exit 1
cristian@server:/etc/init.d$
Originally posted by jankushka
I wanted to mount them by label, but it doesn't work. I ls'd /dev/disk/ and there's no "by-label" subfolder. That subfolder is there in my desktop pc though. Why isn't it there on the server?
Originally posted by jankushka
Code:
cristian@server:/dev/disk$ find /lib/modules/2.6.24-17-generic/ -name \*cpufreq\* /lib/modules/2.6.24-17-generic/kernel/arch/x86/kernel/cpu/cpufreq /lib/modules/2.6.24-17-generic/kernel/arch/x86/kernel/cpu/cpufreq/cpufreq-nforce2.ko /lib/modules/2.6.24-17-generic/kernel/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko /lib/modules/2.6.24-17-generic/kernel/drivers/cpufreq /lib/modules/2.6.24-17-generic/kernel/drivers/cpufreq/cpufreq_conservative.ko /lib/modules/2.6.24-17-generic/kernel/drivers/cpufreq/cpufreq_ondemand.ko /lib/modules/2.6.24-17-generic/kernel/drivers/cpufreq/cpufreq_powersave.ko /lib/modules/2.6.24-17-generic/kernel/drivers/cpufreq/cpufreq_stats.ko /lib/modules/2.6.24-17-generic/kernel/drivers/cpufreq/cpufreq_userspace.ko
Code:
cristian@server:/dev/disk$ lsmod|grep cpufreq cpufreq_userspace 5284 0 cpufreq_stats 7104 0 cpufreq_powersave 2688 0 cpufreq_ondemand 9740 0 freq_table 5536 2 cpufreq_stats,cpufreq_ondemand cpufreq_conservative 8712 0
Cristian






Comment