Koozali.org: home of the SME Server

My backup stopped working...

henrikmc

My backup stopped working...
« on: June 07, 2006, 03:54:55 PM »
SME 6.01.01
Error from log:

|------------------------------------------------------------
| Doing level 0 backup of set all using tar
| All sets = full (1 tapes)
| Rewinding & erasing tape...
| Creating index key 200606062000
| Backup set full (/ /boot)
| Tape #0
|------------------------------------------------------------
At block -822083584.
|------------------------------------------------------------
| File number 1, tape index 200606062000
| Backup of: /
| Date of this level 0 backup: Tue Jun 06 20:00:05 2006
| Date of last level 0 backup: the epoch
|------------------------------------------------------------
| cd "/" && find . -depth -xdev ! -type s ! -regex "news/articles" ! -regex
|   ".*~"$ -print0 | tar --create --null --files-from=-
|   --ignore-failed-read --same-permissions --no-recursion --totals --label
|   "level 0 / Tue Jun 06 20:00:05 2006 tar+gzip from andreasserver"
|   --sparse --atime-preserve -b 20 --file - | gzip -4 | buffer -m 3m -s
|   10k -u 100 -t -p 75 -B -o "/dev/nst0"
|------------------------------------------------------------
buffer (writer): write of data failed: Invalid argument
bytes to write=10240, bytes written=-1, total written          0K

ERROR from backup, exiting
offending command(s):
cd "/" && find . -depth -xdev ! -type s ! -regex "news/articles" ! -regex ".*~"$ -print0 | tar --create --null --files-from=- --ignore-failed-read --same-permissions --no-recursion --totals --label "level 0 / Tue Jun 06 20:00:05 2006 tar+gzip from andreasserver" --sparse --atime-preserve -b 20 --file - | gzip -4 | buffer -m 3m -s 10k -u 100 -t -p 75 -B -o "/dev/nst0"

I can't figure out why its not working. Maybe a faulty tape? The system has locked the tape, making the eject button useless.  :idea:

webweave

My backup stopped working...
« Reply #1 on: June 08, 2006, 03:24:49 PM »
Hi, I was looking for a solution to almost the same problem and found your posting from yesterday!

I'm using the SME 6.0.1 version stock running on an IBM eServer with IBM tape drive and scsi card. Everything used to work fine until this message now the tapes have trouble ejecting as well. Have tried a new tape unit, same problem. (hey, it seamed mechanical)


==================================
         COPY OF MESSAGE SENT TO ADMIM
==================================

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

|------------------------------------------------------------
| Checking 'buffer' on this machine... Ok
| Checking /bin/sh on this machine... bash2
|------------------------------------------------------------
| Doing level 0 backup of set all using tar
| All sets = full (1 tapes)
| Rewinding & erasing tape...
| Found index key 200605090001, next file is 3
| Deleting record for 200605090001 file 0
| Deleting record for 200605090001 file 1
| Deleting record for 200605090001 file 2
|------------------------------------------------------------
| Creating index key 200606080001
| Backup set full (/ /boot)
| Tape #0
|------------------------------------------------------------
At block 0.
|------------------------------------------------------------
| File number 1, tape index 200606080001
| Backup of: /
| Date of this level 0 backup: Thu Jun 08 00:01:28 2006
| Date of last level 0 backup: the epoch
|------------------------------------------------------------
| cd "/" && find . -depth -xdev ! -type s ! -regex "news/articles" ! -regex
|   ".*~"$ -print0 | tar --create --null --files-from=-
|   --ignore-failed-read --same-permissions --no-recursion --totals --label
|   "level 0 / Thu Jun 08 00:01:28 2006 tar+gzip from e-smith" --sparse
|   --atime-preserve -b 20 --file - | gzip -4 | buffer -m 3m -s 10k -u 100
|   -t -p 75 -B -o "/dev/nst0"
|------------------------------------------------------------
buffer (writer): write of data failed: Input/output error
bytes to write=10240, bytes written=-1, total written         10K

ERROR from backup, exiting
offending command(s):
cd "/" && find . -depth -xdev ! -type s ! -regex "news/articles" ! -regex ".*~"$ -print0 | tar --create --null --files-from=- --ignore-failed-read --same-permissions --no-recursion --totals --label "level 0 / Thu Jun 08 00:01:28 2006 tar+gzip from e-smith" --sparse --atime-preserve -b 20 --file - | gzip -4 | buffer -m 3m -s 10k -u 100 -t -p 75 -B -o "/dev/nst0"
Backup terminated: backup failed - status: 256