Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: brian read on August 14, 2002, 08:55:05 PM
-
I am using 5.1.2 and a Tr4 10/20 gb IDE tape.
It responds to "/bin/mt -rewind" etc.
However when I run the /sbin/e-smithj/backup
it does not seem to complete the backup, and I get:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
flexbackup version 0.9.8
/etc/flexbackup.conf syntax OK
|------------------------------------------------
| Trying "mt defblksize" instead of "mt setblk"
| Doing level 0 backup of all using dump
| Retensioning tape...
| Rewinding & erasing tape...
| Creating index key 200208141623.29
| Tape #0
| Filesystems =
|------------------------------------------------
At block 85.
|------------------------------------------------
| Rewinding...
| Compressing log (all.0.20020814.gz)
| Linking all.latest.gz -> all.0.20020814.gz
|------------------------------------------------
File Contents (tape index 200208141623.29)
-----------------------------------------------
0
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<,
and when I follow Darrell's howto to list the files, it gives me:
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
|------------------------------------------------
| Trying "mt defblksize" instead of "mt setblk"
| Reading from current tape position
|------------------------------------------------
At block 85.
|------------------------------------------------
| buffer -m 3m -s 10k -u 100 -t -p 75 -B -i /dev/nst0 | gzip -dq | restore -t \
| -v -b 10 -f -
|------------------------------------------------
Kilobytes Out 0
gzip: stdin: unexpected end of file
restore: Tape is not a dump tape
Verify tape and initialize maps
End-of-tape encountered
|------------------------------------------------
At block 85.
|------------------------------------------------
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Any ideas?
I tried "newtape" (as per an earlier posting), and also Darrell's tip to force the erase.
Cheers
Brian
-
brian read wrote:
> | Filesystems =
'Filesystems = ' is not good :-( This should read 'Filesystems = / /boot'. Check the templated /etc/flexbackup.conf file for template/output errors.
Darrell
-
Darrell
many thanks, the flexbackup.conf file had
filesystem[0] = ''
in it.
I editted it, and the backup whent through, am about to restore it on 5.5 now.
cheers
Brian
-
SME 5.5
Segate Travan 40G
If I run the command manually it works.
(dump -0 -b 10 -a -f - / | gzip -4) | buffer -m 3m -s 10k -u 100 -t -p 75 -B \
| -o /dev/nst0
If I run the script "backup", the buffer writer fails. Any ideas?
flexbackup version 0.9.8
/etc/flexbackup.conf syntax OK
|------------------------------------------------
| Trying "mt defblksize" instead of "mt setblk"
| Doing level 0 backup of all using dump
| Retensioning tape...
| Rewinding & erasing tape...
| Creating index key 200208161551.22
| Tape #0
| Filesystems = / /boot
|------------------------------------------------
At block 64.
|------------------------------------------------
| File number 1, index key 200208161551.22
| Backup of: /
| Date of this level 0 backup: Fri Aug 16 15:51:22 2002
| Date of last level 0 backup: the epoch
|------------------------------------------------
| (dump -0 -b 10 -a -f - / | gzip -4) | buffer -m 3m -s 10k -u 100 -t -p 75 -B \
| -o /dev/nst0
|------------------------------------------------
DUMP: Date of this level 0 dump: Fri Aug 16 15:51:22 2002
DUMP: Dumping /dev/hda6 (/) to standard output
DUMP: Added inode 7 to exclude list (resize inode)
DUMP: Label: /
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 538497 tape blocks.
DUMP: Volume 1 started with block 1 at: Fri Aug 16 15:51:49 2002
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
buffer (writer): write of data failed: Input/output error
bytes to write=10240, bytes written=-1, total written 30K
DUMP: Broken pipe
DUMP: The ENTIRE dump is aborted.
|------------------------------------------------
| Backup start: Fri Aug 16 15:51:22 2002
| Backup end: Fri Aug 16 15:51:59 2002
|------------------------------------------------
At block 64.
|------------------------------------------------
-
Try running it again without removing and re-inserting the tape. If it works (and I suspect it will), it seems to be a problem I've been having. It's been reported as a bug to the developers (at Mitel).
DesDougan
-
I tried running the command twice, same behavior.....
Here is what I see in the /var/log/messages file.....
Aug 16 17:03:31 ns kernel: st0: Error with sense data: [valid=0] Info fld=0x0, Current st09:00: sense key Illegal Request
Aug 16 17:03:31 ns kernel: Additional sense indicates Invalid command operation code
-
John E. Phillips wrote:
>
> SME 5.5
> Segate Travan 40G
>
> If I run the command manually it works.
> (dump -0 -b 10 -a -f - / | gzip -4) | buffer -m 3m -s 10k -u
> 100 -t -p 75 -B \
> | -o /dev/nst0
>
> If I run the script "backup", the buffer writer fails. Any
> ideas?
No, but let'd find out. Run this command:
/sbin/strace -f -o/tmp/backup /sbin/e-smith/backup
and then send /tmp/backup to bugs@e-smith.com, along with your explanation above as to what the problem is, and a description of what you have done.
Thanks
Charlie
-
Charlie,
I ran the trace as you suggested and sent the tracefile to bugs@esmith but haven't heard anything from them.
Do you know who might have looked into this?
-
I have exactly the same problem as John Phillips. If u get any information on the problem plz post it here, cause I have no idea what to do.