On Oct 21, 2009, at 4:47 PM, Sam Fourman Jr. wrote: > On Wed, Oct 21, 2009 at 9:44 AM, Alexander Motin <mav_at_freebsd.org> > wrote: >> Sam Fourman Jr. wrote: >>> On Fri, Aug 28, 2009 at 8:02 AM, Andriy Gapon <avg_at_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, ThomasReceived on Wed Oct 21 2009 - 12:50:52 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:57 UTC