[ Max Kalika wrote: ]
> Not just to disk, but to multiple tape drives as well. I run flexbackup
> with the following for a level 0 dump to two tape drives:
> 
> ( \
>   /usr/bin/flexbackup -device /dev/tapes/tape0/mtn -newtape && \
>   /usr/bin/flexbackup -device /dev/tapes/tape0/mtn -set DLT80 -level 0 \
> ) &>/dev/null &
> ( \
>   /usr/bin/flexbackup -device /dev/tapes/tape1/mtn -newtape && \
>   /usr/bin/flexbackup -device /dev/tapes/tape1/mtn -set SDLT320 -level 0 \
> ) &>/dev/null &
> 
> As you can see, I start two flexbackup runs in the background at the same
> time.


Ahh... different from what I was thinking.  Your problem has nothing to do
with the sets or filesystems, actually. 

The problem you have is that both tapes have the same index number, since
the newtape parts happen in parallel (and during same second).

Run only the newtape parts sequentially; then you can do the set backups in
parallel without any issues.

Like this:

  flexbackup -device /dev/tapes/tape0/mtn -newtape
  flexbackup -device /dev/tapes/tape1/mtn -newtape
  flexbackup -device /dev/tapes/tape0/mtn -set DLT80 -level 0 &
  flexbackup -device /dev/tapes/tape1/mtn -set SDLT320 -level 0 &


Optionally put a 'sleep 1' in between the -newtape lines if you still have
problems.  For the future I'll use a longer/different key, or at the very
least make sure -newtape waits a second so the conflicting tape index keys
won't ever happen.

 -Edwin


-- 
 Edwin Huffstutler 
 [EMAIL PROTECTED]   GnuPG Key ID: AE782DC9


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
flexbackup-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/flexbackup-help

Reply via email to