pavement

Talk:Partitioning Tips and Tricks

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
(smartmontools allows you to get drive info)
Line 4: Line 4:
  
 
--[[User:Dave|Dave]] 11:20, 25 Jul 2005 (EDT)
 
--[[User:Dave|Dave]] 11:20, 25 Jul 2005 (EDT)
 +
 +
There is the sysutils/smartmontools port for SMART enabled drives. Running "smartctl -i /dev/ad4" on my system gives output like:
 +
<blockquote style="background: white; border: 1px solid black; padding: 1em;"><pre><nowiki>
 +
=== START OF INFORMATION SECTION ===
 +
Device Model:    WDC WD2500JB-00EVA0
 +
Serial Number:    WD-WCAEH1028140
 +
Firmware Version: 15.05R15
 +
Device is:        In smartctl database [for details use: -P show]
 +
ATA Version is:  6
 +
ATA Standard is:  Exact ATA specification draft version not indicated
 +
Local Time is:    Thu Dec 22 10:48:33 2005 CST
 +
SMART support is: Available - device has SMART capability.
 +
SMART support is: Enabled
 +
</nowiki></pre></blockquote>
 +
-- Joe

Revision as of 12:11, 22 December 2005

How can I have FreeBSD tell me what kind of hard drive I have (serial number, manufacturer, etc)?


to the best of my knowlege, you can't. That info is printed on the hard drive itself. So you'd have to look at it -- open the case and take the disk out and write down all that info. You can get the system to tell you what kind of disk you have (ATA/SCSI, etc) and how it's been configured, but that's as far as that goes.

--Dave 11:20, 25 Jul 2005 (EDT)

There is the sysutils/smartmontools port for SMART enabled drives. Running "smartctl -i /dev/ad4" on my system gives output like:

=== START OF INFORMATION SECTION ===
Device Model:    WDC WD2500JB-00EVA0
Serial Number:    WD-WCAEH1028140
Firmware Version: 15.05R15
Device is:        In smartctl database [for details use: -P show]
ATA Version is:  6
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Thu Dec 22 10:48:33 2005 CST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

-- Joe

Personal tools