Re: mke2fs -O dir_index save to use with kernel >=2.4.25 ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mar 17 Gregor Zattler wrote:

>is it save to use ext2 / ext3 hashed b-trees feature with linux
>kernel >= 2.4.25 ?

I believe so, in that the kernel and your filesystem won't blow up!

However, to reap the benefits of dir_index, you need to run Linux 2.6, or 
a specially patched 2.4.

I believe that if you're hopping between both versions, you need to run 
fsck -fD on your ext3 volumes.

Unfortunately this takes a lot of time to run on my big volume with over a
million files--I'd love to do it on-line to save downtime, but I don't
believe such a tool to do this safely[1] exists.

Matt

[1] by safely I meant atomically. If you don't care about this then tar
will suffice! Or, better, do a "find -type d", re-make the hierarchy and
mv all your files (etc) across. This can be atomic for file handles modulo 
modulo the big fat race of no opens or creates (etc) are called ;)


_______________________________________________

Ext3-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ext3-users

[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux