From owner-freebsd-bugs Sat Jul 26 19:10:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA00174 for bugs-outgoing; Sat, 26 Jul 1997 19:10:03 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA00168; Sat, 26 Jul 1997 19:10:02 -0700 (PDT) Resent-Date: Sat, 26 Jul 1997 19:10:02 -0700 (PDT) Resent-Message-Id: <199707270210.TAA00168@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, root@mail.clinet.fi Received: from hauki.clinet.fi (root@hauki.clinet.fi [194.100.0.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA29920 for ; Sat, 26 Jul 1997 19:06:39 -0700 (PDT) Received: from katiska.clinet.fi (root@install.clinet.fi [194.100.1.102]) by hauki.clinet.fi (8.8.6/8.8.6) with ESMTP id FAA02619 for ; Sun, 27 Jul 1997 05:06:35 +0300 (EET DST) Received: (root@localhost) by katiska.clinet.fi (8.8.6/8.6.4) id FAA01490; Sun, 27 Jul 1997 05:06:38 +0300 (EEST) Message-Id: <199707270206.FAA01490@katiska.clinet.fi> Date: Sun, 27 Jul 1997 05:06:38 +0300 (EEST) From: Charlie Root Reply-To: root@mail.clinet.fi To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/4176: restore gets confused when run over pipe Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 4176 >Category: bin >Synopsis: restore gets confused when run over pipe "Changing volumes on pipe input" >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jul 26 19:10:01 PDT 1997 >Last-Modified: >Originator: Charlie & >Organization: Clinet Ltd >Release: FreeBSD 2.2-STABLE i386 >Environment: 2.2-STABLE >Description: With the following command line: ( dump 0f - /dev/sd0s1x | ssh -c none newmachine 'cd /usr/old-katiska-usr && restore -xvf -' ) | & tee /tmp/logfile at the end of input, when restore is supposed to start setting the modes and owners of the files, this appears, endlessly: abort? [yn] Changing volumes on pipe input? abort? [yn] Changing volumes on pipe input? abort? [yn] Changing volumes on pipe input? abort? [yn] Changing volumes on pipe input? abort? [yn] Changing volumes on pipe input? abort? [yn] Changing volumes on pipe input? abort? [yn] Changing volumes on pipe input? abort? [yn] Changing volumes on pipe input? All the data has already been copied at this point, and dump has reported dump done. The unfortunate effect is that owners are broken. I do not seem to be able to produce this on small input, but it happens repeatably when copying 4G over a network. >How-To-Repeat: Use the above line with large enough filesystem. >Fix: I do not know, but looks like something is missing somewhere. It could also be a problem in ssh, maybe it drops data at the end of transfer and restore thinks early eof to be a volume change ? >Audit-Trail: >Unformatted: