From owner-freebsd-questions@FreeBSD.ORG Mon Nov 12 00:57:10 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAB0316A41B for ; Mon, 12 Nov 2007 00:57:10 +0000 (UTC) (envelope-from davidn04@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.230]) by mx1.freebsd.org (Postfix) with ESMTP id 1BA7413C48E for ; Mon, 12 Nov 2007 00:57:08 +0000 (UTC) (envelope-from davidn04@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so524739wra for ; Sun, 11 Nov 2007 16:56:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=OnMbEjFG3M/egr6vrb2UJxQVS+ut3a8LkyAKkzVm2OU=; b=QQ2CGTEV58VEn02jczn8MO9eGIFW6XZoNjcPj87n/o2DWMFHILr252/j4iPs9skk8++kUCTuxisczM6w0xNwprhqC54FKWTooMEhVmHs2DZpfD3+QVErHT0qKvcgR/85WAcGgwbTpqxnuZlFbn+vBBJqaCEwS9XzYom+aaVpOwU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Wu4izxbe70vOVRtkml+Ea9M06FDQ0Yyx3rmMWJghDlOqPDpUxZpef/a2RV5eqRxcDzpj87ZmoCmfN0NAYU2imbM6oICJdP2yW+sq+0rcy5fgL5piQ0LyFoJFk81iY9cp20bSCkwpPtQ0wMp6GnQPmnXccLhjuSn9rxJLCWtGJkM= Received: by 10.70.40.12 with SMTP id n12mr351210wxn.1194825123016; Sun, 11 Nov 2007 15:52:03 -0800 (PST) Received: by 10.70.32.16 with HTTP; Sun, 11 Nov 2007 15:52:02 -0800 (PST) Message-ID: <4d7dd86f0711111552k3e26df03k3a6e7406d56b3603@mail.gmail.com> Date: Mon, 12 Nov 2007 10:52:02 +1100 From: "David N" To: "Jonathan Horne" In-Reply-To: <200711111727.55766.freebsd@dfwlp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200711111727.55766.freebsd@dfwlp.com> Cc: freebsd-questions@freebsd.org Subject: Re: disk drive serial number X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2007 00:57:10 -0000 On 12/11/2007, Jonathan Horne 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: 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