Re: disk drive serial number
Install dmidecode from ports, its a great tool to audit your hardware and is also available for Linux. El lun, 12-11-2007 a las 11:54 -0500, Jerry McAllister escribió: > On Sun, Nov 11, 2007 at 06:38:08PM -0500, Josh Carroll 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). > > > > Check dmesg (or /var/run/dmesg.boot). The serial number should show, e.g.: > > > > ad8: 381553MB at ata4-master SATA150 > > Which is the serial? > I see the extended model id. > > jerry > > > > > Thanks, > > Josh > > ___ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- -- Marcelo Célleri M. Jefe IP ESPOLTEL S.A. PBX 593 04 2514477 Ext. 114 -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: disk drive serial number
On Sun, Nov 11, 2007 at 06:38:08PM -0500, Josh Carroll 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). > > Check dmesg (or /var/run/dmesg.boot). The serial number should show, e.g.: > > ad8: 381553MB at ata4-master SATA150 Which is the serial? I see the extended model id. jerry > > Thanks, > Josh > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: disk drive serial number
Am Montag, 12. November 2007 01:54:33 schrieb Josh Carroll: > > That's the _model_ number, not the _serial_ number, yes? > > Oops. Indeed. I misread the question. :/ I'm still missing the hint for 'diskinfo -v ad0' ! Isn't it well known? Best regards, -Harry signature.asc Description: This is a digitally signed message part.
Re: disk drive serial number
[EMAIL PROTECTED] ~]# atacontrol cap ad0 Protocol ATA/ATAPI revision 6 device model ST9120822A serial number 5LZ2F879 firmware revision 3.ALD cylinders 16383 heads 16 sectors/track 63 lba supported 234441648 sectors lba48 supported 234441648 sectors dma supported overlap not supported Feature Support EnableValue Vendor write cacheyes yes read ahead yes yes Tagged Command Queuing (TCQ) no no 0/0x00 SMART yes yes microcode download yes yes security yes no power management yes yes advanced power management yes yes 32896/0x8080 automatic acoustic management no no 0/0x00 254/0xFE ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: disk drive serial number
> That's the _model_ number, not the _serial_ number, yes? Oops. Indeed. I misread the question. :/ Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: disk drive serial number
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: 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]"
Re: disk drive serial number
Josh Carroll <[EMAIL PROTECTED]>, said on Sun Nov 11, 2007 [06:38:08 PM]: } > 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 at ata4-master SATA150 That's a model number, not a serial number. I'm not sure if there's a simpler way, but smartctl (from the smartmontools port/package) will display a disk's serial number. [602] [EMAIL PROTECTED] tmp$ smartctl -a /dev/ad0 | grep -i serial Serial Number:9QG386BV There's probably a better way, but this should at least work. -- Jon Hamilton [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: disk drive serial number
On Sunday 11 November 2007 05:52:54 pm Erik Trulsson wrote: > The serial number can (for ATA/SATA) disks be shown with atacontrol(8) > (e.g. "atacontrol cap ad4") or with smartctl(8) from the > sysutils/smartmontools port (supports both ATA/SATA and SCSI disks) > (e.g. smartctl -a /dev/ad4) thank you sir, that was exactly what i needed. cheers, -- 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]"
Re: disk drive serial number
On Sun, Nov 11, 2007 at 06:38:08PM -0500, Josh Carroll 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). > > Check dmesg (or /var/run/dmesg.boot). The serial number should show, e.g.: > > ad8: 381553MB at ata4-master SATA150 That is not the serial number, that is just the disk model and the firmware revision. The serial number can (for ATA/SATA) disks be shown with atacontrol(8) (e.g. "atacontrol cap ad4") or with smartctl(8) from the sysutils/smartmontools port (supports both ATA/SATA and SCSI disks) (e.g. smartctl -a /dev/ad4) -- Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: disk drive serial number
Josh Carroll writes: > > is there a way to get the serial number from a drive from > > within the OS? > > Check dmesg (or /var/run/dmesg.boot). The serial number should > show, e.g.: > > ad8: 381553MB at ata4-master SATA150 That's the _model_ number, not the _serial_ number, yes? Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: disk drive serial number
> 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 at ata4-master SATA150 Thanks, Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
disk drive serial number
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]"