X-Spam-Check-By: sourceware.org Date: Sun, 17 Jun 2007 20:40:22 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Smartmontools don't work with /dev/stX, /dev/nstX Message-ID: <20070617184022.GE4179@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20070617115624 DOT GA31947 AT calimero DOT vinschen DOT de> <46754C80 DOT 1080803 AT t-online DOT de> <20070617161951 DOT GD4179 AT calimero DOT vinschen DOT de> <467569B1 DOT 5040605 AT t-online DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <467569B1.5040605@t-online.de> User-Agent: Mutt/1.4.2.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Jun 17 19:04, Christian Franke wrote: > Corinna Vinschen wrote: > > $ /usr/sbin/smartctl.exe -i /dev/sda > > smartctl version 5.37 [i686-cygwin-xp-sp2] Copyright (C) 2002-6 Bruce > > Allen > > Home page is http://smartmontools.sourceforge.net/ > > > > Device: ATI 1+0 JBOD Version: 1.10 > > Device type: disk > > Local Time is: Sun Jun 17 18:07:28 2007 WEST > > Device does not support SMART > > > >Any idea why I don't get actual drive information but the name of > >the controller instead? Any way around this? > > > > > > This is the SCSI INQUIRY data from SCSI_PASS_THROUGH ioctl. > > To access ATA devices, try device name "/dev/hda" instead. > This should print ATA IDENTIFY data from SMART_RCV_DRIVE_DATA ioctl. > (unfortunately not implemented in all drivers). Been there, done that: $ /usr/sbin/smartctl.exe -i /dev/hda smartctl version 5.37 [i686-cygwin-xp-sp2] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/ ATA/SATA driver is possibly a SCSI class driver not supporting SMART. If this is a SCSI disk, try "scsi". Smartctl: Device Read Identity Failed (not an ATA/ATAPI device) A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options. The drive is a Samsung 1614C which definitely supports SMART. Oh well, so the answer is just "too bad", I assume... Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/