Hi...
I have been working on getting serial numbers electronically off of hard
drives for various reasons.
I have been successful with IDE and most SCSI drives (using hdparm and
scsiinfo). However I am running into trouble with ones that are on
AACRAID/PERC3 adaptors and actually in a RAID array.
The only serial number I can seem to grab is the one for the entire
volume which is just assigned.
Are there any tools available to get the serial number off the drives in
the array? Or can I get some pointers on writing such a tool?
Thank you.
Augustine
On Tue, 31 Aug 2004, Augustine Ortiz, Jr. wrote:
Hi...
I have been working on getting serial numbers electronically off of hard
drives for various reasons.
I have been successful with IDE and most SCSI drives (using hdparm and
scsiinfo). However I am running into trouble with ones that are on
AACRAID/PERC3 adaptors and actually in a RAID array.
The only serial number I can seem to grab is the one for the entire
volume which is just assigned.
Are there any tools available to get the serial number off the drives in
the array? Or can I get some pointers on writing such a tool?
hddtemp will get you more info on the disk ... not sure if it works
on aacraid/perc etc
c ya
alvin
When I have used hardware RAID, the vender supplies software that will do
what you want. But it is tied to the vender's hardware, not general.
Guy
-----Original Message-----
From: linux-raid-owner@vger.kernel.org
[mailto:linux-raid-owner@vger.kernel.org] On Behalf Of Augustine Ortiz, Jr.
Sent: Tuesday, August 31, 2004 3:45 PM
To: linux-raid@vger.kernel.org; linux-scsi@vger.kernel.org
Subject: Getting HD Serial Numbers in RAID
Hi...
I have been working on getting serial numbers electronically off of hard
drives for various reasons.
I have been successful with IDE and most SCSI drives (using hdparm and
scsiinfo). However I am running into trouble with ones that are on
AACRAID/PERC3 adaptors and actually in a RAID array.
The only serial number I can seem to grab is the one for the entire
volume which is just assigned.
Are there any tools available to get the serial number off the drives in
the array? Or can I get some pointers on writing such a tool?
Thank you.
Augustine
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Usually, most hardware RAID stuff does give software. However since this
one (AACRAID/PERC) is such a common controller, this manufacturer didn't
include it. We do have some for other systems, but they are in Windows,
and I can't seem to figure out how to get the serial numbers through
that either.
Interestingly, if you have the arrays broken, you can pull the serial
numbers just fine.
Some RAID cards (ie. DAC90 chipset) will report all the disks when the
kernel module is loaded. I figured I could just sorta re-work that stuff
and see if I could probe it.
I am having some trouble with the AACRAID module though. It looks like
it grabs the info, but I can't tell if it does it when the drives are
actually RAIDed.
Thank you for the info, I will see if I can get it via the SMART stuff.
I will post if I have any luck.
Thanks!
Augustine
From:
Derek Vadala [off-list ref]
You could try smartctl, but I don't know what luck you'll have
accessing
the raw devices if they are behind a hardware controller.
http://smartmontools.sourceforge.net/
http://www.linuxjournal.com/article.php?sid=6983
hddtemp will get you more info on the disk ... not sure if it works
on aacraid/perc etc
c ya
alvin
On Tue, 2004-08-31 at 14:36, Guy wrote:
When I have used hardware RAID, the vender supplies software that will do
what you want. But it is tied to the vender's hardware, not general.
Guy
-----Original Message-----
From: linux-raid-owner@vger.kernel.org
[mailto:linux-raid-owner@vger.kernel.org] On Behalf Of Augustine Ortiz, Jr.
Sent: Tuesday, August 31, 2004 3:45 PM
To: linux-raid@vger.kernel.org; linux-scsi@vger.kernel.org
Subject: Getting HD Serial Numbers in RAID
Hi...
I have been working on getting serial numbers electronically off of hard
drives for various reasons.
I have been successful with IDE and most SCSI drives (using hdparm and
scsiinfo). However I am running into trouble with ones that are on
AACRAID/PERC3 adaptors and actually in a RAID array.
The only serial number I can seem to grab is the one for the entire
volume which is just assigned.
Are there any tools available to get the serial number off the drives in
the array? Or can I get some pointers on writing such a tool?
Thank you.
Augustine
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html