[Ocfs2-users] How to overcome 32000 subdirs limit
Sunil Mushran
sunil.mushran at oracle.com
Thu Nov 25 08:21:02 PST 2010
Not any. But yes, the number of subdirs allowed in a dir should
now be close to 4 billion.
On 11/24/2010 08:11 PM, Sergey Bolbat wrote:
> So, I've done it.
> I was unable to deinstall 1.4.1-1, but "checkinstall" successfully
> upgraded software for me to 1.6.3-1.
> Then, I've run
> tunefs.ocfs2 --fs-features=indexed-dirs /dev/sda1
> And now I have my volumes with indexed dirs enabled. Can I forget
> about any limitations now?
>
> P.S. By the way. For those, who will install OCFS2-tools on Debian
> Lenny, like me, from the sources, here's the complete list of software
> you need to have installed to build it:
> gcc
> make
> python-dev
> python-gtk2
> pkg-config
> e2fslibs-dev
> uuid-dev
> libncurses5-dev
> libreadline-dev
> libglib2.0-dev
>
> 24 ноября 2010 г. 0:25 пользователь Sunil Mushran
> <sunil.mushran at oracle.com <mailto:sunil.mushran at oracle.com>> написал:
>
> Probably better if you deinstall the package. That way you'll know if
> make install is missing a binary or two.
>
>
> On 11/23/2010 05:10 AM, Sergey Bolbat wrote:
>> Alright, I have no time to wait, so I've completed long way of
>> building tools (it had a lot of dependencies from different
>> libraries) and ready to install it.
>> I'm going to use checkinstall to build package.
>> So, do I need to uninstall my 1.4.1-1 ocfs2-tools or I can
>> install it above?
>>
>> Thanks again.
>>
>> 20 ноября 2010 г. 20:41 пользователь Sunil Mushran
>> <sunil.mushran at oracle.com <mailto:sunil.mushran at oracle.com>> написал:
>>
>> Whether or not to hand build is your choice. The resulting
>> binaries should
>> be the same. You could also ping the maintainer and see if he
>> needs any help.
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598014
>>
>> Refer to the 1.6 user's guide. It talks about enabling new
>> features.
>>
>>
>> On 11/20/2010 04:38 AM, Sergey Bolbat wrote:
>>> Thank you for the answer.
>>> I've updated kernel to .32 and now it's time to install
>>> OCFS2 tools 1.6.3.
>>> I've downloaded this source:
>>> http://oss.oracle.com/projects/ocfs2-tools/dist/files/source/v1.6/ocfs2-tools-1.6.3.tar.gz
>>> What do you say about that? It should be better to wait
>>> until ocfs2 tools 1.6.3 for Debian will appear (there is
>>> only 1.4.1-1 for Debian:
>>> http://packages.debian.org/lenny/ocfs2-tools) or it should
>>> be better to compile it from the source?
>>> And by the way, when I'll install 1.6.3, should I update any
>>> options for my storage FS for indexed dirs to work?
>>>
>>> Thanks.
>>>
>>>
>>> 2010/11/19 Sunil Mushran <sunil.mushran at oracle.com
>>> <mailto:sunil.mushran at oracle.com>>
>>>
>>> Yes, indexed dirs removes this limit. For that you'll
>>> need to upgrade the kernel/fs and the tools. Best if the
>>> kernel is .32 or higher. The tools should be 1.6.x.
>>> Debian has a drop of 1.6.3 tools. Check if they have
>>> built it.
>>>
>>> You can read about this and other features in the ocfs2
>>> 1.6 user's guide on oss.oracle.com <http://oss.oracle.com>.
>>>
>>>
>>> On Nov 18, 2010, at 9:13 PM, Sergey Bolbat
>>> <madd.korben at gmail.com <mailto:madd.korben at gmail.com>>
>>> wrote:
>>>
>>>> Hi.
>>>> I have a system storage HP MSA 2012 with 12 drives in
>>>> it: 8 drives are 2 Tb each and 4 are 1 Tb each. All of
>>>> them are in array RAID 1+0.
>>>> This storage is connected to two servers which use
>>>> data, stored on the storage. So I'm using OCFS2 on
>>>> these two nodes.
>>>> Today, after long time of successfull work with it,
>>>> I've found that it has a limit of 32000 subdirs.
>>>> The trouble is I have more than 32000 subdirs and
>>>> amount of subdirs will only increase.
>>>>
>>>> Is there a way to overcome this limit? I've found this
>>>> topic:
>>>> http://www.mail-archive.com/ocfs2-users@oss.oracle.com/msg03151.html
>>>> which says that there is an option named "indexed
>>>> directories" and it can help, but I didn't find the way
>>>> to turn it on.
>>>> Could you please advice me some solution, by which I
>>>> could update OCFS2 settings and not to loose all of my
>>>> data on the drives.
>>>> My OS is Debian Lenny, 2.6.26 kernel (both of servers).
>>>> OCFS2 Tools version is 1.4.1.
>>>>
>>>> Thanks.
>>>> _______________________________________________
>>>> Ocfs2-users mailing list
>>>> Ocfs2-users at oss.oracle.com
>>>> <mailto:Ocfs2-users at oss.oracle.com>
>>>> http://oss.oracle.com/mailman/listinfo/ocfs2-users
>>>
>>>
>>>
>>>
>>> --
>>> С уважением,
>>> Болбат Сергей,
>>> Технический директор ТОО "KAZNET Media"
>>
>>
>>
>>
>> --
>> С уважением,
>> Болбат Сергей,
>> Технический директор ТОО "KAZNET Media"
>
>
>
>
> --
> С уважением,
> Болбат Сергей,
> Технический директор ТОО "KAZNET Media"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20101125/c92c94d8/attachment-0001.html
More information about the Ocfs2-users
mailing list