I'm trying to get BackupPC running on freebsd right now but I have limited
experience with the OS(though the experience I have taught me that it kicks
major butt!). There is a guide on the wiki but it is incomplete.
Does anyone know how to do this?
what is working:
I have enabled ZFS on startup
I installed samba3, nmbclient, rsync, perl and bash via ports.
that covers all but the webserver. I installed apache22 via ports but I
don't know what I'm doing wrong because when I install backuppc from the
tgz, I can browse to the backuppc directory i created in apache's root and
click on the CGI but it just spits out text. basically I'm just getting a
file listing. i did try to install mod-perl via ports but dont know how to
configure apache for it.
can anyone here help me through this? I would like to write a guide when I'm
done but I have to be able to get the system up first! :)
on a side note, i did some rudementary benchmarks on an ubuntu 7.10 server
install and a freebsd7 install in vmware server. UFS was about 10% slower
than ext3 in creating 10,000 directories and about 20% slower at creating
10,000 hard links to 1 file(same *virtual hardware, virtual hardware leaves
some margin for error though). I watched TOP and IOSTAT on both systems and
the disk was definitely the only resource being consumed that would effect
performance. I did the same test on ZFS and it was 20x faster than UFS at
creating hardlinks and 50x faster at creating directories BUT consumed
~200MB of ram doing it. in fact, i had assigned 512MB of ram to the
freebsd7 install and without anything running, no X, no apache, nothing but
the basics, and rsync of the ports directory(UFS) onto another ufs
directory took about 120MB, while that same rsync from ufs to
zfs(compress=gzip) took twice the RAM. the ports directory is about 220,000
files accouting to `find /usr/ports|wc -l`
my previous tests and research did say that ZFS could use 512MB to 1GB of
ram when using compression so this is not so suprising as the gzip
compression is bound to have some overhead but i thought everyone should be
aware of it. you need at least 1GB of ram to run a freebsd7/backuppc/zfs
compressed server. the standard compression use 1/2 the memory and also 1/2
the CPU but had a 2.1x compression ratio verses the 2.8x with gzip. I have
2GB RAM and an e8400 3Ghz dual core for the test so I will take the better
compression.
If you have a fast enough machine, ZFS will definitely offer a performance
boost because of hardlink creation time which is the slow point in backuppc
as far as the software is concerned.
also, on real hardware I find ZFS raidz very effective but in virtual
machines it is all but useless so this was done on single disks. on read
hardware, raidz is very competitive with raid5 but doesn't have the raid5
write hole AND integrates the volume manager which is awesome.
On Wed, Feb 27, 2008 at 9:11 PM, Les Mikesell <[EMAIL PROTECTED]> wrote:
> dan wrote:
>
> > sure would be nice to have native ZFS on linux. :( for this reason
> > i'm considering nexenta and backuppc, as well as a faster network stack
> in
> > the solaris kernel or freebsd 'cause freebsd rocks!
>
> Your timing is right - freebsd 7.0 was just released.
>
> --
> Les Mikesell
> [EMAIL PROTECTED]
>
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/