|
Bugzilla – Full Text Bug Listing |
| Summary: | too much HDD load cycles (hdparm -B) | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Distribution | Reporter: | Moritz Duge <duge> |
| Component: | Basesystem | Assignee: | Kristyna Streitova <kstreitova> |
| Status: | RESOLVED WONTFIX | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | alynx.zhou, jochenbl |
| Version: | Leap 15.1 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | openSUSE-15.1 workaround | ||
|
Description
Moritz Duge
2019-10-21 16:17:36 UTC
Hello, can you help to find where the problem is? I am not familiar to this, thanks! Created attachment 822148 [details] openSUSE-15.1 workaround (In reply to Alynx Zhou from comment #1) > Hello, can you help to find where the problem is? I am not familiar to this, > thanks! It's pretty much described in the referenced bug 825461. Abstract: In openSUSE HDDs work on APM_level 128 by default. This causes HDD to go to sleep very soon (e.g. after idling for 5 seconds - for some disks you can actually hear a click sound when that happends). But because openSUSE writes to disk regularly (e.g. logfiles once a minute), the HDD will spin up and down every minute which isn't healthy. Possible solutions: Change APM_level to at least 192. (alternatively increase writeback timeout on mounts, but that may cause data loss) I changed the APM_level for my remaining HDDs using the attached files. /etc/udev/rules.d/10-hdd-hdparm.rules /etc/scripts/hdd-apm-level.bash My broken disk is a WD3200BEKX-75B7WT0. Other disks I observed a rapidly rising Load_Cycle_Count for (if APM_level<192): - HGST HTS721010A9E630 - HGST HTS541010A7E630 So this isn't just a problem for WD disks. It seems that this "WD Green idle3 timer problem" is a known issue. It's very nicely described e.g. at [1]. But I'm not sure what we can do about it. WD Green doesn't support APM so one has to use either 'hdparm -J' (which is not perfect and upstream recommends rather using official WD tool) or idle3-tools/idle3ctl. I also read that the different WD Green series behaved differently regarding idle3 value setting so sometimes it's necessary to test more ways before one is successful. So because of that, I don't think that this is something we can fix globally within hdparm. [1] https://wiki.archlinux.org/index.php/hdparm#Power_management_for_Western_Digital_Green_drives I'm closing this as WONTFIX because I think that it's not reasonably fixable via hdparm. |