Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Nov 2007 10:52:02 +1100
From:      "David N" <davidn04@gmail.com>
To:        "Jonathan Horne" <freebsd@dfwlp.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: disk drive serial number
Message-ID:  <4d7dd86f0711111552k3e26df03k3a6e7406d56b3603@mail.gmail.com>
In-Reply-To: <200711111727.55766.freebsd@dfwlp.com>
References:  <200711111727.55766.freebsd@dfwlp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/11/2007, Jonathan Horne <freebsd@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@dfwlp.com
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4d7dd86f0711111552k3e26df03k3a6e7406d56b3603>