* Jean-Francois Malouin <jean-francois.malo...@bic.mni.mcgill.ca> [20170220 11:47]: > Hi, > > Attempting to restore a DLE with amfetchdump with:
Forgot to add: this with amanda-3.4.2 > > su amanda -c "~amanda/sbin/amfetchdump -p -d tape:/dev/nst0 top localhost > /data_/mica1 20170219 " | tar -xpGf - > > returns 'Error writing to fd 7: Broken pipe'. The logfile shows: > > Mon Feb 20 11:26:03.128402078 2017: pid 14583: thd-0x2e49c00: amfetchdump: > xfer_cancel_with_error: Error writing to fd 7: Broken pipe > Mon Feb 20 11:26:03.128432851 2017: pid 14583: thd-0x2e49c00: amfetchdump: > xfer_queue_message: MSG: <XMsg@0x7fcf902015a0 type=XMSG_ERROR > elt=<XferElementGlue@0x317d000> version=0> > Mon Feb 20 11:26:03.128457912 2017: pid 14583: thd-0x2e49c00: amfetchdump: > xfer_queue_message: MSG: <XMsg@0x7fcf90201610 type=XMSG_CANCEL > elt=<XferSourceRecovery@0x2e46000> version=0> > Mon Feb 20 11:26:03.128835292 2017: pid 14583: thd-0x1502000: amfetchdump: > Cancelling <Xfer@0x3179980 (<XferSourceRecovery@0x2e46000> -> > <XferDestFd@0x317c810>)> > Mon Feb 20 11:26:03.128867340 2017: pid 14583: thd-0x2e49c00: amfetchdump: > sending XMSG_CRC message 0x317c810 > Mon Feb 20 11:26:03.128878700 2017: pid 14583: thd-0x2e49c00: amfetchdump: > pull_and_write CRC: f9201a62 size 102900957184 > Mon Feb 20 11:26:03.128886874 2017: pid 14583: thd-0x2e49c00: amfetchdump: > xfer_queue_message: MSG: <XMsg@0x7fcf90201680 type=XMSG_CRC > elt=<XferDestFd@0x317c810> version=0> > Mon Feb 20 11:26:03.128900594 2017: pid 14583: thd-0x2e49c00: amfetchdump: > xfer_queue_message: MSG: <XMsg@0x7fcf90201760 type=XMSG_DONE > elt=<XferElementGlue@0x317d000> version=0> > Mon Feb 20 11:26:03.129525236 2017: pid 14583: thd-0x1502000: amfetchdump: > dest_crc: f9201a62:102900957184 > Mon Feb 20 11:26:03.129946543 2017: pid 14583: thd-0x1502000: amfetchdump: > /opt/amanda/perl/Amanda/Restore.pm:1892:info:4900012 100491264 kb > Mon Feb 20 11:26:03.130359016 2017: pid 14583: thd-0x1502000: amfetchdump: > /opt/amanda/perl/Amanda/Restore.pm:1920:error:4900055 Error writing to fd 7: > Broken pipe > Mon Feb 20 11:26:03.130501339 2017: pid 14583: thd-0x1502000: amfetchdump: > /opt/amanda/perl/Amanda/Restore.pm:2137:error:4900068 Error writing to fd 7: > Broken pipe > > What is the error all about? > > A previous amrecover run seems to have gone to all the motions > correctly, but in the end the restore done in temp dir yield > nothing...an empty directory... Addendum to the amrecover: Doing 'add .' at the prompt in amrecover apparently will not descend recursively in the DLE: it just seems to add '.', and that's it. 'add *' will just add the matching files and directories, but again will not do a recursive restore. Makes amrecover a bit useless unless to restore single files. That's not the behaviour I had with previous version. Am I doing something wrong or overlooking something simple? jf > > Any hint? > Thanks, > jf -- Jean-Francois Malouin | IT Operations and Infrastructure McConnell Brain Imaging Centre | MNI | McGill University