Hello, amanda-users, I am testing the use of file-tapes right now. Dumping works fine, no problem.
Today I have setup a demo-installation for a customer, and wanted to show the features of amrestore. It failed: Output of amrestore: > amrecover>> extract > > Extracting files using tape drive file:/shares/samsung20/amandatapes on host oops1. > The following tapes are needed: daily05 > > Restoring files into directory /tmp > Continue [?/Y/n]? Y > > Extracting files using tape drive file:/shares/samsung20/amandatapes on host oops1. > Load tape daily05 now > Continue [?/Y/n/s/t]? Y > EOF, check amidxtaped.<timestamp>.debug file on oops1. > amrecover: short block 0 bytes > UNKNOWN file > amrecover: Can't read file header > extract_list - child returned non-zero status: 1 > Continue [?/Y/n/r]? The corresponding amidxtaped.X.debug file: > amidxtaped: debug 1 pid 1801 ruid 0 euid 0: start at Wed Nov 26 20:02:30 2003 > amidxtaped: version 2.4.4p1-20031107 > amidxtaped: time 0.000: > SECURITY USER root > amidxtaped: time 0.001: bsd security: remote host oops1.oops.co.at user root local > user root > amidxtaped: time 0.001: amandahosts security check passed > amidxtaped: time 0.001: > CONFIG=daily > amidxtaped: time 0.001: > LABEL=daily05 > amidxtaped: time 0.001: > FSF=5 > amidxtaped: time 0.001: > HEADER > amidxtaped: time 0.001: > DEVICE=file:/shares/samsung20/amandatapes > amidxtaped: time 0.001: > HOST=^oops1$ > amidxtaped: time 0.002: > DISK=^/$ > amidxtaped: time 0.002: > DATESTAMP=20031125 > amidxtaped: time 0.002: > END > amidxtaped: time 0.009: amrestore_nargs=0 > amidxtaped: time 0.009: Ready to execv amrestore with: > path = /usr/local/sbin/amrestore > argv[0] = "amrestore" > argv[1] = "-p" > argv[2] = "-h" > argv[3] = "file:/shares/samsung20/amandatapes" > argv[4] = "^oops1$" > argv[5] = "^/$" > argv[6] = "20031125" > amrestore: WARNING: not at start of tape, file numbers will be offset > amrestore: 0: reached end of information > amidxtaped: time 0.018: amrestore terminated normally with status: 1 > amidxtaped: time 0.018: rewinding tape ... > amidxtaped: time 0.019: done > amidxtaped: time 0.020: pid 1801 finish time Wed Nov 26 20:02:30 2003 As I noticed the WARNING, I tried to "rewind" my filetape using > ammt -f "file:/shares/samsung20/amandatapes" rewind Everytime amrecover asked for tape daily05, I did > amtape daily slot 5 to position the changer. Any hints? I would be very sad to see Amanda fail in my customer�s view because of THAT ;-) thank you -- best regards, Stefan G. Weichinger mailto:[EMAIL PROTECTED]
