remote: abort: no space left on device (but it seems there is enough space)

Matt Mackall mpm at selenic.com
Mon Apr 16 12:31:50 CDT 2007


On Mon, Apr 16, 2007 at 11:15:34AM +0200, Marcin Kasperski wrote:
> Marc Bevand napisał(a):
> > Marcin Kasperski <Marcin.Kasperski <at> softax.com.pl> writes:
> >   
> >> While executing hg push, I got an error
> >>          remote: abort: no space left on device
> >> But there is about 2GB of free space on the remote side, and local .hg 
> >> has about 500MB.
> >>     
> >
> > This error can also mean you are running out of inodes, check 'df -i'.
> >
> >   
> Surely not the case, 12000 used, 765000 free.
> 
> And the most interesting thing: when I ssh-ed to the obtaining node and 
> 'hg pull'-ed from it (instead
> of 'hg push'-ing to it), everything worked OK.

The http push support queues a whole bundle before taking the lock,
applying the bundle and releasing it. This greatly reduces the chances
that you'll get a dangling lock.

HTTP-based solutions are generally going to have to be largely
"stateless" and that's going to have a few downsides. Needing a temp
file for push is one of them.

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial mailing list