Amanda-Users

Re: can't locate file or an error using tar.

2007-11-07 10:05:20
Subject: Re: can't locate file or an error using tar.
From: Paul Bijnens <Paul.Bijnens AT xplanation DOT com>
To: Brian Cuttler <brian AT wadsworth DOT org>
Date: Wed, 07 Nov 2007 15:57:00 +0100

You didn't say which error you got?
or which file you tried to retrieve, or indicate why you believe the
file should be in that tar image?

 :-)   It was by any chance the error msg:

tar: ./some/file: Cannot hard link to `./some/other/file': No such file or directory

?  if yes, then you encountered the recently discovered bug in tar (but
present since several years). Workarouind: just include the "./some/other/file" as well in the retrieve list and try again.




On 2007-11-06 21:04, Brian Cuttler wrote:
----- Forwarded message from "j. Chris Knight" <knight AT wadsworth DOT org> 
-----

Amanda-users:

I tried to recover a file that we backed up using gtar, which was expected to be on the level 0 tape (WCNOTESX39). I've retrieved that tarball but can't locate the file. I'm concerned that I don't have an error message for the particular file either (it's not one of the files listed in the amanda report as 'strange').


We've seen "STRANGE" errors which we attribute to open, files changing during backup but the file I'm looking for isn't listed as an error in /maildb2/five.

Server platform: SunOS nwcnotes 5.9 Generic_118558-11 sun4u sparc SUNW,Ultra-250
and Amanda version 2.4.4.

$ gtar --version  tar (GNU tar) 1.15.1 on both client and server

Client platform: SunOS wcnotes 5.10 Generic_118833-36 sun4v sparc SUNW,Sun-Fire-T200



...Snip/snip from amadmin for the level 0 I'm looking for:
$ amadmin wcnotes1 find wcnotes /maildb2/five
Scanning /amanda4/work...
Scanning /amanda3/work...
Scanning /amanda2/work...
Scanning /amanda/work...
lost+found: skipping cruft directory, perhaps you should delete it.
restore: skipping cruft directory, perhaps you should delete it.

date       host    disk          lv tape or file file status
2007-10-12 wcnotes /maildb2/five  0 WCNOTESX39      2 OK
2007-10-15 wcnotes /maildb2/five  1 WCNOTESX02      1 OK
2007-10-17 wcnotes /maildb2/five  1 WCNOTESX05      1 OK
... end snippit of amadmin .  . .



...snip/snip of disklist entry...
wcnotes   /maildb2/five {
       user-tar
       }
... end snippit of disklist entry


These are the errors reported by amanda for the evening in question:

These dumps were to tapes WCNOTESX38, WCNOTESX39, WCNOTESX40.
The next 6 tapes Amanda expects to used are: WCNOTESX01, WCNOTESX02, WCNOTESX03, WCNOTESX04, WCNOTESX05, WCNOTESX06.

FAILURE AND STRANGE DUMP SUMMARY:
 wcnotes    maildbLQ lev 1 STRANGE
 wcnotes    /maildb2/one lev 1 STRANGE
 wcnotes    /maildb2/three lev 2 STRANGE
 wcnotes    /maildb2/five lev 0 STRANGE
 wcnotes    maildbAD lev 1 STRANGE
 wcnotes    /maildb2/two lev 0 STRANGE
 wcnotes    maildbEK lev 1 STRANGE


STATISTICS:
                         Total       Full      Daily
                       --------   --------   --------
Estimate Time (hrs:min)    0:09
Run Time (hrs:min)        10:44
Dump Time (hrs:min)       17:37       5:33      12:04
Output Size (meg)      365909.3   129631.5   236277.7
Original Size (meg)    365909.3   129631.5   236277.7
Avg Compressed Size (%)     --         --         --    (level:#disks ...)
Filesystems Dumped           12          2         10   (1:8 2:2)
Avg Dump Rate (k/s)      5907.6     6640.1     5570.5

Tape Time (hrs:min)        8:38       2:35       6:03
Tape Size (meg)        365909.4   129631.6   236277.8
Tape Used (%)             183.0       64.8      118.1   (level:#disks ...)
Filesystems Taped            12          2         10   (1:8 2:2)
Avg Tp Write Rate (k/s) 12065.6    14285.6    11117.8

USAGE BY TAPE:
 Label            Time      Size      %    Nb
 WCNOTESX38       3:45  114685.0   57.3     7
 WCNOTESX39       2:29  119182.1   59.6     2
 WCNOTESX40       2:24  132042.3   66.0     3


FAILED AND STRANGE DUMP DETAILS:

/-- wcnotes    maildbLQ lev 1 STRANGE
sendbackup: start [wcnotes:maildbLQ level 1]
sendbackup: info BACKUP=/usr/local/bin/gtar
sendbackup: info RECOVER_CMD=/usr/local/bin/gtar -f... -
sendbackup: info end
? gtar: ./lmclarke.nsf: file changed as we read it
? gtar: ./maitken.nsf: file changed as we read it
? gtar: ./mmchugh.nsf: file changed as we read it
? gtar: ./ndumas.nsf: file changed as we read it
? gtar: ./qlee.nsf: file changed as we read it
| Total bytes written: 29334476800 (28GiB, 4.0MiB/s)
sendbackup: size 28646950
sendbackup: end
\--------

/-- wcnotes    /maildb2/one lev 1 STRANGE
sendbackup: start [wcnotes:/maildb2/one level 1]
sendbackup: info BACKUP=/usr/local/bin/gtar
sendbackup: info RECOVER_CMD=/usr/local/bin/gtar -f... -
sendbackup: info end
? gtar: ./htaber.nsf: file changed as we read it
? gtar: ./jtaylor.nsf: file changed as we read it
? gtar: ./kaldous.nsf: file changed as we read it
? gtar: ./kpass.nsf: file changed as we read it
? gtar: ./mcaggana.nsf: file changed as we read it
? gtar: ./vderbysh.nsf: file changed as we read it
? gtar: ./kpass.ft/ftgi/Fulldel/Main.DEL/0000: Warning: Cannot stat: No such file or directory ? gtar: ./kpass.ft/ftgi/Itemdel/Main.DEL/0000: Warning: Cannot stat: No such file or directory
| Total bytes written: 58754334720 (55GiB, 4.5MiB/s)
sendbackup: size 57377280
sendbackup: end
\--------

/-- wcnotes    /maildb2/three lev 2 STRANGE
sendbackup: start [wcnotes:/maildb2/three level 2]
sendbackup: info BACKUP=/usr/local/bin/gtar
sendbackup: info RECOVER_CMD=/usr/local/bin/gtar -f... -
sendbackup: info end
? gtar: ./abdean.nsf: file changed as we read it
? gtar: ./ncirino.nsf: file changed as we read it
| Total bytes written: 35704494080 (34GiB, 4.8MiB/s)
sendbackup: size 34867670
sendbackup: end
\--------

/-- wcnotes    /maildb2/five lev 0 STRANGE
sendbackup: start [wcnotes:/maildb2/five level 0]
sendbackup: info BACKUP=/usr/local/bin/gtar
sendbackup: info RECOVER_CMD=/usr/local/bin/gtar -f... -
sendbackup: info end
? gtar: ./aantenuc.nsf: file changed as we read it
? gtar: ./aparker.nsf: file changed as we read it
? gtar: ./jchristi.nsf: file changed as we read it
? gtar: ./jvanness.nsf: file changed as we read it
? gtar: ./kstgeorg.nsf: file changed as we read it
? gtar: ./sostrows.nsf: file changed as we read it
? gtar: ./vpollett.nsf: file changed as we read it
? gtar: ./whotalin.nsf: file changed as we read it
? gtar: ./wzaloga.nsf: file changed as we read it
| Total bytes written: 89266964480 (84GiB, 5.2MiB/s)
sendbackup: size 87174770
sendbackup: end
\--------

/-- wcnotes    maildbAD lev 1 STRANGE
sendbackup: start [wcnotes:maildbAD level 1]
sendbackup: info BACKUP=/usr/local/bin/gtar
sendbackup: info RECOVER_CMD=/usr/local/bin/gtar -f... -
sendbackup: info end
? gtar: ./amehta.nsf: file changed as we read it
? gtar: ./ctrimarc.nsf: file changed as we read it
? gtar: ./cvanpatt.nsf: file changed as we read it
? gtar: ./dastin.nsf: file changed as we read it
| Total bytes written: 47013222400 (44GiB, 8.6MiB/s)
sendbackup: size 45911350
sendbackup: end
\--------

/-- wcnotes    /maildb2/two lev 0 STRANGE
sendbackup: start [wcnotes:/maildb2/two level 0]
sendbackup: info BACKUP=/usr/local/bin/gtar
sendbackup: info RECOVER_CMD=/usr/local/bin/gtar -f... -
sendbackup: info end
? gtar: ./cegan.nsf: file changed as we read it
| Total bytes written: 46661539840 (44GiB, 13MiB/s)
sendbackup: size 45567910
sendbackup: end
\--------

/-- wcnotes    maildbEK lev 1 STRANGE
sendbackup: start [wcnotes:maildbEK level 1]
sendbackup: info BACKUP=/usr/local/bin/gtar
sendbackup: info RECOVER_CMD=/usr/local/bin/gtar -f... -
sendbackup: info end
? gtar: ./gmabee.nsf: file changed as we read it
? gtar: ./gnagy.nsf: file changed as we read it
? gtar: ./gwang.nsf: file changed as we read it
| Total bytes written: 44781557760 (42GiB, 12MiB/s)
sendbackup: size 43731990
sendbackup: end
\--------


NOTES:
 planner: Incremental of wcnotes:/maildb2/five bumped to level 3.
 planner: Incremental of wcnotes:/maildb2/three bumped to level 2.
 planner: Incremental of wcnotes:/export bumped to level 2.
 taper: tape WCNOTESX38 kb 135224576 fm 8 writing file: short write
taper: retrying wcnotes:/maildb2/three.2 on new tape: [writing file: short write]
 taper: tape WCNOTESX39 kb 133110400 fm 3 writing file: short write
 taper: retrying wcnotes:maildbAD.1 on new tape: [writing file: short write]
 taper: tape WCNOTESX40 kb 135211424 fm 3 [OK]


DUMP SUMMARY:
DUMPER STATS TAPER STATS HOSTNAME DISK L ORIG-KB OUT-KB COMP% MMM:SS KB/s MMM:SS KB/s ------------------------ --------------------------------------- ------------- wcnotes / 1 5312 5312 -- 2:28 36.0 0:02 2388.1 wcnotes /export 2 8680128 8680128 -- 34:21 4211.3 21:37 6693.0 wcnotes /maildb2/five 0 87174768 87174784 -- 275:38 5271.2 106:09 13686.7 wcnotes /maildb2/four 1 13777110 13777120 -- 56:15 4082.1 35:39 6440.6 wcnotes /maildb2/one 1 57377280 57377280 -- 208:56 4576.8 88:29 10807.6 wcnotes /maildb2/three 2 34867672 34867680 -- 120:00 4842.6 43:15 13435.3 wcnotes /maildb2/two 0 45567912 45567936 -- 57:33 13196.2 48:43 15590.5 wcnotes /usr1 1 352 352 -- 0:34 10.3 0:02 166.5 wcnotes maildbAD 1 45911352 45911360 -- 86:59 8797.5 48:19 15834.8 wcnotes maildbEK 1 43731992 43732032 -- 61:09 11920.8 46:35 15645.1 wcnotes maildbLQ 1 28646950 28646976 -- 117:16 4071.4 56:15 8487.9 wcnotes maildbRZ 1 8950260 8950272 -- 35:56 4150.6 22:28 6639.3

(brought to you by Amanda version 2.4.4)






--
Paul Bijnens, xplanation Technology Services        Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************

<Prev in Thread] Current Thread [Next in Thread>