FYI, I looked over your script. "sleep" commands aren't a valid solution,
because every drive and every system is different. It's even worse if the
unit does auto-cleaning. This is a hack, rather than a fix.
You also left about half a dozen real bugs in the script -- if no tape is
loaded and you
Gawd, I'm going to sound like a snop here but your changes are hacks around
the problem rather than simply fixes to the script.
Try the script I'm posting in my next message. Tell me if it doesn't work
perfectly for you.
On Fri, Jan 12, 2001 at 07:23:50PM -0700, Robert Weber wrote:
I put
I put some time into this and I thought I would share.
Thanks, I compiled chg-scsi on my Solaris 8 box with a L280, but had
some kind of timing problem. I could issue a command, it would fail
because the changer wouldn't return any info, then turn around and
issue the same command and
The "patch" I sent last time wouldn't work because I ran the diff wrong,
one more time, here's a better one without the debugging crap:
I should have a semaphore of sorts around the dd's by the end of the day
anyway. I haven't tried the script from Joe Rhett, but if it incorperates
the:
!
I put some time into this and I thought I would share. It took some script
hacking and I'll be the first to admit that it could use some tweaking but
here are the modifications for chg-zd-mtx, to work with mtx-1.2.10, solaris
8, and a L280 tape changer, amanda-2.4.2. I put some sleep commands
Hello Robert,
Joe Rhett already sent an updated chg-zd-mtx script.
Did you try it? Could you try it?
I'm waiting is patch of chg-zd-mtx.sh.in to include it in
the next release of amanda.
Could you work with him so that we have a patch that work
for everyone?
Thanks.
Jean-Louis
On Mon, Jan