SUMMARY: Bug in vdump / vrestore ?

From: Matthias Reichling <reichlin_at_sun.rz.uni-wuerzburg.de>
Date: Tue, 07 Jul 1998 11:42:48 +0200

Original question:

> I wanted to transfer a directory tree from one machine to a second and
> observed the following:
>
> If I try
>
> rsh remotehost /sbin/vdump -0 -q -D -f - /tmp | /sbin/vrestore -xf - -D /tmp
>
> I get the error
>
> path : /tmp
> vrestore: Date of the vdump save-set: Tue Jun 30 17:20:51 1998
> vrestore: empty save-set
> vrestore: nothing will be restored
> Segmentation fault (core dumped)
>
> but if I try
>
> rsh remotehost /sbin/vdump -0 -q -D -f - /tmp "|" cat | /sbin/vrestore -xf - -D /tmp
>
> all works fine.
> The behavior is the same under Digital UNIX V4.0B and Digital UNIX V4.0D.
>
> Any ideas ?


Thanks to the following people who answered:

szgyula_at_tarkus.pha.jhu.edu

> I think it's normal. In the first case it is reading from the network
> so there is no guarantie that requesting N bytes will result in N bytes
> -- it may be less, often is. 'tar' has the 'B' modifier for this very reason.
> vdump was not intended to work over the network so it'a lacking this feature.


Lucien_HERCAUD_at_paribas.com

> This is a long lasting bug in vdump which does not "like" writing to
> sockets; but it writes OK on pipes.
> CAT, on its side, has nothing against sockets.



Matthias Reichling
Univ. of Wuerzburg
reichling_at_rz.uni-wuerzburg.de
Received on Tue Jul 07 1998 - 11:43:51 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT