smartmontools port
Nate Lawson
nate at root.org
Mon Jun 2 12:24:25 PDT 2003
On Mon, 2 Jun 2003, Douglas Gilbert wrote:
> "The smartmontools package contains two utility
> programs (smartctl and smartd) to control and
> monitor storage systems using the Self-Monitoring,
> Analysis and Reporting Technology System (S.M.A.R.T.)
> built into most modern ATA and SCSI hard disks."
> See http://smartmontools.sourceforge.net for more
> details.
>
> Currently it only supports Linux but the maintainer,
> Bruce Allen <ballen at gravity.phys.uwm.edu>, has
> received patches for a FreeBSD port for ATA disks.
> [Those patches are not in the project's CVS yet.]
I assume you've submitted the ATA patches to sos@?
> I have rewritten the SCSI command handling code and
> Kai Makisara has added code to support the TapeAlert
> mechanism. The Linux SCSI command handling details
> are hidden behind a CAM like structure.
> This should facilitate a clean port of this code.
I would be interested in reviewing any patches you have. camcontrol(8)
code has good examples for the usermode libcam interface.
> Other broader issues would need addressing (e.g. the
> assumptions made at higher levels about device names
> being SCSI or ATA devices).
This could be done with a functional interface instead of data (i.e.
IS_SCSI_DEV() being platform-specific).
> If anyone wishes to volunteer or look at this please
> contact me or Bruce. We would also be interested if
> FreeBSD has any other utilities that provide SMART
> facilities.
You can implement this ad-hoc with the "camcontrol cmd" command. Hope
this helps.
-Nate
More information about the freebsd-scsi
mailing list