<div dir="ltr">Try to check the number of inodes using "df -i", that can be 100%. If it's true, you need to change the max number of inodes, or remove some files.</div><br><div class="gmail_quote"><div dir="ltr">On Wed, Sep 9, 2015 at 11:29 AM Vladislav Bogdanov <<a href="mailto:bubble@hoster-ok.com">bubble@hoster-ok.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Bob,<br>
<br>
02.09.2015 15:36, Bob Peterson wrote:<br>
> ----- Original Message -----<br>
>> Hi,<br>
>><br>
>> I've got weird state on GFS2 (activated only on one node from the very<br>
>> beginning, but with dlm locking), when I'm unable to write with 'No<br>
>> space left on device' error, but df -m reports:<br>
>> /dev/mapper/vg_shared-lv_shared 570875 569622 1254 100% /storage/staging<br>
>><br>
>> Umount/mount doesn't help, umount/fsck/rmmod/mount also does nothing.<br>
>><br>
>> That is centos6 with 2.6.32-504.30.3.el6.x86_64 kernel.<br>
>><br>
>> What could be the reason for such desync?<br>
>> Is there a way to fix that?<br>
>><br>
>> Any help is appreciated,<br>
>><br>
>> thank you,<br>
>> Vladislav<br>
><br>
> Hi Vladislav,<br>
><br>
> It sounds like maybe your system statfs file has gotten out of sync with<br>
> the actual free space. We've seen this before, and have bugzilla records<br>
> open to fix it. <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1191219" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1191219</a><br>
><br>
<br>
Is there something I can do to help solving this issue?<br>
<br>
Best,<br>
Vladislav<br>
<br>
> Ordinarily that should not prevent blocks from being allocated, because<br>
> unlinked dinodes should be automatically reclaimed as needed.<br>
> It could be a fragmentation issue: Maybe there's enough free space, but<br>
> the free space is too fragmented to allow for a required block allocation.<br>
><br>
> So it is difficult to say what exactly is going on. If you want to send<br>
> me your file system metadata, I'd be happy to examine it and let you<br>
> know what I find. This can be saved with: gfs2_edit savemeta <device> <output file><br>
> The resulting files are often too big to email, so you may need to put<br>
> it on an ftp server or something instead.<br>
><br>
> Also, bear in mind that GFS2 has a severe performance penalty when your<br>
> file system is nearly full. The less free space available, the more time<br>
> it takes to find free space. So you'll probably get much better performance<br>
> if you make the file system bigger (lvextend the volume then gfs2_grow).<br>
><br>
<br>
<br>
<br>
> Regards,<br>
><br>
> Bob Peterson<br>
> Red Hat File Systems<br>
><br>
<br>
--<br>
Linux-cluster mailing list<br>
<a href="mailto:Linux-cluster@redhat.com" target="_blank">Linux-cluster@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/linux-cluster" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>
</blockquote></div>