2011-03-15 11 views
5

Apache ile tümleşik bazı depolarım var. Küçük projeleri ithal ederken iyi çalışıyor. Ama biraz büyük bir proje ithal ettiğimde, yaklaşık 2GB boyutunda, aşağıdaki hatayı alıyorum. Kaplumbağa svn kullanıyorum.svn alma hatası: svndiff temp dosyasına yazılamadı: diskte yeterli alan yok

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

teşekkürler.

+1

Tmp dirinizin bulunduğu bir diskte yeterli alanınız var mı? – zerkms

+0

svn root,/var/www/svn için 60 GB'm var. Artık sadece yarım GB kullanıldı. – itsraja

+0

Peki ya geçici dir? Geçici dosyayı bulmak için sorunlu – zerkms

cevap

5

Güncelleme: göre

: OP itsraja nihayet $ TMPDIR ortam değişkeni

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


İlk cevap (yukarıdaki yorumlar zerkms bazı tavsiyeleri sonra) ayarlanmamış bulundu this post (Windows istemcisi için, ancak fikir bir Unix istemcisi için hala geçerli):

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

(Yerel olarak sol boşluk yaparsanız)
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

Bu sizin durumda benzer bir sorun olabilir.


Ya da described here olarak tmp dizinde bir ACL (erişim hakları) sorun olabilir:

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?

0

Biz bu konuda koştu ve problem alanı ile değildi subversion sunucusunda - müşterinin masaüstünde. İş istasyonu tarafı yazılımını kullanan üyeleriniz varsa, alanı da kontrol edin.

0

Birden çok istemciyle aynı hata gözlendi. Svn sunucusunun alan dışı olduğu ortaya çıkıyor. Görünüşe göre tmp dosyası hatası sunucudan kaynaklanmıştı. Çözüm: Sunucudaki disk alanını boşaltın ve tekrar deneyin.

0

Bu da aşırı büyük bir işlemin neden olabilir. Daha az dosya almayı deneyin.