On Tue, 17 Jul 2007 at 7:41am, Chris Mauritz wrote
Tim Verhoeven wrote:
Since you are using HW RAID the tools you mentioned cannot be used to get the HD serial numbers. This is because the RAID controllers completely hides the physical disks from the OS. You would need tools for the RAID controller itself, those should be able to get the info you need.
That is my understanding as well. I just scoured a system with a 3Ware 9550 and tried to get physical device information without using any of the 3ware tools. I was unable to get ANY information about the actual disks other than the size of the array/device being reported by the RAID card.
Actually, with 3ware, smartctl *can* see through the adapter to the disks behind it. E.g. (on a 9650):
[jlb@$HOST jlb]$ sudo smartctl -i -d 3ware,0 /dev/twa0 smartctl version 5.36 [x86_64-redhat-linux-gnu] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/
=== START OF INFORMATION SECTION === Device Model: WDC WD740ADFD-00NLR1 Serial Number: WD-WMANS1403676 Firmware Version: 20.07P20 User Capacity: 74,355,769,344 bytes Device is: Not in smartctl database [for details use: -P showall] ATA Version is: 7 ATA Standard is: Not recognized. Minor revision code: 0x1d Local Time is: Tue Jul 17 09:00:13 2007 EDT SMART support is: Available - device has SMART capability. SMART support is: Enabled
'man smartctl' has all the details.