Date: Sun, 27 Jul 1997 21:00:01 -0700 (PDT) From: Heikki Suonsivu <hsu@mail.clinet.fi> To: freebsd-bugs Subject: Re: bin/4176: restore gets confused when run over pipe Message-ID: <199707280400.VAA07977@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/4176; it has been noted by GNATS. From: Heikki Suonsivu <hsu@mail.clinet.fi> To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: bin/4176: restore gets confused when run over pipe Date: Mon, 28 Jul 1997 06:54:24 +0300 (EEST) Synopsis: restore gets confused when run over pipe "Changing volumes on pipe input" 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? ... I do not seem to be able to produce this on small input, but it happens repeatably when copying 4G over a network. Copying on a local disk with command dump 0f - /usr | (cd /mnt; restore xvf -) also fails, but in this case tty is connected so it keeps asking abort? [yn] forever. I worked around by copying the stuff with tar, but dump/restore would be a little bit faster. I did not try interactive mode; that might work better if you manage to get into restore prompt and use setmodes command. This may be very serious problem it this means that recovering large backups from tape is impossible. -- Heikki Suonsivu, T{ysikuu 10 C 83/02210 Espoo/FINLAND, hsu@clinet.fi mobile +358-40-5519679 work +358-9-43542270 fax -4555276
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707280400.VAA07977>