![]() SMART overall-health self-assessment test result: PASSED Smartctl version 5.38 Copyright (C) 2002-8 Bruce Allen You can quickly check the overall health of a drive by using: # smartctl -H /dev/sda The smartctl program also allows for you to view and test SMART attributes of a drive. On a Red Hat Enterprise Linux system, use: # chkconfig smartd on Perccli is NOT a comprehensive monitoring suite like Delll OMSA, but it sounds like many folks don't want something comprehensive and instead need a decent, simple tool.When smartd is configured, make sure to enable the monitoring daemon if it is not already started. It's also easy to install compared to other, more comprehensive options: # curl -C -O '' This needs to be repeated for each enclosure slot, or at least I haven't found a way to print all of it at once with a single perccli command. UGUnsp-Unsupported|UGShld-UnConfigured shielded|HSPShld-Hotspare shieldedĬFShld-Configured shielded|Cpybck-CopyBack|CBShld-Copyback Shieldedĭrive /c0/e32/s0 - Detailed Information : SeSz-Sector Size|Sp-Spun|U-Up|D-Down/PowerSave|T-Transition|F-Foreign Med-Media Type|SED-Self Encryptive Drive|PI-Protection Info UBad-Unconfigured Bad|Onln-Online|Offln-Offline|Intf-Interface The perccli command can also show you a lot of drive info if you ask it nicely: # /opt/MegaRAID/perccli/perccli64 /c0/e32/s0 show allĭescription = Show Drive Information Succeeded.ĮID:Slt DID State DG Size Intf Med SED PI SeSz Model Spģ2:0 0 UGood - 278.875 GB SAS HDD N N 512B ST3300657SS UĮID-Enclosure Device ID|Slt-Slot No.|DID-Device ID|DG-DriveGroupĭHS-Dedicated Hot Spare|UGood-Unconfigured Good|GHS-Global Hotspare Used RAID Disk Space : 136.13 GB (146163105792 bytes)Īvailable RAID Disk Space : 0.00 GB (0 bytes) Here's an example of omreport's output, piped through grep for a delicious bundle of data: $ omreport storage pdisk controller=0 vdisk=0 | grep -v ": Not "Ĭontroller PERC H700 Integrated (Embedded)Ĭapacity : 136.13 GB (146163105792 bytes) How do I reconfigure my disk array on a Dell machine under Linux?īTW, since this IS nothing more than a Dell-branded LSI MegaCLI card, you might find Han Solo's answer even better! I have yet to try it, however.$ sudo omconfig storage controller controller=0 action=createvdisk raid=r0 size=max pdisk=0:0:2 Reconfigure a vdisk to be raid1 from raid0 ( COOL!!!!) $ sudo omconfig storage vdisk action=reconfigure controller=0 vdisk=1 raid=r1 pdisk=0:0:2,0:0:3Ĭreate a vdisk on a new disk: $ sudo omconfig storage controller controller=0 action=clearforeignconfig Show all physical disks on vdisk 0 $ omreport storage pdisk controller=0 vdisk=0 Show all logical disks on controller 0 $ omreport storage vdisk controller=0 Show all physical disks on controller 0 $ omreport storage pdisk controller=0 bashrc: export PATH=$PATH:/opt/dell/srvadmin/bin wget -q -O - > bootstrap.cgiĪdd to root's. But I digress.) By this I mean, only install those components necessary to manage storage on your machine.īTW, the direct answer to the user's question lies in the item "Show physical disks on vdisk 0" in the list below. Here's how to make it slightly less blecch-y (but still blecch-y nonetheless you can get much leaner on HP's platform. The accepted answer recommends the audacity that is yum install srvadmin-all. This is on Scientific Linux 6 (another RHEL6 based OS) with 86_64. ![]() Warning: This result is based on an Attribute check. SMART support is: Available - device has SMART capability. User Capacity: 1,000,204,886,016 bytes ĭevice is: Not in smartctl database For example, to see the first disk in the array: # smartctl -a /dev/sda -d sat+megaraid,00 You can see the SMART status of the disks with the smartctl command and it's -d argument. Local Time is: Tue Apr 15 16:38:30 2014 SGTĭevice does not support Self Test loggingĪnyone knows how to monitor the hard disk status behind hardware raid on Dell PERC H710 with CentOS 6? ![]() ~]# lspci | grep RAIDĠ3:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 2208 (rev ~]# smartctl -a /dev/sda The LSI MegaRAID SAS command tool (About LSI MegaRAID SAS Linux Tools) for CentOS/Red Hat/Linux does NOT support PERC H710 and smartctl does NOT support it either.īased on Dell website, CentOS IS not supported for this server ( NX3200 PowerVault) and I couldn't download any linux program to monitor the hard disk. Then I should be able to use a bash script to monitor the hard disk status and send alert emails if something went bad. ![]() I have a Dell server running CentOS 6 using PERC H710 Raid Controller card with Raid 5 setup and I want to monitor the hard disk failure/working status behind the Raid Controller. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |