[Ocfs2-users] No Space left on the device.

Tao Ma tao.ma at oracle.com
Thu Mar 4 22:33:36 PST 2010


Hi Aravind,

Aravind Divakaran wrote:
> Hi,
> 
> I am facing problem due to free space fragmentation.
> 
> http://oss.oracle.com/bugzilla/show_bug.cgi?id=1189.
> 
> In the above link it is mentioned that reducing the slots can solve the
> issue. Right now i have 4slots. As my ocfs device is configured for a
> failover for mailserver of 2systems, if i reduce it to 2slots whether i
> can solve this issue. Please let me know if this is the command i have to
> give to reduce the slots to 2.
Decreasing slots just release the volume we reserved for journal, so it 
didn't help for free space fragmentation actually. I have looked into 
your system_dir output, the journal size is only 256M, so in total you 
will have 512M more free space. Don't know whether it is big enough for you.
> 
> tunefs.ocfs2 -N 2 /dev/mapper/store
This is an offline action, so you need to umount the volume from all the 
nodes to go ahead.

Another way is that you can cp the file to another volume, remove it and 
then cp back. It should be contiguous enough.

Regards,
Tao
> 
> Rgds,
> Aravind M D
> 
>> Hi Aravind,
>>
>> Aravind Divakaran wrote:
>>> Hi
>>>
>>> My ocfs filesystem has 270gb free space.
>>>
>>> Filesystem            Size  Used Avail Use% Mounted on
>>> /dev/mapper/store     501G  232G  270G  47% /data
>>>
>>> INode details for ocfs filesystem is
>>>
>>> Filesystem            Inodes   IUsed   IFree IUse% Mounted on
>>> /dev/mapper/store    131225616 60588258 70637358   47% /data
>>>
>>> I have run the stat_sysdir.sh on /dev/mapper/store. The output is on the
>>> below link.
>>>
>>> http://pastebin.com/4VLLCpRa
>> I just went through the output and confirmed that the culprit is free
>> space fragmentation. So please refer to
>> http://oss.oracle.com/bugzilla/show_bug.cgi?id=1189.
>>
>> Regards,
>> Tao
>>> Please help me to resolve this issue.
>>>
>>> Rgds,
>>> Aravind M D
>>>
>>>
>>>
>>>> Hi Aravind,
>>>>
>>>> Sounds like you might have hit the free space fragmentation issue:
>>>> http://oss.oracle.com/bugzilla/show_bug.cgi?id=1189
>>>>
>>>> I'm sure that if you post output of stat_sysdir.sh
>>>> (http://oss.oracle.com/~seeda/misc/stat_sysdir.sh) one of the ocfs2
>>>> devs
>>>> will be able to confirm this.
>>>>
>>>> *If* it is this problem, removing some node slots will help. That is of
>>>> course if you have more node slots that you need. I think 8 are created
>>>> by
>>>> default.
>>>>
>>>> Cheers,
>>>>
>>>> Brad
>>>>
>>>>
>>>> On Thu, 4 Mar 2010 10:28:49 +0530 (IST)
>>>> "Aravind Divakaran" <aravind.divakaran at yukthi.com> wrote:
>>>>
>>>>> HiAll,
>>>>>
>>>>> For my mailserver i am using ocfs2 filesystem configured on san. Now
>>>>> my
>>>>> mail delivery application is sometimes complaining No Space left on
>>>>> the
>>>>> device, even though there is enough space and inodes. Can anyone help
>>>>> me
>>>>> to solve this issue.
>>>>>
>>>>>
>>>>> Rgds,
>>>>> Aravind M D
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Ocfs2-users mailing list
>>>>> Ocfs2-users at oss.oracle.com
>>>>> http://oss.oracle.com/mailman/listinfo/ocfs2-users
>>>> _______________________________________________
>>>> Ocfs2-users mailing list
>>>> Ocfs2-users at oss.oracle.com
>>>> http://oss.oracle.com/mailman/listinfo/ocfs2-users
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> 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