|
This is a fix we did for a Quantum ATL L500 changer
with a DLT8000-40
in the file chg-zd-mtx. The changer was
reporting "at rest" when the chg-zd-mtx script was looking for
"ONLINE"
Here is the original
--snip--
if [ $offlinestatus -eq 0 ];
then
readyError="offline" while [ -n "$readyError" ]; do readyStatus=`$MT $MTF $tape status 2>&1` readyError=`echo $readyStatus | grep "offline"` done else readyError="" while [ -z "$readyError" ]; do readyStatus=`$MT $MTF $tape status 2>&1` readyError=`echo $readyStatus | egrep "ONLINE"` done fi --snip-- And the edited
--snip--
if [ $offlinestatus -eq 0 ];
then
readyError="offline" while [ -n "$readyError" ]; do readyStatus=`$MT $MTF $tape status 2>&1` readyError=`echo $readyStatus | grep "offline"` done else readyError="" while [ -z "$readyError" ]; do readyStatus=`$MT $MTF $tape status 2>&1` readyError=`echo $readyStatus | egrep "ONLINE | at rest"` --- Here is the change done fi --snip--
Hope this helps someone
-greg
|
- chg-zd-mtx Sandra Panesso
- Re: chg-zd-mtx Thomas Bahls
- chg-zd-mtx Mark Lin
- Re: chg-zd-mtx Don Potter
- Re: chg-zd-mtx Stephen Carville
- Re: chg-zd-mtx Pamela Miller
- chg-zd-mtx Jim Summers
- chg-zd-mtx greg
- chg-zd-mtx Galen Johnson
