<?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 check disk status in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-to-check-disk-status/m-p/3776954#M23033</link>
    <description>Here is "hwraidinfo":&lt;BR /&gt;-----cut here----------&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;SLOTLIST=$(hpacucli ctrl all show | \&lt;BR /&gt; grep Slot | sed -e 's/^.*Slot //g' -e 's/ .*$//g')&lt;BR /&gt;&lt;BR /&gt;for i in $SLOTLIST&lt;BR /&gt;do&lt;BR /&gt;    echo&lt;BR /&gt;    hpacucli ctrl slot=$i show | grep -v "^$"&lt;BR /&gt;    echo&lt;BR /&gt;    hpacucli ctrl slot=$i ld all show | grep -v "^$"&lt;BR /&gt;    hpacucli ctrl slot=$i pd all show | grep -v "^$"&lt;BR /&gt;done&lt;BR /&gt;echo&lt;BR /&gt;---------cut here--------------&lt;BR /&gt;And "hwraidstatus":&lt;BR /&gt;---------cut here--------------&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;SLOTLIST=$(hpacucli ctrl all show | \&lt;BR /&gt; grep Slot | sed -e 's/^.*Slot //g' -e 's/ .*$//g')&lt;BR /&gt;&lt;BR /&gt;for i in $SLOTLIST&lt;BR /&gt;do&lt;BR /&gt;    echo&lt;BR /&gt;    hpacucli ctrl slot=$i show status | grep -v "^$"&lt;BR /&gt;    echo&lt;BR /&gt;    hpacucli ctrl slot=$i ld all show status | grep -v "^$"&lt;BR /&gt;    hpacucli ctrl slot=$i pd all show status | grep -v "^$"&lt;BR /&gt;done&lt;BR /&gt;echo&lt;BR /&gt;-------------cut here------------&lt;BR /&gt;</description>
    <pubDate>Fri, 28 Apr 2006 07:59:54 GMT</pubDate>
    <dc:creator>Matti_Kurkela</dc:creator>
    <dc:date>2006-04-28T07:59:54Z</dc:date>
    <item>
      <title>How to check disk status</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-check-disk-status/m-p/3776947#M23026</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Is there any way to check disk status from linux?&lt;BR /&gt;&lt;BR /&gt;We have some servers in other building and we want to monitor disk status remotelly. I know in HP-UX I can check if mirror works fine, but can I do the same with Linux?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for your help.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Carles&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Apr 2006 01:55:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-check-disk-status/m-p/3776947#M23026</guid>
      <dc:creator>Carles Viaplana</dc:creator>
      <dc:date>2006-04-25T01:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to check disk status</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-check-disk-status/m-p/3776948#M23027</link>
      <description>&lt;P&gt;hello Carles,&lt;BR /&gt;&lt;BR /&gt;if you want to see information about your disk you can run fdisk -l. you allso can run the pvdislay, vgdisplay etc. just like in HP-ux.&lt;BR /&gt;&lt;BR /&gt;you have allso third party software to monitor you disks for example &lt;BR /&gt;&lt;STRIKE&gt;&lt;A&gt;http://gentoowiki.com/HOWTO_Monitor_your_hard_disk(s)_with_smartmontools&lt;/A&gt;&lt;/STRIKE&gt;&lt;BR /&gt;&lt;BR /&gt;hope its help &lt;BR /&gt;&lt;BR /&gt;ofir&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;[&lt;STRONG&gt;&lt;U&gt;Moderator edit&lt;/U&gt;&lt;/STRONG&gt;: The above link is no longer valid. Please refer to &lt;A href="https://support.hpe.com/" target="_blank"&gt;https://support.hpe.com/&lt;/A&gt;]&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 10:52:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-check-disk-status/m-p/3776948#M23027</guid>
      <dc:creator>ofir_1</dc:creator>
      <dc:date>2024-11-27T10:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to check disk status</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-check-disk-status/m-p/3776949#M23028</link>
      <description>Depends what disks you want to monitor and what hardware you are running.&lt;BR /&gt;&lt;BR /&gt;For example, on the DL380s I use HPASM and HPSMH feeding into HPSIM and (hopefully when we sort out a couple of niggling issues) on into ISEE.&lt;BR /&gt;&lt;BR /&gt;If the disks are internal, you can use the HP tools such as HPASM and HPSMH. HPASM's cpqimlview will let you see any alerts raised by ILO. HPSMH and the associated daemons will allow you to see the status of attached storage such as an MSA. These together will allow you to view the internal disk status. If you're feeling adventurous you might be able to do something with SNMP to get it to send out traps when a fault occurs. If you have HPSIM on your site then even better - because that can do it for you if you configure it correctly. I'm in the middle of looking at maybe using nagios and nrpe to remotely monitor aspects of my Linux systems from a central console (I'm looking at how to extact info from the HPASM daemons now using SNMP).&lt;BR /&gt;&lt;BR /&gt;You can also use tools such as 'swatch' to monitor the messages file for any error messages that might indicate a disk problem and then mail you.&lt;BR /&gt;&lt;BR /&gt;Colin.</description>
      <pubDate>Tue, 25 Apr 2006 03:43:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-check-disk-status/m-p/3776949#M23028</guid>
      <dc:creator>Colin Topliss</dc:creator>
      <dc:date>2006-04-25T03:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to check disk status</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-check-disk-status/m-p/3776950#M23029</link>
      <description>&lt;P&gt;The standard linux solution to monitor hard disks is usage of smartmontools (&lt;A&gt;&lt;STRIKE&gt;http://smartmontools.sourceforge.net/&lt;/STRIKE&gt;)&lt;/A&gt;&lt;BR /&gt;This usually means setting up smartd (a daemon which monitors the disks) and/or usage of smartctl for interactive access to disk status and SMART tests.&lt;BR /&gt;&lt;BR /&gt;The same utilities are sometimes available in packages provided by the distribution. For instance RedHat includes them in the kernel-utils rpm.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 10:53:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-check-disk-status/m-p/3776950#M23029</guid>
      <dc:creator>Manuel Wolfshant</dc:creator>
      <dc:date>2024-11-27T10:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to check disk status</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-check-disk-status/m-p/3776951#M23030</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;Thanks for your messages.&lt;BR /&gt;&lt;BR /&gt;I checked system and it hasn't volume groups:&lt;BR /&gt;&lt;BR /&gt;CARACAS:~ # df -k&lt;BR /&gt;Filesystem           1K-blocks      Used Available Use% Mounted on&lt;BR /&gt;/dev/cciss/c0d0p2      4079868   3810708    269160  94% /&lt;BR /&gt;/dev/cciss/c0d0p3     26966988  20500656   5096472  81% /img&lt;BR /&gt;/dev/cciss/c0d1p1     35560172  29478668   6081504  83% /img2&lt;BR /&gt;shmfs                  1924884         0   1924884   0% /dev/shm&lt;BR /&gt;CARACAS:~ # vgdisplay&lt;BR /&gt;vgdisplay -- no volume groups found&lt;BR /&gt;&lt;BR /&gt;CARACAS:~ #&lt;BR /&gt;&lt;BR /&gt;I've found YasT interface and you can see hardware information, but I'm not sure whether it shows HW status.&lt;BR /&gt;&lt;BR /&gt;Any idea about?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Carles</description>
      <pubDate>Wed, 26 Apr 2006 05:18:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-check-disk-status/m-p/3776951#M23030</guid>
      <dc:creator>Carles Viaplana</dc:creator>
      <dc:date>2006-04-26T05:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to check disk status</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-check-disk-status/m-p/3776952#M23031</link>
      <description>/dev/cciss/* -style paths indicate that there is a hardware-based RAID controller. You need tools specific to your RAID controller to monitor its state.&lt;BR /&gt;&lt;BR /&gt;On HP-UX, the mirrors created using MirrorDisk/UX are software-based. You could do this on Linux too, but why bother when you have a good hardware RAID available?&lt;BR /&gt;&lt;BR /&gt;If you have the HP management drivers installed (packages hpasm, hpacucli), you can use these simple scripts I made. Install them wherever you like: I generally use /usr/local/sbin.&lt;BR /&gt;&lt;BR /&gt;There are two scripts:&lt;BR /&gt;- hwraidstatus: displays a quick summary about the state of RAID controller, logical drive(s) and physical drives&lt;BR /&gt;&lt;BR /&gt;- hwraidinfo: as above, but more verbose: contains information about RAID firmware version etc.&lt;BR /&gt;&lt;BR /&gt;Of course you *could* do all these things using just the command line tool in hpacucli package, but it requires a long string of options.</description>
      <pubDate>Thu, 27 Apr 2006 09:25:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-check-disk-status/m-p/3776952#M23031</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2006-04-27T09:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to check disk status</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-check-disk-status/m-p/3776953#M23032</link>
      <description>Hi Matti,&lt;BR /&gt;&lt;BR /&gt;I've problems to download your scripts. Could you send them again?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;Carles&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Apr 2006 02:20:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-check-disk-status/m-p/3776953#M23032</guid>
      <dc:creator>Carles Viaplana</dc:creator>
      <dc:date>2006-04-28T02:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to check disk status</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-check-disk-status/m-p/3776954#M23033</link>
      <description>Here is "hwraidinfo":&lt;BR /&gt;-----cut here----------&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;SLOTLIST=$(hpacucli ctrl all show | \&lt;BR /&gt; grep Slot | sed -e 's/^.*Slot //g' -e 's/ .*$//g')&lt;BR /&gt;&lt;BR /&gt;for i in $SLOTLIST&lt;BR /&gt;do&lt;BR /&gt;    echo&lt;BR /&gt;    hpacucli ctrl slot=$i show | grep -v "^$"&lt;BR /&gt;    echo&lt;BR /&gt;    hpacucli ctrl slot=$i ld all show | grep -v "^$"&lt;BR /&gt;    hpacucli ctrl slot=$i pd all show | grep -v "^$"&lt;BR /&gt;done&lt;BR /&gt;echo&lt;BR /&gt;---------cut here--------------&lt;BR /&gt;And "hwraidstatus":&lt;BR /&gt;---------cut here--------------&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;SLOTLIST=$(hpacucli ctrl all show | \&lt;BR /&gt; grep Slot | sed -e 's/^.*Slot //g' -e 's/ .*$//g')&lt;BR /&gt;&lt;BR /&gt;for i in $SLOTLIST&lt;BR /&gt;do&lt;BR /&gt;    echo&lt;BR /&gt;    hpacucli ctrl slot=$i show status | grep -v "^$"&lt;BR /&gt;    echo&lt;BR /&gt;    hpacucli ctrl slot=$i ld all show status | grep -v "^$"&lt;BR /&gt;    hpacucli ctrl slot=$i pd all show status | grep -v "^$"&lt;BR /&gt;done&lt;BR /&gt;echo&lt;BR /&gt;-------------cut here------------&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Apr 2006 07:59:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-check-disk-status/m-p/3776954#M23033</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2006-04-28T07:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to check disk status</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-check-disk-status/m-p/3776955#M23034</link>
      <description>Hm, pasting the scripts directly onto my reply seems to have wrecked the indentation in the scripts. They should still work.&lt;BR /&gt;&lt;BR /&gt;(BTW: I originally attached the scripts as a .zip file, could that have caused the download problems?)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Apr 2006 08:04:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-check-disk-status/m-p/3776955#M23034</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2006-04-28T08:04:26Z</dc:date>
    </item>
  </channel>
</rss>

