On 16/11/2009, at 3:13 AM, Marco Peereboom wrote: > # scsi -f /dev/rsd0c -c "03 00 00 00 fc 00 00" -i 0xfc - | hexdump -C > 00000000 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |p...............| > 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| > * > 000000f0 00 00 00 00 00 00 00 00 00 00 00 00 |............| > 000000fc > > byte 0 has to be 0x70 or 0x71 > byte 7 has to be >= 10
But what if it's 0? > byte 12 is 0x5d if you have a smart trip Do you know if that's the same as running a `atactl sd0c smartstatus`? That simply returns: No SMART threshold exceeded on my (hopefully clean) drive - the 12th byte is not 0x5d, at least. > this drive is clean! > > Figuring out the -i format is left as an exercise for the reader. No worries > Reading the smartlogs is worthles since you have no idea what bad means > for that drive. Only the vendors know that. So if byte 12 is set to > 0x5d toss the damn drive. > krw || dlg, you get a cookie if you add this as a boot time command :-) Is it that reliable an indicator that the drive is about to go south? Mark