RE: Capturing ATA devices serial numbers
Okay - I've tried this against two devices in the system. The devices queried are report as ad0 and ad2. When using the following command against either device I get the following response: "usage: atacontrol channel [args]" Now, it must be noted that I am using a ccd device that's has both these devices configured as member of the ccd configuration. I'm pretty sure that this should not interfere with the query but, I thought I would let you know. Any further suggestions would be greatly appreciated. Cheers, -Original Message- From: Wojciech Puchar [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2008 4:25 PM To: Vaughn Clinton Cc: [EMAIL PROTECTED] Subject: Re: Capturing ATA devices serial numbers atacontrol cap device On Mon, 7 Jul 2008, Vaughn Clinton wrote: > All, > > > > I'm looking for a FreeBSD utility that will allow me to query a disk for its > serial number. Can you point me to such a tool that'll allow me to do so? > > > > Regards, > > > > > > * > > Vaughn E. Clinton > > Systems Analyst > > Scientific Computing Resources > > HPC-3 > > Los Alamos National Laboratory > > > > 505-606-2103 - Voice > > 505-664-7819 - Pager > > * > > > > ___ > 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: Capturing ATA devices serial numbers
On Monday 07 July 2008 19:24:36 Wojciech Puchar wrote: > atacontrol cap device _Really_nice_ ... Will add it to my repertoire :) thanks for the hint Wojciech ! -- Blessings Gonzalo Nemmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Capturing ATA devices serial numbers
atacontrol cap device On Mon, 7 Jul 2008, Vaughn Clinton wrote: All, I'm looking for a FreeBSD utility that will allow me to query a disk for its serial number. Can you point me to such a tool that'll allow me to do so? Regards, * Vaughn E. Clinton Systems Analyst Scientific Computing Resources HPC-3 Los Alamos National Laboratory 505-606-2103 - Voice 505-664-7819 - Pager * ___ 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: Capturing ATA devices serial numbers
On 2008.07.07 13:54:06, Vaughn Clinton wrote: > All, > > I'm looking for a FreeBSD utility that will allow me to query a disk for its > serial number. Can you point me to such a tool that'll allow me to do so? Assuming you mean a hard disk, if you can run smartmontools, this is from smartctl(8): -i, --info Prints the device model number, serial number, firmware version, and ATA Standard version/revision information. Says if the device supports SMART, and if so, whether SMART support is cur- rently enabled or disabled. If the device supports Logical Block Address mode (LBA mode) print current user drive capacity in bytes. (If drive is has a user protected area reserved, or is "clipped", this may be smaller than the potential maximum drive capacity.) Indicates if the drive is in the smartmontools data- base (see '-v' options below). If so, the drive model family may also be printed. If '-n' (see below) is specified, the power mode of the drive is printed. Full man page is here: http://smartmontools.sourceforge.net/man/smartctl.8.html Port is here: /usr/ports/sysutils/smartmontools HTH, ~Jason Morgan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"