Re: amanda and pigz

2014-02-18 Thread Stefan G. Weichinger
Am 03.02.2014 15:29, schrieb Jean-Louis Martineau:
> On 01/27/2014 01:35 PM, Stefan G. Weichinger wrote:
>> Do I have to use a specific version of amanda (newer than release X) to
>> make use of pigz?
> 
> I tested 3.3.6 using pigz as a client-compress-custom options and
> amrestore can restore it.
> 
> I don't know exactly what's the problem, so I can't tell you when it was
> fixed.

Sorry to say ... I still see this issue on 2 servers.
My own amanda server runs (current official stable) 3.3.5 ...

I tested (hostname: hiro, config: daily, DLE: pigz) ->

When I amrestore the very same DLE from the holdingdisk (before having
flushed it) it works:

# amrestore --config daily --holding
/mnt/amhold/daily/20140218165332/hiro.oops.intern.pigz.1  hiro pigz

I get the file:

$ file hiro.oops.intern.pigz.20140218165332.1.001
hiro.oops.intern.pigz.20140218165332.1.001: POSIX tar archive (GNU)

and it is possible to untar it correctly.

I flushed this to tape:

$ amflush -b daily hiro pigz

and tried to restore it:

$ amrestore --config daily /dev/nst0 hiro pigz
Restoring from tape daily04 starting with file 1.
amrestore: 1: restoring split dumpfile: date 20140218165332 host
hiro.oops.intern disk pigz part 1/UNKNOWN lev 1 comp cust program
/bin/tar client_custom_compress /usr/bin/pigz
ERROR: /usr/bin/pigz exited with status 2

What about this error?

The fun part is that I get

hiro.oops.intern.pigz.20140218165332.1.001

again!


So it might be some small cosmetic issue?
Maybe you use another version of pigz, JL?

I have pigz 2.3.1 here (gentoo linux).

Maybe some other amanda user feels helpful and wants to test something
similar on his boxes?

Thanks, Stefan



error: "ERROR: fiume.localnet usr: data-path is AMANDA but device do not support it"

2014-02-18 Thread Charles Stroom
I noticed the following when I do an amcheck:
"
Amanda Tape Server Host Check
-
Holding disk /work/amanda/dumps: 29732864 KB disk space available,
using 29528064 KB slot 1: volume 'dds4-03'
Will write to volume 'dds4-03' in slot 1.
NOTE: skipping tape-writable test
Server check took 3.753 seconds

Amanda Backup Client Hosts Check

Client check: 2 hosts checked in 2.384 seconds.  0 problems found.

(brought to you by Amanda 3.3.5)
"

This looks fine, but if I only take the tape out (single dds4 tape
drive, no changer), I get:
"
Amanda Tape Server Host Check
-
Holding disk /work/amanda/dumps: 29732864 KB disk space available, using 
29528064 KB
slot 1: Tape device /dev/nst1 is not ready or is empty
 all slots have been loaded
Taper scan algorithm did not find an acceptable volume.
(expecting volume 'dds4-03' or a new volume)
ERROR: No acceptable volumes found
ERROR: fiume.localnet usr: data-path is AMANDA but device do not support it
ERROR: fiume.localnet Homes: data-path is AMANDA but device do not support it
ERROR: fiume.localnet home-charles: data-path is AMANDA but device do not 
support it
ERROR: fiume.localnet Pictures_rest: data-path is AMANDA but device do not 
support it
ERROR: fiume.localnet Pictures_800IS: data-path is AMANDA but device do not 
support it
ERROR: fiume.localnet Pictures_G2: data-path is AMANDA but device do not 
support it
ERROR: fiume.localnet Wine: data-path is AMANDA but device do not support it
ERROR: fiume.localnet Hobbies: data-path is AMANDA but device do not support it
ERROR: fiume.localnet Mail: data-path is AMANDA but device do not support it
ERROR: fiume.localnet Vbox-2: data-path is AMANDA but device do not support it
ERROR: fiume.localnet Vbox-1: data-path is AMANDA but device do not support it
ERROR: fiume.localnet root: data-path is AMANDA but device do not support it
ERROR: stremen.localnet my_data: data-path is AMANDA but device do not support 
it
Server check took 0.262 seconds

Amanda Backup Client Hosts Check

Client check: 2 hosts checked in 2.389 seconds.  0 problems found.

(brought to you by Amanda 3.3.5)
"

Odd, whatever it means.

Regards, Charles






-- 
Charles Stroom
email: charles at no-spam.stremen.xs4all.nl (remove the "no-spam.")


Re: Understanding disklist format

2014-02-18 Thread Charles Stroom
Thanks, it worked, multiple includes are possible with the append.  I
have not tried systematically without append, although I BELIEVE that
in that case only the last "include" entry is taken into account and
the others silently ignored.

Regards, Charles

p.s. I noticed some strange error messages, but will send another post
on that.




On Mon, 17 Feb 2014 13:58:56 -0500
Jon LaBadie  wrote:

> On Mon, Feb 17, 2014 at 12:39:33AM +0100, Charles Stroom wrote:
> > On Sun, 16 Feb 2014 14:00:01 -0500
> > Jon LaBadie  wrote:
> > 
> ...
> > You said that "an include implies exclude all else", this clarifies
> > some behaviour.  But I have 1 DLE with multiple "includes":
> > "
> > fiume.localnet  Vbox/home/charles {
> > #
> > #   Virtualbox elements
> > #
> > generic
> > include "./.Virtualbox"
> > include "./vbox" 
> > } 2
> > "
> > 
> > Will that work?  Or is there an equivalent "include append"
> > required?
> > 
> 
> While I suspect it may be required, I do not know for sure.
> But why chance it.  Use the append.  In fact, perhaps use the
> append on both.  The "generic" may have an earlier include :)
> 
> Jon
> -- 
> Jon H. LaBadie j...@jgcomp.com
>  11226 South Shore Rd.  (703) 787-0688 (H)
>  Reston, VA  20190  (609) 477-8330 (C)


-- 
Charles Stroom
email: charles at no-spam.stremen.xs4all.nl (remove the "no-spam.")