UFS2 optimization for many small files

Lars Kristiansen lars+lister.freebsd at adventuras.no
Wed Mar 12 21:31:23 UTC 2008

Chuck Swiger skrev:
> On Mar 12, 2008, at 12:23 PM, Angelo Turetta wrote:
>> Chuck Swiger wrote:
>>> On Mar 12, 2008, at 11:44 AM, Angelo Turetta wrote:
>>>> I tried understanding where the difference was, but I cannot 
>>>> work-out any cause in the file systems:
>>> I believe Cyrus will create hard links if the same email message is 
>>> kept in multiple folders.
>> Do you know if this includes hard-linking multiple copies of the same 
>> message received by different users? If it's only for messages in the 
>> same user's mailbox, no way incidence can reach 20% in my case.
> That's a good question.  I don't see any reason why this couldn't 
> include the same message received by different users, too....

It does.
You may want to try something like rsync -aH when copying.

Regards, Lars

More information about the freebsd-questions mailing list