Skip to main content
Question

Extension Attribute script for Apple Software RAID Status

  • June 21, 2011
  • 1 reply
  • 0 views

Here is a simple one for checking the status of an Apple Software.
It's a real pain when Mac Mini Servers RAIDs get degraded.

#!/bin/sh

#get RAID Status

status=diskutil appleRAID list | grep "Status:" | awk '{print $2}'

echo "<result>$status</result>"

--
Doug Hanley doug at mac-tek.com - 702-396-0697 Apple Certified Systems Administrator - Apple Certified Trainer Apple Certified Support Professional - Apple Certified Technical Coordinator
MacTEK Consulting & Training - http://www.Mac-TEK.com Apple Authorized Training Center (IT & Pro Apps) - Adobe Authorized Training Center
Apple Consultants Network Member - Apple Authorized Service Provider

1 reply

Forum|alt.badge.img+8
  • Contributor
  • 103 replies
  • June 21, 2011

Thanks Doug! This will be handy as we have a few of those around.

Tom


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings