[Gluster-users] "No space left on device" on Namespace using 2.0.8

Krzysztof Strasburger strasbur at chkw386.ch.pwr.wroc.pl
Tue Nov 10 09:32:15 UTC 2009


On Tue, Nov 10, 2009 at 10:06:58AM +0100, Andreas Lehr wrote:
> I`ve got some problems using unify/namespace with glusterfs 2.0.8.
> The OS (debian) reports a no space left on device on the Namespace mount 
> but from the 5GB the device has only 180MB are used.
> As you can see in the attached Config Files we are using 2 afr volumes, 
> one for data and one for namespaces and over it lies the unify device.
> 
> What am i doing wrong?
> 
> Thanks for your help!!
> 
> Glusterfsd.Log:
> [2009-11-10 09:57:30] E [posix.c:1724:posix_create] posix-ns: open on 
> /lala failed: No space left on device
> --
> 
> df -h:
> /dev/mapper/vg0-data 825698728 165062512 618693176  22% /export/data
> /dev/mapper/vg0-data--ns
>                        5160576    179392   4719040   4% /export/data-ns

IMHO your namespace is out of inodes. Namespace contains a lot of empty
files, so you end with a lot of free disk space and all inodes used.
Try df -i.
If you desperately want to keep the namespace on a separate filesystem,
use a filesystem, which allocates the inodes on an as-needed basis
or, for a filesystem with fixed number of inodes, create the fs with
largest possible number of inodes (and a little free space for
directory entries and symlinks ;).
Krzysztof



More information about the Gluster-users mailing list