On 05/21/2013 09:47 AM, Brian Cuttler wrote:
Hello Amanda users,

Yesterday I upgraded an client on Solaris 10/Sparc from 2.4.2p2,
which working great (except perhaps for not being built with GTAR
in mind, in, I think 2001!) with amanda 3.3.3.

Found the following in the client side debug file.

Mon May 20 18:36:42 2013: thd-2a4b8: amgtar: NORMAL : File .* shrunk by 
[0-9][0-9]* bytes, padding with zeros
Mon May 20 18:36:42 2013: thd-2a4b8: amgtar: NORMAL : Cannot add file .*: No 
such file or directory$
Mon May 20 18:36:42 2013: thd-2a4b8: amgtar: NORMAL : Error exit delayed from 
previous errors
Mon May 20 18:36:42 2013: thd-2a4b8: amgtar: amgtar: error opening 
/usr/local/var/amanda/gnutar-lists/wcapp_appp_db_0: No such file or directory
Mon May 20 18:36:42 2013: thd-2a4b8: amgtar: Spawning "/usr/sfw/bin/gtar 
/usr/sfw/bin/gtar -x --no-check-device -f -" in pipeline
Mon May 20 18:36:42 2013: thd-2a4b8: amgtar: Spawning "/usr/sfw/bin/gtar 
/usr/sfw/bin/gtar --create --verbose --file - --directory 
/appp/db/.zfs/snapshot/amanda-_appp_db-current --one-file-system --no-check-device 
--listed-incremental /usr/local/var/amanda/gnutar-lists/wcapp_appp_db_1.new --sparse 
--ignore-failed-read --totals ." in pipeline
Mon May 20 18:36:42 2013: thd-2a4b8: amgtar:   0: strange(?): 
/usr/sfw/bin/gtar: unrecognized option `--no-check-device'

Ignoring the "NORMAL" errors.

The error
Mon May 20 18:36:42 2013: thd-2a4b8: amgtar: amgtar: error opening 
/usr/local/var/amanda/gnutar-lists/wcapp_appp_db_0: No such file or directory

is I think inconsequentail since in the file system I find.


# pwd
/appp/export/home/local/var/amanda/gnutar-lists

# ls -l
total 6
-rw-------   1 amanda   sys            0 May 14 21:43 wcapp_appp_db2_0.new
-rw-------   1 amanda   sys            0 May 20 18:39 wcapp_appp_db2_1.new
-rw-------   1 amanda   sys            0 May 15 20:49 wcapp_appp_db_0.new
-rw-------   1 amanda   sys            0 May 20 18:40 wcapp_appp_db_1.new
-rw-------   1 amanda   sys            0 May 20 20:17 wcapp_appp_export_0.new
-rw-------   1 amanda   sys            0 May 17 18:33 wcapp_appp_export_1.new
The error is from /usr/local/var/amanda/gnutar-lists, but you list /appp/export/home/local/var/amanda/gnutar-lists.


I think we choked on the --no-check-device error.

Mon May 20 18:36:42 2013: thd-2a4b8: amgtar:   0: strange(?): 
/usr/sfw/bin/gtar: unrecognized option `--no-check-device'


# /usr/sfw/bin/gtar --version
tar (GNU tar) 1.17
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.

Simple issue of having an updated gtar? Or do I have something
more complex to worry about?
Upgrade gtar to a newer version of do not set the CHECK-DEVICE property.

Jean-Louis

Reply via email to