Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Nov 2007 18:38:08 -0500
From:      "Josh Carroll" <josh.carroll@gmail.com>
To:        "Jonathan Horne" <freebsd@dfwlp.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: disk drive serial number
Message-ID:  <8cb6106e0711111538x7864254fibbb7d96ae055a890@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
> 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).

Check dmesg (or /var/run/dmesg.boot). The serial number should show, e.g.:

ad8: 381553MB <Seagate ST3400633AS 3.AAH> at ata4-master SATA150

Thanks,
Josh



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