repo size discrepency when loading from dump
I have an issue with subversion dumps (RHEL 5.2; subversion 1.5.0; viewvc 1.0.7) when I'm trying to load onto a new server (CentOS 5.4; subversion 1.6.11; viewvc 1.0.11). On disk, the size of the folder for one of the repositories is 1.3gb. When I do a dump, the file size is 1.3gb. However, when I load on the new server, it finishes with no errors but the size is 440mb. I tried the same thing with another repository with the same results. The initial size is just over 2gb but after loading on the new box, it is only 1.3gb Are there differences in the new version that is essentially normal behavior to see this size reduction? Seth Simmons Systems Administrator Cymfony Office: 617.673.6024 Fax: 617.924.6167 www.cymfony.com smime.p7s Description: S/MIME cryptographic signature
RE: repo size discrepency when loading from dump
Yes that seems to be the difference. I had one of my developers check one repository that was much smaller on the new server and the current revision matches. From: vishwajeet singh [mailto:dextrou...@gmail.com] Sent: Thursday, April 29, 2010 1:13 PM To: Seth Simmons Cc: users@subversion.apache.org Subject: Re: repo size discrepency when loading from dump On Thu, Apr 29, 2010 at 10:34 PM, Seth Simmons ssimm...@cymfony.com wrote: I have an issue with subversion dumps (RHEL 5.2; subversion 1.5.0; viewvc 1.0.7) when I'm trying to load onto a new server (CentOS 5.4; subversion 1.6.11; viewvc 1.0.11). On disk, the size of the folder for one of the repositories is 1.3gb. When I do a dump, the file size is 1.3gb. However, when I load on the new server, it finishes with no errors but the size is 440mb. I tried the same thing with another repository with the same results. The initial size is just over 2gb but after loading on the new box, it is only 1.3gb Are there differences in the new version that is essentially normal behavior to see this size reduction? Did you performed some sanity checks to your data like looking at history, I really don't see any issue if dump completed successfully there were many Filesystem storage improvements in Subversion 1.6 size reduction may be due to that. http://subversion.apache.org/docs/release-notes/1.6.html#filesystem-improvem ents Seth Simmons Systems Administrator Cymfony Office: 617.673.6024 Fax: 617.924.6167 www.cymfony.com -- Vishwajeet Singh +91-9657702154 | dextrou...@gmail.com | http://bootstraptoday.com Twitter: http://twitter.com/vishwajeets | LinkedIn: http://www.linkedin.com/in/singhvishwajeet smime.p7s Description: S/MIME cryptographic signature
RE: [viewvc-users] python issue with viewvc
I did find postings related to this, but it doesn't apply because i don't have multiple versions of Subversion on this box. As I said, this is a new box with new subversion installation of 1.6.11. Others were saying they installed both versions which caused their problem - I don't have multiple versions on this new box. These are the options I used in configuring subversion: ./configure --with-apxs=/usr/local/apache/bin/apxs --with-swig --with-apr=/usr/bin --with-apr-util=/usr/bin -Original Message- From: C. Michael Pilato [mailto:cmpil...@collab.net] Sent: Tuesday, April 27, 2010 4:33 PM To: Seth Simmons Cc: us...@viewvc.tigris.org Subject: Re: [viewvc-users] python issue with viewvc This is a classic case of Subversion's Python bindings finding, loading, and using the wrong versions of Subversion's core libraries (out of several different versions of Subversion installed at once on your server). You'll want to visit users@subversion.apache.org for help about this general problem. Once you get Subversion and its Python bindings behaving as expected, ViewVC should start working as well. seth simmons wrote: We currently have a RH 5 box running Subversion 1.5 and ViewVC 1.07. I’m in the process of migrating to newer versions to a new box running CentOS 5 with Subversion 1.6.11 and ViewVC 1.0.11. So far it’s running well. I had one of my developers test checking items out and committing without any issues. The problem is with ViewVC. I can get it to initially work, but when selecting any repositories, I get an error. I’ve been looking around for a couple days with no solution. Many have said they are having the same issue. Traceback (most recent call last): File /usr/local/viewvc-1.0.11/lib/viewvc.py, line 3761, in main request.run_viewvc() File /usr/local/viewvc-1.0.11/lib/viewvc.py, line 261, in run_viewvc cfg.general.svn_path) File /usr/local/viewvc-1.0.11/lib/vclib/svn/__init__.py, line 609, in __init__ self.repos = repos.svn_repos_open(rootpath, self.pool) File /usr/lib/python2.4/site-packages/libsvn/repos.py, line 53, in svn_repos_open return apply(_repos.svn_repos_open, args) SubversionException: (Expected FS format '2'; found format '4', 160043) Seth Simmons Systems Administrator *Cymfony* Office: 617.673.6024 Fax: 617.924.6167 www.cymfony.com -- C. Michael Pilato cmpil...@collab.net CollabNet www.collab.net Distributed Development On Demand smime.p7s Description: S/MIME cryptographic signature