NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: disk geometry (i386/amd64)



netbsd-embedded%gmx.com@localhost (Don NetBSD) writes:

>>    | > SMART [...] so it is clearly possible.
>>    |
>>    | I think only via wd(4)?
>> 
>> Oh, you mean, not sd(4) - yes, possibly.   Sorry, I have no idea how
>> one would access that kind of data over scsi.

>I will have to keep poking through the manual pages.

SMART is something that only exists for ATA but modern SCSI devices may
provide similar information on some mode pages.

Our atactl tool can query SMART status, but maybe not everything you
want to know. For SCSI there is nothing, you need to make your own
tool to issue the proper commands with SCIOCCOMMAND.

It's possible that the smartmontools in pkgsrc help.

Devices attached to RAID controllers or something behind USB adapters
can be more of a problem. Passing through low-level commands is usually
not implemented.

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index