[Ocfs2-users] resize ocfs LUN

Umarzuki Mochlis umarzuki at gmail.com
Mon May 16 02:27:28 PDT 2016


Any document that have details about what you have explained so I can refer to?

Thanks.

2016-05-16 17:07 GMT+08:00 Joseph Qi <joseph.qi at huawei.com>:
> Hi,
> It depends on the user scenario. I suggest choose the approximate
> cluster size with the most files. And you should also consider the
> volume size support, for example, 4K cluster will only support 16TB
> volume, while 1M cluster can support 4PB.
> BTW, no matter 4kb or 20kb files, they are always occupy 128kb in your
> ocfs2 volume. If file size is less than about 3.8kb, it will use inline
> data feature which stores data together with inode and won't allocate
> new data cluster.
>
> Thanks,
> Joseph
>
> On 2016/5/16 15:52, Umarzuki Mochlis wrote:
>> What is the best way for me to reformat my ocfs LUN because I got
>> complains that 4kb files become 0kb and 20kb files become 128kb. The
>> partition when reaching 80% usage, it will become not writable
>> anymore. It is a LVM2 logical volume.
>>
>> Format command used:
>>
>> sudo mkfs.ocfs2 -b 4K -C 128K -L "Web Cluster" /dev/webvg/weblv
>>
>> Thanks for any advise
>>
>> _______________________________________________
>> Ocfs2-users mailing list
>> Ocfs2-users at oss.oracle.com
>> https://oss.oracle.com/mailman/listinfo/ocfs2-users
>>
>>
>
>



More information about the Ocfs2-users mailing list