it doesn't work :( sata drives are accessible, but for sas all we have:
# smartctl -d 3ware,0 -a /dev/twa0
smartctl 5.40 2010-10-16 r3189 [FreeBSD 8.2-RELEASE amd64] (local build)
Copyright (C) 2002-10 by Bruce Allen,
http://smartmontools.sourceforge.net
Command failed, ata.status=(0x00), ata.command=(0xec), ata.flags=(0x01)
WARNING - NO DEVICE FOUND ON 3WARE CONTROLLER (disk 0)
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.
Ok, looking in the code i found that on "3ware" device only
"ata_command_interface" is implemented (with
TW_OSL_IOCTL_FIRMWARE_PASS_THROUGH). The question is if that interface
actually supports SAS drives at all. From the quick view of the sources
i found TWE_Command_ATA packet description, but nothing related to
SCSI/SATA packets. So i am not sure that it is possible at all. If you
know any tool which able to get health information for SAS drives we can
try to debug ioctl it using to find the way to talk with disk.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"