hello i can't get flexbackup to work on my freebsd 4.8 system

below are outputs of manual and flexbackup -test-tape-drive and attached is
my current flexbackup.conf

i don't know what i set wrong in the config file orsomething
hopefuly u could point me in the right direction
did the manual backup with only the difference i used
mt -f /dev/sa0 blo 32768  instead of
mt -f /dev/sa0 setblk 32768  <wich gave this error

UnixServ# mt -f /dev/sa0 setblk 32768
mt: setblk: unknown command
UnixServ#

UnixServ#
UnixServ# find /etc/isdn -print | afio -o -z -v -b 32k - | dd ibs=32k
obs=32k of=/dev/sa0
etc/isdn -- okay
etc/isdn/answer -- okay
etc/isdn/isdntel.sh -- okay
etc/isdn/record -- okay
etc/isdn/tell -- okay
etc/isdn/tell-record -- okay
etc/isdn/unknown_incoming -- okay
etc/isdn/holidays.D -- okay
etc/isdn/isdnd.rates.A -- okay
etc/isdn/isdnd.rates.D -- okay
etc/isdn/isdnd.rates.F -- okay
etc/isdn/isdnd.rates.L -- okay
etc/isdn/isdnd.rates.UK.BT -- okay
etc/isdn/isdnd.rc.sample -- okay
etc/isdn/isdntel.alias.sample -- okay
afio: 64k+0 bytes written in 0 seconds. The operation was successful.
2+0 records in
2+0 records out
65536 bytes transferred in 0.019831 secs (3304735 bytes/sec)

UnixServ# mt -f /dev/sa0 status
Mode      Density              Blocksize      bpi      Compression
Current:  0x25:DDS-3           32768 bytes    97000    DCLZ
---------available modes---------
0:        0x25:DDS-3           32768 bytes    97000    DCLZ
1:        0x25:DDS-3           32768 bytes    97000    DCLZ
2:        0x25:DDS-3           32768 bytes    97000    DCLZ
3:        0x25:DDS-3           32768 bytes    97000    DCLZ
---------------------------------
Current Driver State: at rest.
---------------------------------
File Number: 0  Record Number: 0        Residual Count 0
UnixServ#

UnixServ# mt -f /dev/sa0 rewind
UnixServ#


UnixServ# dd ibs=32k obs=32k if=/dev/sa0 | afio -t -z -v -b 32k -
drwx------  1 root     wheel             Dec  2 22:30:27 2003 etc/isdn
-rwx------  1 root     wheel        1763 Apr  3 10:55:41 2003
etc/isdn/answer
-rwx------  1 root     wheel        1811 Apr  3 10:55:41 2003
etc/isdn/isdntel.s
h
-rwx------  1 root     wheel        1860 Apr  3 10:55:41 2003
etc/isdn/record
-rwx------  1 root     wheel        1640 Apr  3 10:55:41 2003 etc/isdn/tell
-rwx------  1 root     wheel        1714 Apr  3 10:55:41 2003
etc/isdn/tell-reco
rd
-rwx------  1 root     wheel        1921 Apr  3 10:55:41 2003
etc/isdn/unknown_i
ncoming
-rw-------  1 root     wheel        1386 Apr  3 10:55:41 2003
etc/isdn/holidays.
D
-rw-------  1 root     wheel        1487 Apr  3 10:55:41 2003
etc/isdn/isdnd.rat
es.A
-rw-------  1 root     wheel        2670 Apr  3 10:55:41 2003
etc/isdn/isdnd.rat
es.D
-rw-------  1 root     wheel        6711 Apr  3 10:55:41 2003
etc/isdn/isdnd.rat
es.F
-rw-------  1 root     wheel        1920 Apr  3 10:55:41 2003
etc/isdn/isdnd.rat
es.L
-rw-------  1 root     wheel        2811 Apr  3 10:55:41 2003
etc/isdn/isdnd.rat
es.UK.BT
-rw-------  1 root     wheel       13818 Apr  3 10:55:41 2003
etc/isdn/isdnd.rc.
sample
-rw-------  1 root     wheel         667 Apr  3 10:55:41 2003
etc/isdn/isdntel.a
lias.sample
afio: 42k+714 bytes read in 0 seconds. The operation was successful.
2+0 records in
2+0 records out
65536 bytes transferred in 0.044576 secs (1470207 bytes/sec)
UnixServ#








UnixServ# flexbackup -test-tape-drive

flexbackup version 1.2.1 (http://flexbackup.sourceforge.net)
/etc/flexbackup.conf syntax OK

|------------------------------------------------------------
| Checking 'buffer' on this machine... Ok
| Checking /bin/sh on this machine... unknown (probably Bourne Shell)
|------------------------------------------------------------
/dev/sa0: old model was 1 filemark at EOT
/dev/sa0: new model  is 1 filemark at EOT
| Testing will *erase* the tape currently in the drive!
| Hit CTRL-C to abort within 10 seconds...
|------------------------------------------------------------
| If for some reason this program does not exit within a few minutes,
| Hit CTRL-C, and try adjusting $blksize, $pad_blocks, or $mt_blksize.
|------------------------------------------------------------
| Rewinding & erasing tape...
|------------------------------------------------------------
/dev/sa0: hardware block location 0

Writing test file #1
Kilobytes Out 192
/dev/sa0: hardware block location 0
Writing test file #2
Kilobytes Out 64
/dev/sa0: hardware block location 0
Writing test file #3
Kilobytes Out 192
/dev/sa0: hardware block location 0

Rewinding...
/dev/sa0: hardware block location 0

Reading test file #1
Kilobytes Out 192
/dev/sa0: hardware block location 0
Reading test file #2
Kilobytes Out 0
/dev/sa0: hardware block location 0
Reading test file #3
Kilobytes Out 192
/dev/sa0: hardware block location 0

Comparing...
Files /etc/flexbackup.conf and /tmp/test2.729 differ

FAILURE! Problem with tape driver or parameters.  Please see the FAQ
or try changing the $blksize, $pad_blocks, or $mt_blksize settings.


additional info

sa0 at adv0 bus 0 target 6 lun 0
sa0: <HP C1537A L708> Removable Sequential Access SCSI-2 device
sa0: 10.000MB/s transfers (10.000MHz, offset 15)
(sa0:adv0:0:6:0): Invalid request.  Fixed block device requests must be a
multiple of 65536 bytes
(sa0:adv0:0:6:0): Invalid request.  Fixed block device requests must be a
multiple of 65536 bytes
(sa0:adv0:0:6:0): Invalid request.  Fixed block device requests must be a
multiple of 65536 bytes
(sa0:adv0:0:6:0): Invalid request.  Fixed block device requests must be a
multiple of 65536 bytes
UnixServ#

frank

Attachment: flexbackup.conf
Description: Binary data

Reply via email to