Date: Wed, 21 Oct 2009 16:49:55 +0200 From: Thomas Backman <serenity@exscape.org> To: "Sam Fourman Jr." <sfourman@gmail.com> Cc: Alexander Motin <mav@freebsd.org>, freebsd-current@freebsd.org, Andriy Gapon <avg@icyb.net.ua> Subject: Re: ada/ahci and smartmontools Message-ID: <4ACB2697-0C2B-4A88-884C-CD7A4ADA653F@exscape.org> In-Reply-To: <11167f520910210747g563514a4p82962669efd3af13@mail.gmail.com> References: <4A97D0E1.6050001@icyb.net.ua> <4A97D32F.6070707@FreeBSD.org> <4A97D563.7010803@icyb.net.ua> <11167f520910210737u75602499w62ae6cd1db6ad37@mail.gmail.com> <4ADF1E4E.1010901@FreeBSD.org> <11167f520910210747g563514a4p82962669efd3af13@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Oct 21, 2009, at 4:47 PM, Sam Fourman Jr. wrote: > On Wed, Oct 21, 2009 at 9:44 AM, Alexander Motin <mav@freebsd.org> > wrote: >> Sam Fourman Jr. wrote: >>> On Fri, Aug 28, 2009 at 8:02 AM, Andriy Gapon <avg@icyb.net.ua> >>> wrote: >>>> on 28/08/2009 15:53 Alexander Motin said the following: >>>>> Andriy Gapon wrote: >>>>>> Do smartmontools work with ada/ahci disks? >>>>>> Any tweaks/hacks to make it possible? >>>>> It needs new interface module. Somebody have to combine CAM API >>>>> smartmontools interface module used for SCSI devices and ATA >>>>> SMART commands. >>>>> >>>> So you mean it should practically be the same as existing ATA >>>> module, but instead >>>> of ATA ioctl it should use cam(3)? >>> >>> This is a little OT, but can someone confirm if smartmontools works >>> with SATA2 Drives? >> >> SATA2 is just another physical transport for ATA commands. SATA1/2 >> completely compatible to PATA on command level. >> >> -- >> Alexander Motin > > > > sorry then I will try again, I just installed the port and tried a > simple command > > Ziggy# smartctl -i /dev/ad4s1 > smartctl version 5.38 [i386-portbld-freebsd9.0] Copyright (C) 2002-8 > Bruce Allen > Home page is http://smartmontools.sourceforge.net/ > > 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. > > Ziggy# dmesg | grep ad4 > ad4: 238475MB <Seagate ST3250820AS 3.AAD> at ata2-master SATA300 > GEOM: ad4s1: geometry does not match label (255h,63s != 16h,63s). > Trying to mount root from ufs:/dev/ad4s1a > > > Sam You're using it on a partition (well, slice in BSD terms), not the disk device itself. Try smartctl -i /dev/ad4 Regards, Thomas
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ACB2697-0C2B-4A88-884C-CD7A4ADA653F>