[flexbackup-help] I/O Error

2010-03-05 Thread Niall Brosnan
Hi André
Have you access to the flexbackup.conf from the old machine?
The archive may not even be in afio format. It may not be compressed with
gzip. It may not be compressed at all.
Depending on the admin's normal practice, they may have chosen cpio or tar
format as a preferred format.
Leave out as many of the buffer commands and flexbackup flags as you can for
now, and concentrate first on analysing your tape.
You could 'dd' a few blocks from the next archive into a 'file -' command to
get an opinion on format.
Try piping it into 'pax' for a listing, as it will also analyse and read
several formats.
Once you know what you have,
Adjust flexbackup.conf accordingly and it will allow you work with the
tapes.
I've used flexbackup for years on lots of platforms, and have been very
happy with it. The one 'gotcha' these days that stops me using it for home
directories is the seemingly unavoidable error with .gvfs directories for
gnome users.
Its local, remote and mirroring methods make for a great first tool to turn
to for regular backups and snapshots.
Hope you get your problem sorted,
Niall Brosnan

_
flexbackup-help mailing list
flexbackup-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexbackup-help
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
flexbackup-help mailing list
flexbackup-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexbackup-help


Re: [flexbackup-help] I/O Error

2010-03-05 Thread Kristian Rink
Am 05.03.2010 00:07, schrieb André Tenreiro:

> atenre...@intranet:~$ sudo afio -t /dev/nst0
> afio: "/dev/nst0" [offset 0]: Cannot allocate memory
> afio: "/dev/nst0": Input does not start with valid archive header.
> afio: "/dev/nst0": Use the -k option to start reading in the middle of an 
> archive.

Hmmm... did you actually try -k , as afio requested you to do? It might 
be helpful in some situations. Given you're somewhere in the middle of 
the tape, this would perfectly explain the message IMHO.

Other way 'round, however, maybe adding a "-v" to make afio a little 
more verbose also doesn't hurt. ;)

K.


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
flexbackup-help mailing list
flexbackup-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexbackup-help


Re: [flexbackup-help] I/O Error

2010-03-04 Thread André Tenreiro
Hello,

I applied the patch successfully the problems persists.

Maybe is an afio syntax error?


Here is the output:


andre...@intranet:~$ sudo buffer -m 10m -p 75 -s 10k -t -u 100 -i "/dev/nst0" | 
sudo afio -t -z -D /usr/bin/flexbackup -P gzip -Q -d -Q -q -Z -v -b 10k

Usage: [filename generator] | afio -o [options] archive  : write archive
afio -i [options] archive  : install archive
afio -t [options] archive  : list table-of-contents of archive
afio -r [options] archive  : verify archive against filesystem
Frequently used options:
 General: -v : verbose
  -Z : with -o: gzip files when writing them to the archive,
   with -i/t/r: handle archive written with -Z option
  -5 : abort instead of creating archive incompatible with cpio
 Tape:-s [volsize]   : size of volume, can have suffix k or m or g
  -b [blocksize] : block size (default is 5120)
  -c [count] : buffer count blocks between doing I/O
 Install: -n : protect newer files  -k : skip corrupt data at beginning
 Select:  -y [pattern] : only process files matching pattern
  -Y [pattern] : do not process files matching pattern
Version 2.5 dated 21 Dec 2003
buffer (reader): failed to read input: Cannot allocate memory
andre...@intranet:~$



__
André Tenreiro
IT Manager
 
ACTIVE SPACE TECHNOLOGIES
Tel: +351 239 700 333
Fax: +351 239 700 301
www.activespacetech.com

- Original Message -
From: "John R. Graham" 
To: r...@planconnect.de, flexbackup-help@lists.sourceforge.net
Sent: Thursday, 4 March, 2010 15:38:27 GMT +00:00 GMT Britain, Ireland, Portugal
Subject: Re: [flexbackup-help] I/O Error

This is a flexbackup bug.  The attached patch addresses the issue with 
identifying later versions of bash.

- John


-Original Message-
>From: Kristian Rink 
>Sent: Mar 4, 2010 3:20 AM
>To: flexbackup-help@lists.sourceforge.net
>Subject: Re: [flexbackup-help] I/O Error
>
>André;
>
>not really sure about how to resolve this as we're not using flexbackup
>that often anymore, but we still make use of an afio based backup solution:
>
>
>André Tenreiro schrieb:
>> |
>> | Checking 'buffer' on this machine... Ok
>> | Checking /bin/sh on this machine... unknown
>> |
>> | Logging output to "flexbackup.list.201003040224.log"
>> | Reading from CURRENT TAPE POSITION
>> |
>> At block 1.
>> |
>> | buffer -m 10m -p 75 -s 10k -t -u 100 -i "/dev/nst0" | afio -t -z -D \
>> |   /usr/bin/flexbackup -P gzip -Q -d -Q -q -Z -v   -b 10k -
>
>Leaving out all this "magic", did you so far already try using "plain"
>afio to list or extract things off your tape? I'd try
>
>afio -t /dev/nst0
>
>or
>
>afio -i /dev/nst0
>
>to see whether, after all, it is generally possible to get data off your
>tape in your given environment. This way, you eventually might be
>capable of making sure at least your tape is fine...
>
>K.
>
>
>--
>Download Intel® Parallel Studio Eval
>Try the new software tools for yourself. Speed compiling, find bugs
>proactively, and fine-tune applications for parallel performance.
>See why Intel Parallel Studio got high marks during beta.
>http://p.sf.net/sfu/intel-sw-dev
>___
>flexbackup-help mailing list
>flexbackup-help@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/flexbackup-help



--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
flexbackup-help mailing list
flexbackup-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexbackup-help

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
flexbackup-help mailing list
flexbackup-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexbackup-help


Re: [flexbackup-help] I/O Error

2010-03-04 Thread André Tenreiro
Hello,

Thanks for the reply. I tried these comments, here is the output:

atenre...@intranet:~$ sudo afio -t /dev/nst0
afio: "/dev/nst0" [offset 0]: Cannot allocate memory
afio: "/dev/nst0": Input does not start with valid archive header.
afio: "/dev/nst0": Use the -k option to start reading in the middle of an 
archive.
afio: "/dev/nst0" [offset 6]: Fatal error:
afio: "/dev/nst0": Unrecognizable archive
atenre...@intranet:~$

atenre...@intranet:~$ sudo afio -i /dev/nst0
afio: "/dev/nst0": No input
atenre...@intranet:~$


I did not create the tape, as so, I cannot be 100% sure if the tape was 
correctly created.

I'm willing to pay someone to help me to fix this problem. 


Thanks!

AT

- Original Message -
From: "Kristian Rink" 
To: flexbackup-help@lists.sourceforge.net
Sent: Thursday, 4 March, 2010 08:20:22 GMT +00:00 GMT Britain, Ireland, Portugal
Subject: Re: [flexbackup-help] I/O Error

André;

not really sure about how to resolve this as we're not using flexbackup
that often anymore, but we still make use of an afio based backup solution:


André Tenreiro schrieb:
> |
> | Checking 'buffer' on this machine... Ok
> | Checking /bin/sh on this machine... unknown
> |
> | Logging output to "flexbackup.list.201003040224.log"
> | Reading from CURRENT TAPE POSITION
> |
> At block 1.
> |
> | buffer -m 10m -p 75 -s 10k -t -u 100 -i "/dev/nst0" | afio -t -z -D \
> |   /usr/bin/flexbackup -P gzip -Q -d -Q -q -Z -v   -b 10k -

Leaving out all this "magic", did you so far already try using "plain"
afio to list or extract things off your tape? I'd try

afio -t /dev/nst0

or

afio -i /dev/nst0

to see whether, after all, it is generally possible to get data off your
tape in your given environment. This way, you eventually might be
capable of making sure at least your tape is fine...

K.


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
flexbackup-help mailing list
flexbackup-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexbackup-help

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
flexbackup-help mailing list
flexbackup-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexbackup-help


Re: [flexbackup-help] I/O Error

2010-03-04 Thread John R. Graham
This is a flexbackup bug.  The attached patch addresses the issue with 
identifying later versions of bash.

- John


-Original Message-
>From: Kristian Rink 
>Sent: Mar 4, 2010 3:20 AM
>To: flexbackup-help@lists.sourceforge.net
>Subject: Re: [flexbackup-help] I/O Error
>
>André;
>
>not really sure about how to resolve this as we're not using flexbackup
>that often anymore, but we still make use of an afio based backup solution:
>
>
>André Tenreiro schrieb:
>> |
>> | Checking 'buffer' on this machine... Ok
>> | Checking /bin/sh on this machine... unknown
>> |
>> | Logging output to "flexbackup.list.201003040224.log"
>> | Reading from CURRENT TAPE POSITION
>> |
>> At block 1.
>> |
>> | buffer -m 10m -p 75 -s 10k -t -u 100 -i "/dev/nst0" | afio -t -z -D \
>> |   /usr/bin/flexbackup -P gzip -Q -d -Q -q -Z -v   -b 10k -
>
>Leaving out all this "magic", did you so far already try using "plain"
>afio to list or extract things off your tape? I'd try
>
>afio -t /dev/nst0
>
>or
>
>afio -i /dev/nst0
>
>to see whether, after all, it is generally possible to get data off your
>tape in your given environment. This way, you eventually might be
>capable of making sure at least your tape is fine...
>
>K.
>
>
>--
>Download Intel® Parallel Studio Eval
>Try the new software tools for yourself. Speed compiling, find bugs
>proactively, and fine-tune applications for parallel performance.
>See why Intel Parallel Studio got high marks during beta.
>http://p.sf.net/sfu/intel-sw-dev
>___
>flexbackup-help mailing list
>flexbackup-help@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/flexbackup-help




flexbackup-1.2.1-bash.patch
Description: Binary data
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
flexbackup-help mailing list
flexbackup-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexbackup-help


Re: [flexbackup-help] I/O Error

2010-03-04 Thread Kristian Rink
André;

not really sure about how to resolve this as we're not using flexbackup
that often anymore, but we still make use of an afio based backup solution:


André Tenreiro schrieb:
> |
> | Checking 'buffer' on this machine... Ok
> | Checking /bin/sh on this machine... unknown
> |
> | Logging output to "flexbackup.list.201003040224.log"
> | Reading from CURRENT TAPE POSITION
> |
> At block 1.
> |
> | buffer -m 10m -p 75 -s 10k -t -u 100 -i "/dev/nst0" | afio -t -z -D \
> |   /usr/bin/flexbackup -P gzip -Q -d -Q -q -Z -v   -b 10k -

Leaving out all this "magic", did you so far already try using "plain"
afio to list or extract things off your tape? I'd try

afio -t /dev/nst0

or

afio -i /dev/nst0

to see whether, after all, it is generally possible to get data off your
tape in your given environment. This way, you eventually might be
capable of making sure at least your tape is fine...

K.


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
flexbackup-help mailing list
flexbackup-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexbackup-help


[flexbackup-help] I/O Error

2010-03-03 Thread André Tenreiro
Hello guys,

I'm trying to restore a tape that was saved using FlexBackup tool.
Unfortunately I'm having these errors that are driving me nuts! Anyone could 
help me to fix the problem?


### TOC 

atenre...@intranet:~$ sudo flexbackup -toc

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
|
| Found index key 200704240342, next file is 1
|
Key 200704240342 not found in index



### LIST ###

atenre...@intranet:~$ sudo flexbackup -list

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
|
| Logging output to "flexbackup.list.201003040224.log"
| Reading from CURRENT TAPE POSITION
|
At block 1.
|
| buffer -m 10m -p 75 -s 10k -t -u 100 -i "/dev/nst0" | afio -t -z -D \
|   /usr/bin/flexbackup -P gzip -Q -d -Q -q -Z -v   -b 10k -
|
Kilobytes Out 0
afio: "-": No input
|
At block 1.
|
atenre...@intranet:~$



--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
flexbackup-help mailing list
flexbackup-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexbackup-help