Re: Challenge: dump | restore

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Edward Ned Harvey <kernel@xxxxxxxxxxxxx> hat geschrieben:
> dump -0af - /dev/someVG/sourceFS | restore -rf -
> My only guess is that there seems to be something wrong with the pipe.
> Like, it's not streaming the bits properly or something.  Is it possible to
> overflow a pipe or something?

The sending process should block until the receiving process reads the
data.

> I can't think of any good explanation for
> this weird behavior.  What could cause a pipe to break, aside from the
> receiving process terminating unexpectedly?

I recommend using strace to trace it down:

strace -f -o dump.strace dump -0af - /dev/someVG/sourceFS | \
strace -f -o restore.strace restore -rf -

Then take a closer look on the tails of the two files, maybe that reveals
the problem already.

Regards, Bodo

_______________________________________________
Ext3-users mailing list
Ext3-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ext3-users


[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux