On 12/11/2007, Jonathan Horne <[EMAIL PROTECTED]> 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
> [EMAIL PROTECTED]
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>


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
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to