[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Hardware requirements

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 22 Jan 2013 13:18:42 +0100

On Tue, Jan 22, 2013 at 12:27:39PM +0530, ana kish wrote:
> Is it ok to go with VM?

If you go with a VM, I would advise not to put the repositories onto
a virtual disk image, but on an iscsi disk or SAN that is connected
to the VM via network.

I've seen a bad case of repository corruption where the repositories
on a virtual disk were broken after the host system of the VM had
unexpectedly lost power. Upon reboot revision files in the VM were there
but they contained corrupt 512 byte blocks (disk sector size). So the
virtual disk could not properly save data to the physical disk in this
case. Network disks are better designed to handle failure cases like this.

If you must use a virtual disk in the VM to host the repositories,
make sure you have a backup procedure in place that copies revision
data off the virtual disk as soon as possible (e.g. run 'svnadmin dump
--incremental' from the post-commit hook and copy the resulting dump
file to another machine).
Received on 2013-01-22 13:36:10 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.