Date: Wed, 8 Jun 2005 16:52:20 -0400 From: Bruno Gallant <bsdnode@gmail.com> To: freebsd-questions@freebsd.org Subject: getting the HD serial numbers Message-ID: <40356a66050608135255ee85f0@mail.gmail.com>
index | next in thread | raw e-mail
Hello, is there a way to get the serial number of an hard drive while the machine is up? I know it can be done with the Linux /proc filesystem, but I was wondering if I could do the same without having to stop the server and remove the disks. [1] I tried the smartctl command, but I don't think my drives are supported. [2] The individual hard drives are hidden behind a Compaq array. 2 x 36Gb in raid 1. ida0: <Compaq Integrated Array controller> port 0x2000-0x20ff mem 0xc4000000-0xc4ffff ff,0xc5000000-0xc5ffffff irq 19 at device 1.0 on pci0 ida0: [GIANT-LOCKED] ida0: drives=1 firm_rev=1.42 idad0: <Compaq Logical Drive> on ida0 idad0: 34727MB (71122560 sectors), blocksize=512 I don't think I can get this info, but the only stupid question is the one that is not asked. Thanks all. [1] My servers are HP DL-360s and DL-380s, so it's not _that_ hard to do, but I don't like stopping my servers for nothing. [2] Brand new HDs from HP -- # Bruno Gallant - scion@bsdnode.net - bsdnode@gmail.comhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40356a66050608135255ee85f0>
