- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- System Administration
- >
- How to use smartctl with cciss
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
07-13-2007 01:36 AM
07-13-2007 01:36 AM
How to use smartctl with cciss
There are 6 drive connected to each channel.
When I run "smartctl -i -d cciss,0 /dev/cciss/c1d0" I get
smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
Device: COMPAQ BD146863B3 Version: HPB6
Serial number: B8F74LTM
Device type: disk
Local Time is: Fri Jul 13 08:32:27 2007 CDT
Device supports SMART and is Enabled
Temperature Warning Enabled
When I run "smartctl -i -d cciss,0 /dev/cciss/c1d1" I get
smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
Device: COMPAQ BD146863B3 Version: HPB6
Serial number: B8F74LTM
Device type: disk
Local Time is: Fri Jul 13 08:32:57 2007 CDT
Device supports SMART and is Enabled
Temperature Warning Enabled
If I query a channel 0 or channel 1 device I get information for the same drive.
This occurs for all drive pairs.
I am running Fedora Core 5 kernel 2.6.18.
Any suggestion?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-13-2007 09:22 AM
07-13-2007 09:22 AM
Re: How to use smartctl with cciss
Try:
smartctl -i -d cciss,1 /dev/cciss/c1d0
The ',1' after the disk 'type' is supposed to reference the physical disk on the controller, as against the logical disk number of the controller.
Also, even though you're using FC5, see if you can get the 'hpacucli' working on it. It gives much better information for virtual disks etc..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-13-2007 09:55 AM
07-13-2007 09:55 AM
Re: How to use smartctl with cciss
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-14-2007 08:50 AM - last edited 2 weeks ago by Ramya_Heera
07-14-2007 08:50 AM - last edited 2 weeks ago by Ramya_Heera
Re: How to use smartctl with cciss
Hi Richard,
Pls check the below URL. Hope this helps you:
https://packages.debian.org/unstable/cpqarrayd
Regards,
SaC
P.S: Best way to thank in this forum is to assign points
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-15-2007 07:18 PM
07-15-2007 07:18 PM
Re: How to use smartctl with cciss
Anyhow, the c0d0-part is the representation of your logical disks, the physicals behind them are queried in the "cciss,0" part, where the phys. disk no. is specified as "0" ... or 1 in cciss,1. To configure monitoring in smartmontools, add the disks you'd want to monitor in /etc/smartd.conf
# Comment out DEVICESCAN, it's a BAD idea for controller based systems.
/dev/cciss/c0d0 -f -M daily -m yourmail@somehost.com -d cciss,0 -a -s L/../../7/04
/dev/cciss/c0d0 -f -M daily -m yourmail@somehost.com -d cciss,1 -a -s L/../../7/04
This will monitor disk 0 & 1 of my logical Mirror disk on the controller. Automatic testing each sunday night and mail error events to the speficied e-mail.
Imho smartmontools is a better idea than the HP-tools disk monitoring as they tend to be somewhat resource consuming. A pretty good alternative is cpqarrayd which you can find here: http://www.strocamp.net/opensource/
It monitors the cciss event & device log and logs it to your syslog and sends SNMP traps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-16-2007 02:15 AM
07-16-2007 02:15 AM
Re: How to use smartctl with cciss
If I run "smartctl -i -d cciss,2 /dev/cciss/c1d0" and "smartctl -i -d cciss,2 /dev/cciss/c1d1" I get the same info.
It's the same for all drive pairs.
I installed 'hpacucli' and it works but I don't see a way to have the drive perform test as in "smartctl -t long -d cciss,0 /dev/cciss/c1d0"
Scheduling regular test in /etc/smartd.conf such as " /dev/cciss/c1d0 -f -M daily -m yourmail@somehost.com -d cciss,0 -a -s L/../../7/04" and /dev/cciss/c1d1 -f -M daily -m yourmail@somehost.com -d cciss,0 -a -s L/../../7/04" results in the same drive being scanned twice.
If I run "smartctl -t long -d cciss,0 /dev/cciss/c1d0" and then "smartctl -l selftest -d cciss,0 dev/cciss/c1d0" I see "# 1 Background long Self test in progress ... - NOW"
If run "smartctl -l selftest -d cciss,0 dev/cciss/c1d1" I see "# 1 Background long Self test in progress ... - NOW"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-16-2007 02:53 AM
07-16-2007 02:53 AM
Re: How to use smartctl with cciss
/dev/cciss/c1d0 is the first logical drive on RAID set c1.
/dev/cciss/c1d1 is the second logical drive on RAID set c1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-16-2007 07:48 PM
07-16-2007 07:48 PM
Re: How to use smartctl with cciss
Richard, can you give us a layout of the logical & physical drives and their organisation and what smartctl tells you? If you're using identical physical disks you won't notice any "difference" as smartmontools is focused on monitoring physical disks and not controllers or logical disks (you can and will not find any information of those in smartmontools). If you want that as well, cpqarrayd is really nice.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP