Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jun 2003 12:24:25 -0700 (PDT)
From:      Nate Lawson <nate@root.org>
To:        Douglas Gilbert <dougg@torque.net>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: smartmontools port
Message-ID:  <20030602121526.W20895@root.org>
In-Reply-To: <3EDAD5B6.5040308@torque.net>
References:  <3EDAD5B6.5040308@torque.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030602121526.W20895>