Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Mar 2008 21:11:33 +0100
From:      "Martin Laabs" <martin.laabs@mailbox.tu-dresden.de>
To:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   multi volume dump with gzip/crypt - solved
Message-ID:  <op.t7cs1jl5724k7f@martin>

next in thread | raw e-mail | index | archive | help
Hi,

I solved the dump problem in a not very
clean way.
First I changed dumps behaviour to ignore
the SIGPIPE signal when the -P and -a option
is given. The problem with occured than was
the loss of data because of the race condition
between "write date to pipe" and "receive SIGPIPE".

I solved that problem with a script that
takes the data from the pipe of dump, compress
it and sends a dedicated SIGPIPE to the three
dump processes when the output volume is nealy full.
After that it flushs the rest out of the pipe to
avoid data loss.

Greetings,
  Martin L.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.t7cs1jl5724k7f>