Amanda-Users

can't recover files

2008-10-30 22:54:16
Subject: can't recover files
From: Thomas Ginestet <thomas.ginestet AT gpsa DOT fr>
To: amanda-users AT amanda DOT org
Date: Thu, 30 Oct 2008 16:53:30 +0100
Hi list,

I've got a problem with Amanda 2.5.1p2 when running amrecover to restore files or directories:

Extracting files using tape drive /dev/nst0 on host backup.
Load tape BACKUP-12 now
Continue [?/Y/n/s/t]? y
Could not fsf device /dev/nst0 by 111: Input/output error
amrecover: short block 0 bytes
UNKNOWN file
amrecover: Can't read file header
Extractor child exited with status 1
amrecover>

I already try to rewind the tape before running amrecover or execute amrecover with the -d /dev/nsto flag like suggested on others archived threads.
I've got the same problem with others files on others tapes (LTO-2).

Here is my amidxtaped log file:

amidxtaped: debug 1 pid 6070 ruid 34 euid 34: start at Thu Oct 30 16:25:29 2008
amidxtaped: version 2.5.1p2
amidxtaped: time 0.000: > FEATURES=fffffeff9ffeffffff7f
amidxtaped: time 0.001: > CONFIG=gpsa
amidxtaped: time 0.040: > LABEL=GPSA-12:111,112,113
append_to_tapelist(tapelist=(nil), label='BACKUP-12', , file=-1, isafile=0)
dump_tapelist(0x804ee40):
  0x804ee40->next     = (nil)
  0x804ee40->label    = BACKUP-12
  0x804ee40->isafile  = 0
  0x804ee40->numfiles = 0
  0x804ee40 count     = 1
append_to_tapelist(tapelist=0x804ee40, label='BACKUP-12', , file=111, isafile=0)
dump_tapelist(0x804ee40):
  0x804ee40->next     = (nil)
  0x804ee40->label    = BACKUP-12
  0x804ee40->isafile  = 0
  0x804ee40->numfiles = 1
  0x804ee40->files[0] = 111
  0x804ee40 count     = 1
append_to_tapelist(tapelist=0x804ee40, label='BACKUP-12', , file=112, isafile=0)
dump_tapelist(0x804ee40):
  0x804ee40->next     = (nil)
  0x804ee40->label    = BACKUP-12
  0x804ee40->isafile  = 0
  0x804ee40->numfiles = 2
  0x804ee40->files[0] = 111
  0x804ee40->files[1] = 112
  0x804ee40 count     = 1
append_to_tapelist(tapelist=0x804ee40, label='BACKUP-12', , file=113, isafile=0)
dump_tapelist(0x804ee40):
  0x804ee40->next     = (nil)
  0x804ee40->label    = BACKUP-12
  0x804ee40->isafile  = 0
  0x804ee40->numfiles = 3
  0x804ee40->files[0] = 111
  0x804ee40->files[1] = 112
  0x804ee40->files[2] = 113
  0x804ee40 count     = 1
amidxtaped: time 0.041: > FSF=111
amidxtaped: time 0.041: > HEADER
amidxtaped: time 0.041: > DEVICE=/dev/nst0
amidxtaped: time 0.041: > HOST=^pdc$
amidxtaped: time 0.041: > DISK=^/cluster/d1$
amidxtaped: time 0.041: > DATESTAMP=20081010
amidxtaped: time 0.041: > END
amidxtaped: Locking devices
amidxtaped: Sending output to file descriptor 52
search_tapes(prompt_out=50, prompt_in=51,  use_changer=0, tapelist=0x804ee40, match_list=0x804f4e0, flags=0x804e3d0, features=0x804e418)
amidxtaped: Using tapedev /dev/nst0
Scanning BACKUP-12 (slot <none>)
search_a_tape: desired_tape=0x804ee40 label=BACKUP-12
tape:   numfiles = 3
tape:   files[0] = 111
tape:   files[1] = 112
tape:   files[2] = 113
current tapefile_idx = 0
Could not fsf device /dev/nst0 by 111: Input/output error
amidxtaped: Could not fsf device /dev/nst0 by 111: Input/output error
amidxtaped: time 41.348: Could not fsf device /dev/nst0 by 111: Input/output error
amidxtaped: time 41.348: pid 6070 finish time Thu Oct 30 16:26:11 2008

Any hints would be really appreciate !

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