开发者

svn import error : Could not write svndiff to temp file: There is not enough space on the disk

I have some repositories integrat开发者_开发技巧ed with apache. While importing small projects it works fine. But when i import somewhat huge project say about 2GB of size, I get the following error. I use tortoise svn.

Could not write svndiff to temp file: There is not enough space on the disk.

Thanks.


Update: the OP itsraja finally found the $TMPDIR environment variable wasn't set (after some advices from zerkms in the comments above)

Sorry, I was searching in SVN's.
I haven't set anything as temporary directory, it seems. When echoed $TMPDIR, it is empty.
I believe it uses /tmp directory and it has enough space.
I set $TMPDIR, and the issue fixed, thanks


Initial answer:

According to this post (for a Windows client, but the idea is still valid for an Unix client):

Using Subversion (via Tortoise, incidentally), I recently got this error:

svn:

Can't set position pointer in file 'C:\WINDOWS\TEMP\report.tmp':

There is not enough space on the disk.

This means you have run out of space on your server.
Sounds straight forward, but it took a while fooling around on the client

It could be a similar problem in your case (if you do have space left locally).


Or it could be an ACL (access rights) issue on the tmp directory as described here:

Subversion uses an APR function (which we donated to that project) for finding a temporary directory.
It does so by trying to find a writable directory using the following search path:

      $TMP
      $TEMP
      $TMPDIR
      "C:\TEMP" (windows only)
      "SYS:\TMP" (netware only)
      "/tmp"
      "/var/tmp"
      "/usr/tmp"
      P_tmpdir (POSIX define)
      `pwd`

Do you have one of those first three environment variables set to a non-writable location?


We ran across this issue and the problem was not with space on the subversion server - rather the client's desktop. If you have folks using workstation side software, check it for space too.


Same error observed today on multiple clients. Turns out the svn server was out of space. Apparently the tmp file error had originated from the server. Solution: free up disk space on the server and try again.


This can also be caused by an overly large commit. Try committing fewer files.


Like many other users, I also faced this issue. I was getting below mentioned error

Can't write to file 'C:\Windows\TEMP\tempfile.199.tmp'

The above-mentioned file was missing in the folder. I Fixed the issue by creating an empty file with the above-mentioned name in C:\Windows\TEMP location.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜