[Veritas-bu] Re: Bad Media
2000-06-21 10:25:11
Place this in cron have it run every 15 - 30 minutes
(depending on how busy your environment is)
BEGIN SCRIPT DRIVEWATCH
!/bin/sh
# Add interested parties below:
someone_who_cares=YOURADDR@HERE
/usr/openv/volmgr/bin/vmoprcmd -d ds |
grep DOWN >/dev/null 2>&1
if [ $? -ne 1 ];then
echo "Please check DLT drives on MASTER:
`/usr/openv/volmgr/bin/vmoprcmd -d ds`
Will attempt to place drive(s) in UP status" >
/tmp/drivecheck
echo "" >> /tmp/drivecheck
for i in `/usr/openv/volmgr/bin/vmoprcmd -d ds
| tail +5 | grep DOWN|awk '{print $1}'`
do
/usr/openv/volmgr/bin/vmoprcmd -up $i
done
echo "***Check all logs to determine cause.***" >>\
/tmp/drivecheck
/usr/openv/volmgr/bin/vmoprcmd -d ds >> /tmp/drivecheck
cat /tmp/drivecheck | /usr/ucb/mail -s "DLT Drives" \
$someone_who_cares
fi
This works for me ...
David Chapa
DataStaff, Inc.
Quoting Shane Garvey <Shane.Garvey AT xilinx DOT com>:
> Hi Folks,
>
> >From time-to-time I get a bad DLT7000 cartridge
which causes the
> client backup to fail and the drive is downed as a
result.
> Is there anyway to get around this problem ?
>
> I have a Sun L3500 (rebadged ATL 7x00 series )tape
library.
> I am running Netbackup 3.2 on solaris 2.6.
>
> Any suggestions would be greatly appreciated.
>
> thanks
> shane.
> _______________________________________________
> Veritas-bu maillist - Veritas-
bu AT mailman.eng.auburn DOT edu
>
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-
bu
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
David A. Chapa 847 413 1144 p
Consulting Practice Mgr. 847 413 1168 f
DataStaff, Inc. http://www.datastaff.com
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Veritas-bu] Re: Bad Media,
David A . Chapa david <=
|
|
|