HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Using smartctl to check drives in ProLiant DL380 ...
Operating System - Linux
1833328
Members
2790
Online
110051
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2010 01:55 PM
02-24-2010 01:55 PM
Using smartctl to check drives in ProLiant DL380 G6.
I am trying to use smartctl to monitor my hard drives on my HP Proliant DL380s. I would like to know is if I have a smart error, how do I determine which physical drive is giving the error?
The reason I ask this is because the way to access the disks behind the CCISS device is:
/usr/sbin/smartctl -i -d cciss,0 /dev/cciss/c0d0, and I create my smart.cfg file with:
/dev/cciss/c0d0 -d cciss,0 -S on -o off -H -l error -l selftest -m -M test -M exec /usr/sbin/smartd_logger.
I expected the "N" in cciss,N to correlate to the bay the disk is in, but that is not the case. If I have disks in bays 1, 3, 5, and 6, smartctl enumerates the ports to them as:
cciss,0 /dev/cciss/c1d0
cciss,1 /dev/cciss/c1d0
cciss,2 /dev/cciss/c1d0
cciss,3 /dev/cciss/c1d0
It "compresses" the bay numbering as such as the first disk I find is 0, second is 1, and third is 2... It does not take into account if somebody has open drive bays.
I have tried using the variables available from smartd, but this is what I get from them:
SMARTD_DEVICE="/dev/cciss/c1d0 [cciss_disk_00]"
SMARTD_DEVICETYPE="cciss,0"
SMARTD_DEVICESTRING="/dev/cciss/c1d0 [cciss_disk_00]"
So, is there a way to determine the physical disk from the smartctl info available?
The reason I ask this is because the way to access the disks behind the CCISS device is:
/usr/sbin/smartctl -i -d cciss,0 /dev/cciss/c0d0, and I create my smart.cfg file with:
/dev/cciss/c0d0 -d cciss,0 -S on -o off -H -l error -l selftest -m
I expected the "N" in cciss,N to correlate to the bay the disk is in, but that is not the case. If I have disks in bays 1, 3, 5, and 6, smartctl enumerates the ports to them as:
cciss,0 /dev/cciss/c1d0
cciss,1 /dev/cciss/c1d0
cciss,2 /dev/cciss/c1d0
cciss,3 /dev/cciss/c1d0
It "compresses" the bay numbering as such as the first disk I find is 0, second is 1, and third is 2... It does not take into account if somebody has open drive bays.
I have tried using the variables available from smartd, but this is what I get from them:
SMARTD_DEVICE="/dev/cciss/c1d0 [cciss_disk_00]"
SMARTD_DEVICETYPE="cciss,0"
SMARTD_DEVICESTRING="/dev/cciss/c1d0 [cciss_disk_00]"
So, is there a way to determine the physical disk from the smartctl info available?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2010 04:17 PM
02-24-2010 04:17 PM
Re: Using smartctl to check drives in ProLiant DL380 G6.
Mmm, I've been down that road :-)
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1404978
but since you have a recent server you can probably install a HP support pack. This will give you all the monitoring you need.
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1404978
but since you have a recent server you can probably install a HP support pack. This will give you all the monitoring you need.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2010 06:19 AM
02-25-2010 06:19 AM
Re: Using smartctl to check drives in ProLiant DL380 G6.
Wobbe,
Thanks for the reply. What in the PSP are you referring to? I did not want to install the entire PSP, I have installed specific RPMs and drivers. I did not want HP system management homepage because we do not run web servers on these servers for security reasons. I was looking for something that is command line driven.
I have thought of getting the serial number from SMART, and using hpacucli to get the physical location, but I have had several occurrences of hpacucli hanging and don'w want to use it anywhere I automate anything.
Thanks for the reply. What in the PSP are you referring to? I did not want to install the entire PSP, I have installed specific RPMs and drivers. I did not want HP system management homepage because we do not run web servers on these servers for security reasons. I was looking for something that is command line driven.
I have thought of getting the serial number from SMART, and using hpacucli to get the physical location, but I have had several occurrences of hpacucli hanging and don'w want to use it anywhere I automate anything.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP