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

Re: file size limit reached error?

From: Kevin Brannen <kevin_brannen_at_stercomm.com>
Date: 2004-09-01 01:00:05 CEST

Kevin Brannen wrote:
> Ben Collins-Sussman wrote:
>
>> On Tue, 2004-08-31 at 14:41, Kevin Brannen wrote:
>>
>>
>>> Any thoughts, helps, and/or hints? Does this mean I'll have to use
>>> FSFS instead of BDB?
>>
>>
>>
>> I'm guessing APR wasn't compiled with largefile support. So
>> apr_file_open() is choking.
>>
>> And, it looks like you're using an fsfs repository, not bdb, judging by
>> the listing you posted.
>
>
> Ben,
>
> Thanks for the reply!
>
> I know I had to (or I think it forced me to :-) install BDB before I
> could make svn. According to the book (I know it's not totally ready
> for 1.1 but it's what I got :-) says:
>
> $ svn --version
> svn, version 1.1.0 (Release Candidate 2)
> compiled Aug 12 2004, 11:26:45
>
> Copyright (C) 2000-2004 CollabNet.
> Subversion is open source software, see http://subversion.tigris.org/
> This product includes software developed by CollabNet
> (http://www.Collab.Net/).
>
> The following repository access (RA) modules are available:
>
> * ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
> - handles 'http' schema
> * ra_local : Module for accessing a repository on local disk.
> - handles 'file' schema
> * ra_svn : Module for accessing a repository using the svn network
> protocol.
> - handles 'svn' schema
>
> I need the ra_local. I guess you're telling me the "file schema" means
> I'm using FSFS? OK, I guess I can deal with that.
>
> As for the APR not having large file support, as I compiled it on my
> system which does have LF support, I fail to see how this error could
> happen. ...testing small C program...
>
> Ok, I could not create large files either until I did 2 things:
>
> 1. CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
> 2. did creat(file, O_RDWR | O_LARGEFILE)
>
> So does anyone have any suggesstions on what to do with APR? Or if I
> switch to BDB, will this even still matter? If switching to BDB will
> save me, I can do that, but what do I need to tell svn create to make it
> so?

I just found at least part of my answer:

svnadmin create --fs-type bdb

I'll go retry the import again with this. Still curious about the rest
though.

Kevin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 1 01:00:44 2004

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