Date: Sun, 27 Jul 1997 05:06:38 +0300 (EEST) From: Charlie Root <root@mail.clinet.fi> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/4176: restore gets confused when run over pipe Message-ID: <199707270206.FAA01490@katiska.clinet.fi> Resent-Message-ID: <199707270210.TAA00168@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707270206.FAA01490>