<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to use smartctl with cciss in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-to-use-smartctl-with-cciss/m-p/4036979#M29285</link>
    <description>My guess would be that the RAID controller has abstracted the individual disks, so it doesn't matter which logical disk you try to get from the controller, it see's the count the same.&lt;BR /&gt;&lt;BR /&gt;Try:&lt;BR /&gt;&lt;BR /&gt;smartctl -i -d cciss,1 /dev/cciss/c1d0&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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..</description>
    <pubDate>Fri, 13 Jul 2007 16:22:08 GMT</pubDate>
    <dc:creator>Stuart Browne</dc:creator>
    <dc:date>2007-07-13T16:22:08Z</dc:date>
    <item>
      <title>How to use smartctl with cciss</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-use-smartctl-with-cciss/m-p/4036978#M29284</link>
      <description>I have a ML530 G2 with a 5300 array controller.&lt;BR /&gt;There are 6 drive connected to each channel.&lt;BR /&gt;When I run "smartctl -i -d cciss,0 /dev/cciss/c1d0" I get&lt;BR /&gt;&lt;BR /&gt;smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen&lt;BR /&gt;Home page is &lt;A href="http://smartmontools.sourceforge.net/" target="_blank"&gt;http://smartmontools.sourceforge.net/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Device: COMPAQ   BD146863B3       Version: HPB6&lt;BR /&gt;Serial number: B8F74LTM&lt;BR /&gt;Device type: disk&lt;BR /&gt;Local Time is: Fri Jul 13 08:32:27 2007 CDT&lt;BR /&gt;Device supports SMART and is Enabled&lt;BR /&gt;Temperature Warning Enabled&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When I run "smartctl -i -d cciss,0 /dev/cciss/c1d1" I get&lt;BR /&gt;&lt;BR /&gt;smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen&lt;BR /&gt;Home page is &lt;A href="http://smartmontools.sourceforge.net/" target="_blank"&gt;http://smartmontools.sourceforge.net/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Device: COMPAQ   BD146863B3       Version: HPB6&lt;BR /&gt;Serial number: B8F74LTM&lt;BR /&gt;Device type: disk&lt;BR /&gt;Local Time is: Fri Jul 13 08:32:57 2007 CDT&lt;BR /&gt;Device supports SMART and is Enabled&lt;BR /&gt;Temperature Warning Enabled&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If I query a channel 0 or channel 1 device I get information for the same drive.&lt;BR /&gt;This occurs for all drive pairs.&lt;BR /&gt;I am running Fedora Core 5 kernel 2.6.18.&lt;BR /&gt;Any suggestion?&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Jul 2007 08:36:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-use-smartctl-with-cciss/m-p/4036978#M29284</guid>
      <dc:creator>Richard Ray</dc:creator>
      <dc:date>2007-07-13T08:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to use smartctl with cciss</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-use-smartctl-with-cciss/m-p/4036979#M29285</link>
      <description>My guess would be that the RAID controller has abstracted the individual disks, so it doesn't matter which logical disk you try to get from the controller, it see's the count the same.&lt;BR /&gt;&lt;BR /&gt;Try:&lt;BR /&gt;&lt;BR /&gt;smartctl -i -d cciss,1 /dev/cciss/c1d0&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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..</description>
      <pubDate>Fri, 13 Jul 2007 16:22:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-use-smartctl-with-cciss/m-p/4036979#M29285</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2007-07-13T16:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to use smartctl with cciss</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-use-smartctl-with-cciss/m-p/4036980#M29286</link>
      <description>Acnt that be same physical drive connected through diffrent channel/controller/paths</description>
      <pubDate>Fri, 13 Jul 2007 16:55:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-use-smartctl-with-cciss/m-p/4036980#M29286</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-07-13T16:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to use smartctl with cciss</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-use-smartctl-with-cciss/m-p/4036981#M29287</link>
      <description>&lt;P&gt;Hi Richard,&lt;BR /&gt;&lt;BR /&gt;Pls check the below URL. Hope this helps you:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://packages.debian.org/unstable/cpqarrayd" target="_blank" rel="noopener"&gt;https://packages.debian.org/unstable/cpqarrayd&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;SaC&lt;BR /&gt;&lt;BR /&gt;P.S: Best way to thank in this forum is to assign points&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 00:30:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-use-smartctl-with-cciss/m-p/4036981#M29287</guid>
      <dc:creator>Sac_3</dc:creator>
      <dc:date>2021-01-11T00:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to use smartctl with cciss</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-use-smartctl-with-cciss/m-p/4036982#M29288</link>
      <description>You're using it in the right way. Using smartctl you can monitor a physical disk behind  the controller. As Santhosh noticed, depending upon your configuration you could be monitoring the same disk twice trough a different logical path.&lt;BR /&gt;&lt;BR /&gt;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&lt;BR /&gt;&lt;BR /&gt;# Comment out DEVICESCAN, it's a BAD idea for controller based systems.&lt;BR /&gt;/dev/cciss/c0d0 -f -M daily -m yourmail@somehost.com -d cciss,0 -a -s L/../../7/04&lt;BR /&gt;/dev/cciss/c0d0 -f -M daily -m yourmail@somehost.com -d cciss,1 -a -s L/../../7/04&lt;BR /&gt;&lt;BR /&gt;This will monitor disk 0 &amp;amp; 1 of my logical Mirror disk on the controller. Automatic testing each sunday night and mail error events to the speficied e-mail.&lt;BR /&gt;&lt;BR /&gt;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: &lt;A href="http://www.strocamp.net/opensource/" target="_blank"&gt;http://www.strocamp.net/opensource/&lt;/A&gt; &lt;BR /&gt;It monitors the cciss event &amp;amp; device log and logs it to your syslog and sends SNMP traps.</description>
      <pubDate>Mon, 16 Jul 2007 02:18:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-use-smartctl-with-cciss/m-p/4036982#M29288</guid>
      <dc:creator>Van den Broeck Tijl</dc:creator>
      <dc:date>2007-07-16T02:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to use smartctl with cciss</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-use-smartctl-with-cciss/m-p/4036983#M29289</link>
      <description>If I run "smartctl -i -d cciss,1 /dev/cciss/c1d0" and "smartctl -i -d cciss,1 /dev/cciss/c1d1" I get the same info.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;It's the same for all drive pairs.&lt;BR /&gt;&lt;BR /&gt;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"&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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"&lt;BR /&gt;If run "smartctl -l selftest -d cciss,0 dev/cciss/c1d1" I see "# 1  Background long  Self test in progress ...   -     NOW"</description>
      <pubDate>Mon, 16 Jul 2007 09:15:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-use-smartctl-with-cciss/m-p/4036983#M29289</guid>
      <dc:creator>Richard Ray</dc:creator>
      <dc:date>2007-07-16T09:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to use smartctl with cciss</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-use-smartctl-with-cciss/m-p/4036984#M29290</link>
      <description>My guess is that 'smartctl' doesn't know how to properly talk through a hardware RAID controller.  Additionally, you are referencing the logical drives with your /dev.&lt;BR /&gt;&lt;BR /&gt;/dev/cciss/c1d0 is the first logical drive on RAID set c1.&lt;BR /&gt;&lt;BR /&gt;/dev/cciss/c1d1 is the second logical drive on RAID set c1.</description>
      <pubDate>Mon, 16 Jul 2007 09:53:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-use-smartctl-with-cciss/m-p/4036984#M29290</guid>
      <dc:creator>David Claypool</dc:creator>
      <dc:date>2007-07-16T09:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to use smartctl with cciss</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-use-smartctl-with-cciss/m-p/4036985#M29291</link>
      <description>@David, actually it does support that. Supported it for some time on 3Ware's and since 5.36 for SmartArray's as well. You're definitly right about the logical drives. &lt;BR /&gt;&lt;BR /&gt;Richard, can you give us a layout of the logical &amp;amp; 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.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Jul 2007 02:48:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-use-smartctl-with-cciss/m-p/4036985#M29291</guid>
      <dc:creator>Van den Broeck Tijl</dc:creator>
      <dc:date>2007-07-17T02:48:57Z</dc:date>
    </item>
  </channel>
</rss>

