Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: henry44 on November 03, 2009, 03:59:18 AM
-
Thanks to all those that helped me solve the last problem I had.
Now I have a new issue that involves the back-up to tape system. It worked, now it doesn't. According to the web interface, there is about 8gb of data to back up. This should fit on a 10gb tape.
Here is the e-mail I get after a failed back-up to tape session. What do I need to do to fix this?
flexbackup version 1.2.1 (http://flexbackup.sourceforge.net)
/etc/flexbackup.conf syntax OK
$keyfile not found in config: default=00-index-key
$buffer_fill_pct not found in config: default=75
$buffer_pause_usec not found in config: default=100
|------------------------------------------------------------
| Checking 'buffer' on this machine... Ok
| Checking /bin/sh on this machine... bash1
|------------------------------------------------------------
| Doing level 0 backup of set all using tar
| All sets = full (1 tapes)
| Rewinding & erasing tape...
| Creating index key 200911020100
| Backup set "full" (/)
| Tape #0
|------------------------------------------------------------
SCSI 2 tape drive:
File number=0, block number=1, partition=0.
Tape block size 0 bytes. Density code 0x19 (DLT 10GB).
Soft error count since last status=0
General status bits on (1010000):
ONLINE IM_REP_EN
|------------------------------------------------------------
| File number 1, tape index 200911020100
| Backup of: /
| Date of this level 0 backup: Mon Nov 02 01:02:25 2009
| Date of last level 0 backup: the epoch
|------------------------------------------------------------
| cd "/" && /tmp/collectexit.6026.sh find . -depth -xdev ! -type s ! -regex \
| "news/articles" ! -regex ".*~"$ -print0 | /tmp/collectexit.6026.sh tar \
| --create --null --files-from=- --ignore-failed-read --same-permissions \
| --no-recursion --totals --label "level 0 / Mon Nov 02 01:02:25 2009 \
| tar+gzip from larry-server" --sparse --atime-preserve -b 64 --file - | \
| /tmp/collectexit.6026.sh gzip -4 | /tmp/collectexit.6026.sh buffer -m \
| 20m -p 75 -s 32k -t -u 100 -B -o "/dev/nst0"
| [ ! -e /tmp/exitstatus.6026 ]
|------------------------------------------------------------
buffer (writer): write of data failed: Input/output error
bytes to write=32768, bytes written=-1, total written 32K
ERROR: non-zero exit from:
buffer -m 20m -p 75 -s 32k -t -u 100 -B -o /dev/nst0
gzip -4
tar --create --null --files-from=- --ignore-failed-read --same-permissions --no-recursion --totals --label level 0 / Mon Nov 02 01:02:25 2009 tar+gzip from larry-server --sparse --atime-preserve -b 64 --file -
find . -depth -xdev ! -type s ! -regex news/articles ! -regex .*~$ -print0
ERROR: exiting
|------------------------------------------------------------
| Backup start: Mon Nov 02 01:02:25 2009
| Backup end: Mon Nov 02 01:02:32 2009
|------------------------------------------------------------
SCSI 2 tape drive:
File number=0, block number=2, partition=0.
Tape block size 0 bytes. Density code 0x19 (DLT 10GB).
Soft error count since last status=0
General status bits on (21010000):
EOT ONLINE IM_REP_EN
|------------------------------------------------------------
| Rewinding...
| Compressing log (all.0.200911020100.gz)
| Linking all.latest.gz -> all.0.200911020100.gz
|------------------------------------------------------------
Backup terminated: backup failed - status: 256
-
I have no experience in using a tape backup in sme server , but this :
http://flexbackup.sourceforge.net/faq.html#Common%20problems0 (http://flexbackup.sourceforge.net/faq.html#Common%20problems0)
Might help in solving the problem.
-
Thanks. I'll give that a try. It should let me find out if the drive is the problem.
-
According to this,
flexbackup version 1.2.1 (http://flexbackup.sourceforge.net)
/etc/flexbackup.conf syntax OK
$keyfile not found in config: default=00-index-key
$buffer_fill_pct not found in config: default=75
$buffer_pause_usec not found in config: default=100
|------------------------------------------------------------
| Checking 'buffer' on this machine... Ok
| Checking /bin/sh on this machine... bash1
|------------------------------------------------------------
| Doing level 0 backup of set all using tar
| All sets = full (1 tapes)
| Rewinding & erasing tape...
| Found index key 200911030100, next file is 2
| Deleting record for 200911030100 file 0
| Deleting record for 200911030100 file 1
|------------------------------------------------------------
| Creating index key 200911040100
| Backup set "full" (/)
| Tape #0
|------------------------------------------------------------
SCSI 2 tape drive:
File number=1, block number=0, partition=0.
Tape block size 0 bytes. Density code 0x19 (DLT 10GB).
Soft error count since last status=0
General status bits on (81010000):
EOF ONLINE IM_REP_EN
|------------------------------------------------------------
| File number 1, tape index 200911040100
| Backup of: /
| Date of this level 0 backup: Wed Nov 04 01:00:12 2009
| Date of last level 0 backup: the epoch
|------------------------------------------------------------
| cd "/" && /tmp/collectexit.22119.sh find . -depth -xdev ! -type s ! \
| -regex "news/articles" ! -regex ".*~"$ -print0 | \
| /tmp/collectexit.22119.sh tar --create --null --files-from=- \
| --ignore-failed-read --same-permissions --no-recursion --totals --label \
| "level 0 / Wed Nov 04 01:00:12 2009 tar+gzip from larry-server" \
| --sparse --atime-preserve -b 64 --file - | /tmp/collectexit.22119.sh \
| gzip -4 | /tmp/collectexit.22119.sh buffer -m 20m -p 75 -s 32k -t -u \
| 100 -B -o "/dev/nst0"
| [ ! -e /tmp/exitstatus.22119 ]
|------------------------------------------------------------
Total bytes written: 11434786816 (11GiB, 554KiB/s)
Kilobytes Out 7724640
|------------------------------------------------------------
| Backup start: Wed Nov 04 01:00:12 2009
| Backup end: Wed Nov 04 06:37:05 2009
|------------------------------------------------------------
SCSI 2 tape drive:
File number=2, block number=0, partition=0.
Tape block size 0 bytes. Density code 0x19 (DLT 10GB).
Soft error count since last status=0
General status bits on (81010000):
EOF ONLINE IM_REP_EN
|------------------------------------------------------------
| Rewinding...
| Removing old level 0 log of all (dated 200910310100)
| Removing old level 0 log of all (dated 200911010100)
| Removing old level 0 log of all (dated 200911020100)
| Removing old level 0 log of all (dated 200911030100)
| Compressing log (all.0.200911040100.gz)
| Linking all.latest.gz -> all.0.200911040100.gz
|------------------------------------------------------------
File Contents (tape index 200911040100)
---------------------------------------------
0 <tape index key>
1 level 0 / Wed Nov 04 01:00:12 2009 tar+gzip from larry-server
The problem has fixed itself. I just wonder how 11gb is being written to a 10gb tape.
-
The problem has fixed itself. I just wonder how 11gb is being written to a 10gb tape.
well.. your dlt tape is a 10/20GB, where 20 is theorycal capacity with data compression on..
if you want/need more info about it, google is right there -->
;-)
-
Maybe a bad tape cartridge ? , swapping it solved the problem ?
-
Maybe a bad tape cartridge ?
'input/output error' suggests that.
-
.....or maybe a dirty head. Run the head cleaner tape.