All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: How to turn off background media scan?
PostPosted: November 5th, 2017, 7:39 
Offline

Joined: November 5th, 2017, 6:36
Posts: 2
Location: AUSTRALIA
Hi, I recently acquired some Seagate savvio 10k.5 ST9900805SS and constellation ES.2 ST33000650SS sas drives, with EMC firmware. After reformatting to 512B sector size I can use them in windows. However the drives are actually much noisier at idle than load, they are constantly seeking and scrubbing it seems. I believe this may have something to do with the constant background media scans, so what can I do to turn off that feature?


Top
 Profile  
 
 Post subject: Re: How to turn off background media scan?
PostPosted: November 5th, 2017, 21:08 
Offline

Joined: November 5th, 2017, 6:36
Posts: 2
Location: AUSTRALIA
Figured it out reading the sdparm documentation. For others who may be interested, it is
sdparm --clear=EN_BMS --save /dev/sdX


Top
 Profile  
 
 Post subject: Re: How to turn off background media scan?
PostPosted: November 6th, 2017, 15:11 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15461
Location: Australia
Thanks for the heads up.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: How to turn off background media scan?
PostPosted: September 18th, 2021, 12:30 
Offline

Joined: September 15th, 2021, 6:34
Posts: 4
Location: Poland
There is an alternative. A tool in smartmontools, which is able to turn the BMS on/off - smartctl.
First check if it is supported by the drive. For sda run:
Code:
smartctl /dev/sda -c

and check if output states "Auto Offline data collection on/off support.". If it's supported run:
Code:
smartctl /dev/sda --offlineauto=off

Man page: https://www.smartmontools.org/browser/trunk/smartmontools/smartctl.8.in

As background media scans will no longer be performed run immediate offline scans and longDST on a regular basis.
Code:
smartctl -t offline /dev/sda
smartctl -t long /dev/sda


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot], Google Adsense [Bot] and 73 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group