From owner-freebsd-bugs@FreeBSD.ORG Wed Aug 27 11:10:04 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4F33106567C for ; Wed, 27 Aug 2008 11:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B9AF68FC2A for ; Wed, 27 Aug 2008 11:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m7RBA3Aa018963 for ; Wed, 27 Aug 2008 11:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m7RBA3eV018962; Wed, 27 Aug 2008 11:10:03 GMT (envelope-from gnats) Resent-Date: Wed, 27 Aug 2008 11:10:03 GMT Resent-Message-Id: <200808271110.m7RBA3eV018962@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matthias Apitz Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BEF21065672 for ; Wed, 27 Aug 2008 11:04:30 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 221378FC1E for ; Wed, 27 Aug 2008 11:04:30 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m7RB4TA4023984 for ; Wed, 27 Aug 2008 11:04:29 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m7RB4Tdv023983; Wed, 27 Aug 2008 11:04:29 GMT (envelope-from nobody) Message-Id: <200808271104.m7RB4Tdv023983@www.freebsd.org> Date: Wed, 27 Aug 2008 11:04:29 GMT From: Matthias Apitz To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/126882: dump(8) ok, but restore(8) via -P and SSH failes X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2008 11:10:04 -0000 >Number: 126882 >Category: misc >Synopsis: dump(8) ok, but restore(8) via -P and SSH failes >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 27 11:10:03 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Matthias Apitz >Release: FreeBSD 7.0-RELEASE >Organization: >Environment: FreeBSD rebelion.Sisis.de 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: Some days ago I have done a dump of my /usr file system with: # dump -0auL -P "ssh guru@albatros 'gzip -c > dumpsRebelion/usr.dmp.gz'" /usr the DUMP ended fine with no errors; today I try to reload certain directory with: $ restore -xv -P "ssh guru@albatros 'gzip -dc dumpsRebelion/usr.dmp.gz'" ./home/guru/myThings/Espanol/diario2008 and it says: Verify tape and initialize maps Tape block size is 16 Header with wrong dumpdate. Dump date: Mon Aug 25 09:56:58 2008 Dumped from: the epoch Level 0 dump of /usr on rebelion.Sisis.de:/dev/ad4s1f Label: none Extract directories from tape Initialize symbol table. Make node ./home Make node ./home/guru Make node ./home/guru/myThings Make node ./home/guru/myThings/Espanol Make node ./home/guru/myThings/Espanol/diario2008 Make node ./home/guru/myThings/Espanol/diario2008/enanitos Make node ./home/guru/myThings/Espanol/diario2008/imagenes Make node ./home/guru/myThings/Espanol/diario2008/CVS Extract requested files You have not read any tapes yet. If you are extracting just a few files, start with the last volume and work towards the first; restore can quickly skip tapes that have no further files to extract. Otherwise, begin with volume 1. Specify next volume #: 1 partial block read: 16128 should be 16384 partial block read: 256 should be 16384 partial block read: 16128 should be 16384 unknown tape header type 6697331 abort? [yn] the DUMP itself seems to be OK because this works: ssh guru@albatros 'cat dumpsRebelion/usr.dmp.gz' | gzip -dc | restore -xv -f - ./home/guru/myThings/Espanol/diario2008 the problem seems to be -P related >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: