You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de> on 2011/01/03 14:16:55 UTC
svnadmin: Can't write to stream: File too large
Hi,
ive got a large repository (using svn version 1.5.1 r32289) and want to dump
the repository.
Dumping with svnadmin dump $repo > dumpfile does result in:
svnadmin: Can't write to stream: File too large
The file at this time is around 17 GiB in size.
The only workaround found at the moment is to bzip or gzip things via a pipe.
But why i got this error and what is the solution - thought svn should support
such big dump files, shouldn't it?
thx
Torsten
--
Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge.
Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html
Really, I'm not out to destroy Microsoft. That will just be a
completely unintentional side effect."
-- Linus Torvalds
Re: svnadmin: Can't write to stream: File too large
Posted by Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de>.
Am Montag, 3. Januar 2011 schrieb B Smith-Mannschott:
> What *nix flavor are you running? What's the file system you're trying
> to write the dump file to? "Around 17 GiB" seems like a strange
> maximum size. It isn't 17179869184 bytes, perchance?
Found the culprit.
My ext3 block size is 1024 - so the maximum size is 16 GiB.
Should dump to another fs which does allow me to have 2TiB file size with 4096
blocksize.
thx for the hint :-)
Torsten
Re: svnadmin: Can't write to stream: File too large
Posted by B Smith-Mannschott <bs...@gmail.com>.
On Mon, Jan 3, 2011 at 14:16, Torsten Krah
<tk...@fachschaft.imn.htwk-leipzig.de> wrote:
> Hi,
>
> ive got a large repository (using svn version 1.5.1 r32289) and want to dump
> the repository.
> Dumping with svnadmin dump $repo > dumpfile does result in:
>
> svnadmin: Can't write to stream: File too large
>
> The file at this time is around 17 GiB in size.
> The only workaround found at the moment is to bzip or gzip things via a pipe.
>
> But why i got this error and what is the solution - thought svn should support
> such big dump files, shouldn't it?
I don't think the error condition is originating in Subversion.
Subversion just sees that it's writing to standard output, which your
shell has arranged to write into a file. It seems more likely that
you are running into a limitation of the underlying file system.
What *nix flavor are you running? What's the file system you're trying
to write the dump file to? "Around 17 GiB" seems like a strange
maximum size. It isn't 17179869184 bytes, perchance?
// Ben
> thx
>
> Torsten
>
> --
> Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge.
> Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html
>
> Really, I'm not out to destroy Microsoft. That will just be a
> completely unintentional side effect."
> -- Linus Torvalds
>