[Ocfs2-users] 'No space left on device' error with plenty of space.

Tao Ma tao.ma at oracle.com
Wed Jun 9 19:20:59 PDT 2010


Hi Jason,

On 06/09/2010 11:34 PM, Jason Price wrote:
> And now it's starting to fail again.
How about the situation?
I checked your stat_sysfs output, it looks that you have spaces for 
inode, extent alloc and local alloc(but maybe the kernel haven't flushed 
the metadata to the disk while the stat_sysfs only read the disk). So 
why you meet with ENOSPC? Can you describe it in more detail? You meet 
with it when touching a new file, or cat some bytes to a file or ...?
If you find the wrong scenario, please enable the debugfs option so that 
we can find out the real cause.
debugfs.ocfs2 -l INODE allow
debugfs.ocfs2 -l DISK_ALLOC allow
run you test case here.
debugfs.ocfs2 -l INODE off
debugfs.ocfs2 -l DISK_ALLOC off

Regards,
Tao

>
> --Jason
>
> On Wed, Jun 9, 2010 at 9:51 AM, Jason Price <japrice at gmail.com
> <mailto:japrice at gmail.com>> wrote:
>
>     I've got a busy FTP/Web cluster running OCFS2 v1.4.4.
>
>     I've started getting "No space on device" errors when users attempt
>     to write to the file system.  Disk utilization is about 76% with
>     more than 100gb free.  Inode utilization is also at 76%.
>
>     I thought this was a manifestation of bug # 1189, so I decreased the
>     number of nodes via tunefs.ocfs2 from 8 (the default) down to 3
>     (there are only 2 nodes in the cluster, with no growth anticipated).
>
>     That got me out of the woods on Monday, but this morning the problem
>     manifested again.
>
>     I've opened bug # 1263 about this issue. (link:
>     http://oss.oracle.com/bugzilla/show_bug.cgi?id=1263 )
>
>     Does anyone have other ideas?
>
>     I'm more than happy to supply other information.
>
>     What seems to happen is that small writes are allowed, but bigger
>     writes failed.  On Monday, I could write multiple 325kb files, and I
>     could cat them together to make one file of ~2 mb, but when I tried
>     to make a 10ish mb file, it failed.
>
>     --Jason
>
>
>
>
> _______________________________________________
> Ocfs2-users mailing list
> Ocfs2-users at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-users



More information about the Ocfs2-users mailing list