Backup solution suggestions [ggated]

Ulrich Spoerlein uspoerlein at gmail.com
Fri Jan 18 01:28:30 PST 2008


On Jan 18, 2008 9:11 AM, Johan Ström <johan at stromnet.se> wrote:
> Your no,barely, bad hell no seems to fit pretty good.. I did some
> testing during the night with the above (non-production) setup.
> What I did was doing some rsyncing over the night:
>
> while true ; do
>          echo "`date` Clearing vmail" >> logfile
>          rm -rf vmail
>          echo "`date` Starting rsync" >> logfile
>          rsync -vr /usr/var/vmail . |tee -a logfile
>          echo "`date` Rsync finished " >> logfile
> done
>
> I started this at ~02.0. The results? A freshly rebooted 6.2 (6.2-
> RELEASE-p6 FreeBSD 6.2-RELEASE-p6 #0: Fri Jul 27 15:47:50 UTC 2007)
> box in the morning..
> [...]
> What I dont have is a coredump, judging from dmesg -a savecore wasnt
> even run.. running it now, 5 hours later, didnt find any cores.
>
> The other end (7.0 server) wasnt affected at all.
>
> Not realy sure what it had been doing, because looking at my
> bandwidth graphs from the switch, nothing was done at all.. It didnt
> even go through one iteration of rsync... ~7.5k files/directorys
> seems to have been transfered, then the log doesnt say more. But
> according to the BW graph, after ~03.00 no traffic was sent at all...
>
> Some known bug with 6.2?

There was some ggatec problems with TCP and/or sockets, I think they
have been mostly resolved post-6.2. If you want to pursue this further
(it *would* be a cool setup, no doubt) I'd suggest three things:
- Update to 6.3
- Leave GELI out of the loop for now (only do ggate, with random data perhaps)
- Build a kernel *without* options PREEMPTION

hth,
Uli


More information about the freebsd-stable mailing list