Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2018 10:36:37 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        questions@freebsd.org
Cc:        Alex Samorukov <samm@os2.kiev.ua>
Subject:   Specifying a device for only a single drive for periodic report
Message-ID:  <CAN6yY1uxDrnUMoNNh4x7qVg0J=gWaWN6%2B%2B7stUP9SgDbEE=2cw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I have a small server that has teo disk drives. One is the internal PATA
(AHCI) drive. The other is a USB drive. I would like to enable S.M.A.R.T.
checking on both, but the USB device (-d) needs to be included in the
command (i.e. "-d sat").

I have not been able to figure out how to set up periodic(8) to work with a
device option for one drive but not the other.

Is this possible without a kludge of some sort or mods to the
periodic/smart script?
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1uxDrnUMoNNh4x7qVg0J=gWaWN6%2B%2B7stUP9SgDbEE=2cw>