I've just spent some time looking into issues I experienced with a new install of an Onstream ADR2.60 ide TBU. This may help as there are some similarities in your report. Basically the backup failed with:
DUMP: Broken pipe
DUMP: The ENTIRE dump is aborted.
I was unable to get a 'dump' backup to work. For testing I changed the following /etc/flexbackup.conf variables:
$blksize = '32';
$erase_rewind_only = 'false';
$erase_tape_all_level_zero = 'false';
$type = 'tar';
Note your 'blksize' should match your drive specifics. The Onstream uses 32.
I then altered /sbin/e-smith/backup as follows:
[root@test e-smith]# cat backup
#!/bin/sh
#------------------------------------------------------------
# DO NOT MODIFY THIS FILE! It is updated automatically by the
# e-smith server and gateway software. Instead, modify the source
# template in the /etc/e-smith/templates directory. For more
# information, see
http://www.e-smith.org.
#
# copyright (C) 1999-2001 e-smith, inc.
#------------------------------------------------------------
# Tape backups are enabled
export PATH=$PATH:/sbin
/sbin/e-smith/signal-event mysql-delete-dumps > /dev/null 2>&1
/sbin/e-smith/signal-event mysql-dump-tables > /dev/null 2>&1
if /bin/mt -f "/dev/nst0" tell > /dev/null 2>&1
then
# Some drives require zeroing the data before
# they can be overwritten.
/bin/mt -f "/dev/nst0" rewind > /dev/null 2>&1
/bin/dd if=/dev/zero of="/dev/nst0" bs=32k count=1 > /dev/null 2>&1
else
echo "Backup aborted: No tape loaded"
exit 1
fi
/usr/bin/flexbackup -fs / -norewind
/usr/bin/flexbackup -fs /boot -norewind
/sbin/e-smith/signal-event mysql-delete-dumps > /dev/null 2>&1
/bin/mt -f "/dev/nst0" rewind
#------------------------------------------------------------
# TEMPLATE END
#------------------------------------------------------------
Note the removal of the 'rewind' after /bin/dd if=/dev/zero ... and the removal/replacement of /usr/bin/flexbackup -fs all. These changes stop the tape drive from rewinding and overwriting itself. I am now able to perform successful tar backup with the Onstream ADR2.60.
Note of course that both '/etc/flexbackup.conf' and '/sbin/e-smith/backup' are templated so after you determine what works, create the appropriate custom template fragments.
Also consider this an alpha report. I'm still testing all backup and restore functionality and have not completed.
Regards,
Darrell