Re: Challenge: dump | restore
Bodo Thiesen <[email protected]> Sat, 13 Nov 2010 16:40:19 +0100
| Newsgroups | gmane.comp.file-systems.ext3.user |
|---|---|
| Message-ID | <[email protected]> |
* Edward Ned Harvey <[email protected]> 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