svn commit: r256533 - head/sys/cam

Gleb Smirnoff glebius at FreeBSD.org
Tue Oct 15 13:37:16 UTC 2013


On Tue, Oct 15, 2013 at 12:59:40PM +0000, Alexander Motin wrote:
A> Author: mav
A> Date: Tue Oct 15 12:59:40 2013
A> New Revision: 256533
A> URL: http://svnweb.freebsd.org/changeset/base/256533
A> 
A> Log:
A>   Unhide "Serial Number" lines from bootverbose.  That information may be
A>   useful for system administration to have in hard copy (in logs) if one of
A>   several devices suddenly dies.
A>   
A>   Requested by:	glebius

Can you please provide the same printf() on the device detach also? When
a box is up for several months, the dmesg buffer is usually wiped so print
on attach is lost. Well, there is /var/run/dmesg.boot, but what if device
was attached after boot?

The rationale behind my request is that in a situation when one HDD dies,
and a server contains a dozen of HDDs of same model, and we ask datacenter
operator to replace one particular HDD, we need to tell operator its serial
number.

The number is always printed on the HDD sticker, so with number provided,
operator finds HDD quickly, without pondering on slot numbers, ATA cables
and so on.

-- 
Totus tuus, Glebius.


More information about the svn-src-all mailing list