DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD Installation and Upgrading

NetBSD Installation and Upgrading Have trouble getting NetBSD on your toaster?

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 18th August 2015
bashrules bashrules is offline
Fdisk Soldier
 
Join Date: Mar 2010
Location: Here
Posts: 47
Default Taming Load_Cycle_Count

I'm running NetBSD on a laptop. The Load_Cycle_Count increases way too fast on my Toshiba SATA drive.

Google finds a lot of information for Linux. The referred Linux commands don't exist on NetBSD. Anyone?
Reply With Quote
  #2   (View Single Post)  
Old 18th August 2015
abs abs is offline
Port Guard
 
Join Date: Jul 2012
Posts: 12
Default

Quote:
Originally Posted by bashrules View Post
I'm running NetBSD on a laptop. The Load_Cycle_Count increases way too fast on my Toshiba SATA drive.

Google finds a lot of information for Linux. The referred Linux commands don't exist on NetBSD. Anyone?
What commands are you trying to use?

On NetBSD you can show the basic smart status values with 'atactl wd0 smart status', and you can install smartmontools from pkgsrc to add smartctl for more options.

Do you mean "Device power cycle count"? Is it increasing more often than once per power cycle? Do you have any ideas on what is triggering the increases?
Reply With Quote
  #3   (View Single Post)  
Old 18th August 2015
bashrules bashrules is offline
Fdisk Soldier
 
Join Date: Mar 2010
Location: Here
Posts: 47
Default

Quote:
Originally Posted by abs View Post
What commands are you trying to use?
hdparm.


Quote:
On NetBSD you can show the basic smart status values with 'atactl wd0 smart status', and you can install smartmontools from pkgsrc to add smartctl for more options.
Oh, atactl seems to be the NetBSD equivalent of hdparm. This disables power management and thus stops increasing Load_Cycle_Count:

atactl wd0 apm set 253

Quote:
Do you mean "Device power cycle count"? Is it increasing more often than once per power cycle? Do you have any ideas on what is triggering the increases?
No,
Code:
# smartctl -a /dev/rwd0d  | grep Load_Cycle_Count
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       3683

Last edited by ocicat; 19th August 2015 at 05:08 PM. Reason: Please use [code] & [/code] tags when posting console output.
Reply With Quote
  #4   (View Single Post)  
Old 19th August 2015
abs abs is offline
Port Guard
 
Join Date: Jul 2012
Posts: 12
Default

Ah, glad you have found a solution
Reply With Quote
Reply

Tags
load_cycle_count

Thread Tools
Display Modes

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

Forum Jump


All times are GMT. The time now is 05:24 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick