BSD Ports

sysutils/scterc 0.0.1 DragonFly

Configure SCT ERC for hard disks on system startup

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
sysutils
Package size
3.5 KiB, 7.9 KiB installed

Description

Modern hard drives allow to set the amount of time a hard disk is allowed to spend recovering from a read or write error. This feature is called ERC (error recovery control, usually in Seagate), TLER (time-limited error recovery, usually on Western Digital) or CCLT (command completion time limit, usually on Samsung or Hitachi).

This rc.d script allows to set these valus on system startup to tune disks for RAID usage.

In the other systems

SystemPortVersion
DragonFlysysutils/scterc0.0.1
FreeBSDsysutils/scterc0.0.1

Install

Binary package:

pkg install scterc

From DPorts:

cd /usr/dports/sysutils/scterc && make install clean

Dependencies

Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

To enable setting hard disk SCT ERC on system boot time, add the
following to your /etc/rc.conf:

  scterc_enable="YES"

  # specify hard disks to configure
  scterc_disks="ada0 ada1"

  # specify read and write timeouts in tenths of second
  # here each is set to 7.0 seconds, which is also the default
  # for which you may omit these lines
  scterc_read_timeout="70"
  scterc_write_timeout="70"

See /usr/local/share/doc/scterc/README.md for more info.