From owner-freebsd-scsi@FreeBSD.ORG Sun Jun 1 21:43:33 2003 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FB3437B404 for ; Sun, 1 Jun 2003 21:43:33 -0700 (PDT) Received: from bunyip.cc.uq.edu.au (bunyip.cc.uq.edu.au [130.102.2.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45F7A43F93 for ; Sun, 1 Jun 2003 21:43:32 -0700 (PDT) (envelope-from dougg@torque.net) Received: from torque.net (d-242-41.stlucia.uq.net.au [203.101.242.41]) by bunyip.cc.uq.edu.au (8.12.9/8.12.9) with ESMTP id h524hRhp023908; Mon, 2 Jun 2003 14:43:30 +1000 (GMT+1000) Message-ID: <3EDAD5B6.5040308@torque.net> Date: Mon, 02 Jun 2003 14:42:30 +1000 From: Douglas Gilbert User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: ballen@gravity.phys.uwm.edu Subject: smartmontools port X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: dougg@torque.net List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2003 04:43:33 -0000 "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 , has received patches for a FreeBSD port for ATA disks. [Those patches are not in the project's CVS yet.] As yet no-one has proposed or offered any patches for a FreeBSD port of the SCSI code. For SCSI specific information about smartmontools together with examples see this url: http://smartmontools.sourceforge.net/smartmontools_scsi.html 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. Other broader issues would need addressing (e.g. the assumptions made at higher levels about device names being SCSI or ATA devices). 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. Doug Gilbert