- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- How to use smartctl with cciss
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО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
- 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
- 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
- Report Inappropriate Content
тАО07-14-2007 08:50 AM - last edited on тАО01-10-2021 04:30 PM by Ramya_Heera
тАО07-14-2007 08:50 AM - last edited on тАО01-10-2021 04:30 PM 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
- 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
- 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
- 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
- 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.