BLACK FRIDAY DEALS

Knowledge Base

Allows you to search a variety of questions and answers

Search

Search results

RAID

Simple script that runs the 3ware app and dumps it to a file, then mails it, then deletes it. and crontab to do it daily.

[root@vz1 ~]# more /root/raid.sh

/usr/local/sbin/tw_cli /c0/u0 show > /root/raidstatus.txt
/usr/local/sbin/tw_cli /c1/u0 show >> /root/raidstatus.txt
mail -s "DAILY RAID STATUS 1.1.1.1" email@yourdomain.com < /root/raidstatus.txt
rm -rfv /root/raidstatus.txt > /dev/null 2>&1


I have a root contrab to run it at midnight daily:

0 0 * * * /root/raid.sh > /dev/null 1>&1

Note: just be sure to set the correct /c0/u0 for your specific instance and change the IP as well as well as your email.

See What Our Customers Say

Leave review
A

A.L

IL, United States

AYK Solutions has provided me with a very cost effective hosting service with great uptime and lots...

Read full review
B

Brad

We're Happy with our 1 Gigabit Server AYK Solutions! AYK Solutions provides all our back-end server...

Read full review
V

Valentine

PEMBROKESHIRE, United Kingdom

AYKSolutions is thee best hosting solution I have found in 10 years of searching. I'm very grateful...

Read full review
D

D Smith

Dedicated Semi-Managed Server Review I've been using AYKSolutions for about 2 years now and their su...

Read full review
ARIN Cisco Supermicro cPanel Intel Microsoft