https://bugzilla.novell.com/show_bug.cgi?id=816388 https://bugzilla.novell.com/show_bug.cgi?id=816388#c0 Summary: hdd goes to sleep too often - maybe damages disk Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: openSUSE 12.3 Status: NEW Severity: Critical Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: colAflash@gmx.net QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0 Hi, at first I think this is a critical bug because it may damages the harddisk. But I want to say sorry for the trouble if I'm wrong with that. My system: OS: openSUSE 12.3 x86_64 Model: Thinkpad x220 (Type 4291-36G) CPU: Intel i7-2620M HardDisk: HITACHI HTS723232A7A364 (Size 320072933376 Byte ~ 298 GB) When my notebook is idle I heard some strange clicking. About one click in every 5-20 seconds. After some while I started investigating and found, that with every click this value rises up +1. sudo /usr/sbin/smartctl -A /dev/sda | grep Load_Cycle_Count Right now it's at: 114825 It's the same click-sound when I put my notebook into s2ram or power it down. For me this looks like my harddisk is stopping very often to safe power. As far as I know too often, because so many power-cycles may damage the disk after some while. So I checked this value: ================== # sudo /sbin/hdparm -B /dev/sda /dev/sda: APM_level = 128 ================== After changing it with: sudo /sbin/hdparm -B 192 /dev/sda and putting that command into "/etc/init.d/boot.local" (for setting at boot) and "/etc/pm/sleep.d/99hdparm" (created new, for setting after wake from standby) the clicking stopped or maybe I just stopped hearing it because it didn't happend so often anymore. Also the "Load_Cycle_Count" grew much slower (maybe +10 a day and this is about the times I put my notebook into standby a day). My full "/etc/pm/sleep.d/99hdparm" looks like this: ================== #!/bin/bash case "$1" in hibernate|suspend) #nothing ;; thaw|resume) /sbin/hdparm -B 192 /dev/sda ;; *) ;; esac exit 0 ================== I also saw this behavior on: Thinkpad x220t (Tablet) R-Series Thinkpad (about 8 years old) L-Series Thinkpad Putting the notebooks on ac or battery doesn't changes the behavior. On my desktop pc I got sdb and sdc in a software-mirror-raid configured by the motherboard. When calling "smartctl -A" on sdb or sdc I get "SMART Disabled". But after enabling SMART using /usr/sbin/smartctl -s on /dev/sdX I can see the "Load_Cycle_Count" reported by smartctl rising quite fast too (about +3 per minute). But I'm not hearing any clicking from the disks. Mainboard: ASUS M4A785TD-V EVO # dmraid -r /dev/sdc: pdc, "pdc_bebjhhcbgg", mirror, ok, 3906249984 sectors, data@ 0 /dev/sdb: pdc, "pdc_bebjhhcbgg", mirror, ok, 3906249984 sectors, data@ 0 I can't set the APM_level: ================== # /sbin/hdparm -B 192 /dev/sdc /dev/sdc: setting Advanced Power Management level to 0xc0 (192) HDIO_DRIVE_CMD failed: Input/output error APM_level = not supported ================== Are my thoughts correct? Is one hdd power-cycle per 5 or 20 seconds too much? If yes, this should be fixed VERY SOON, because every day it damages the people's harddisks. Thanks colAflash Reproducible: Always -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.