disk drive serial number

David N davidn04 at gmail.com
Sun Nov 11 16:57:10 PST 2007


On 12/11/2007, Jonathan Horne <freebsd at dfwlp.com> wrote:
> is there a way to get the serial number from a drive from within the OS?  im
> trying to audit the drives in my file server, but without pulling the thing
> from the rack and cracking it open.  they are just standard sata drives, not
> on any sort of raid controller (ie, i know 3ware cards are capable of pulling
> the drive info).
>
> thanks,
> --
> Jonathan Horne
> http://dfwlpiki.dfwlp.org
> freebsd at dfwlp.com
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>


Check out smartmonstools in /usr/ports/sysutils/smartmontools
then smartctl -a /dev/ads4 (or what ever your drive is)

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda 7200.7 and 7200.7 Plus family
Device Model:     ST3160827AS
Serial Number:    <XXXXXXXX>
Firmware Version: 3.42
User Capacity:    160,041,885,696 bytes
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   6
ATA Standard is:  ATA/ATAPI-6 T13 1410D revision 2
Local Time is:    Mon Nov 12 10:48:30 2007 EST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===


David N


More information about the freebsd-questions mailing list