* problem with vdump via rsh
@ 1999-03-18 5:00 Gene Titus
1999-03-19 5:00 ` Nikola Milutinovic
1999-03-19 5:00 ` problem with vdump via rsh Adam Price
0 siblings, 2 replies; 4+ messages in thread
From: Gene Titus @ 1999-03-18 5:00 UTC (permalink / raw)
I just inherited a system that does their backups over a network. The
system that owns the tape drive will do something like the following
rsh <system to backup> /sbin/vdump -1uf - / | dd bs=60k of=/dev/nrmt0h
Everything looks like it works fine. But I have not been able to restore
any files dumped this way. I tried to dd the file off tape onto disk and
then feed it into vrestore. I get:
vrestore: Date of the vdump save-set: Thu Mar 18 08:44:51 1999
vrestore: empty save-set
vrestore: nothing will be restored
Segmentation fault (core dumped)
So I tried some tests. I did a vdump on the system with the tape drives
and wrote the file to disk ie.
/sbin/vdump -1uf - / | dd bs=60k of=back1
Then I did the same thing using rsh,
rsh search /sbin/vdump -1uf - / | dd bs=60k of=back2
Hmmm, the files are different sizes. The file created with the rsh is
bigger.
51904512 Mar 18 08:39 back1
52049000 Mar 18 08:46 back2
I can restore from the file done with the straight vdump but cannot
restore from the file that was dumped with rsh. I'm stumped. What is the
rsh dumped file bigger AND can I restore anything from it?
Thanks,
Gene Titus
Sr. Operating System Specialist
The Office of Telecommunication Services
The University of Texas at Austin.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: problem with vdump via rsh
1999-03-18 5:00 problem with vdump via rsh Gene Titus
1999-03-19 5:00 ` Nikola Milutinovic
@ 1999-03-19 5:00 ` Adam Price
1 sibling, 0 replies; 4+ messages in thread
From: Adam Price @ 1999-03-19 5:00 UTC (permalink / raw)
Gene Titus wrote in message <36F120DD.590A71E5@shalott.ots.utexas.edu>...
>I just inherited a system that does their backups over a network. The
>system that owns the tape drive will do something like the following
>
>rsh <system to backup> /sbin/vdump -1uf - / | dd bs=60k of=/dev/nrmt0h
>
>Everything looks like it works fine. But I have not been able to restore
>any files dumped this way. I tried to dd the file off tape onto disk and
>then feed it into vrestore. I get:
>
>vrestore: Date of the vdump save-set: Thu Mar 18 08:44:51 1999
>vrestore: empty save-set
>vrestore: nothing will be restored
>Segmentation fault (core dumped)
>
>So I tried some tests. I did a vdump on the system with the tape drives
>and wrote the file to disk ie.
>/sbin/vdump -1uf - / | dd bs=60k of=back1
>
>Then I did the same thing using rsh,
>
>rsh search /sbin/vdump -1uf - / | dd bs=60k of=back2
>
>Hmmm, the files are different sizes. The file created with the rsh is
>bigger.
>
>51904512 Mar 18 08:39 back1
>52049000 Mar 18 08:46 back2
>
>I can restore from the file done with the straight vdump but cannot
>restore from the file that was dumped with rsh. I'm stumped. What is the
>rsh dumped file bigger AND can I restore anything from it?
>
>Thanks,
>Gene Titus
>Sr. Operating System Specialist
>The Office of Telecommunication Services
>The University of Texas at Austin.
>
>
I haven't quite sussed this one yet either, but I found that the problem
isn't there on Dux3.2g but is on 4.0d if that helps anyone.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: problem with vdump via rsh
1999-03-18 5:00 problem with vdump via rsh Gene Titus
@ 1999-03-19 5:00 ` Nikola Milutinovic
1999-03-19 5:00 ` problem with vdump via rsh. solved! Gene Titus
1999-03-19 5:00 ` problem with vdump via rsh Adam Price
1 sibling, 1 reply; 4+ messages in thread
From: Nikola Milutinovic @ 1999-03-19 5:00 UTC (permalink / raw)
Gene Titus wrote:
>
> vrestore: Date of the vdump save-set: Thu Mar 18 08:44:51 1999
> vrestore: empty save-set
> vrestore: nothing will be restored
> Segmentation fault (core dumped)
This means ERROR. No program should fault, no matter what data was fead to it.
But vrestore does, in your case.
> So I tried some tests. I did a vdump on the system with the tape drives
> and wrote the file to disk ie.
> /sbin/vdump -1uf - / | dd bs=60k of=back1
>
> Then I did the same thing using rsh,
>
> rsh search /sbin/vdump -1uf - / | dd bs=60k of=back2
Why do you need "bs=60k"? I ran it just with "of=" option.
> Hmmm, the files are different sizes. The file created with the rsh is
> bigger.
>
> 51904512 Mar 18 08:39 back1
> 52049000 Mar 18 08:46 back2
Add a third test to this:
vdump -1uf back3 /
Compare. "rsh" really shouldn't disturb anything, I'm more suspicious of "dd"
> I can restore from the file done with the straight vdump but cannot
> restore from the file that was dumped with rsh. I'm stumped. What is the
> rsh dumped file bigger AND can I restore anything from it?
Try to inspect the files, there will be a lot of garbage, but maybe you'll get
ahold of a pattern.
Nix.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: problem with vdump via rsh. solved!
1999-03-19 5:00 ` Nikola Milutinovic
@ 1999-03-19 5:00 ` Gene Titus
0 siblings, 0 replies; 4+ messages in thread
From: Gene Titus @ 1999-03-19 5:00 UTC (permalink / raw)
To: Nikola Milutinovic
Found the problem. From Deja News:
Lucien_HERCAUD@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.
So the fix was.....
rsh search '/sbin/vdump -1uf - / | cat' | dd bs=60k of=back1
Gene
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-03-19 5:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-18 5:00 problem with vdump via rsh Gene Titus
1999-03-19 5:00 ` Nikola Milutinovic
1999-03-19 5:00 ` problem with vdump via rsh. solved! Gene Titus
1999-03-19 5:00 ` problem with vdump via rsh Adam Price
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox