[Samba] hardlink unlink-before-save?

Bartosz Stec bartosz.stec at it4pro.pl
Fri Jun 11 04:18:35 MDT 2010


Hello list

On my server almost half of files are duplicated, and there are almost 
100GB of data which is growing fast. I'm using weekly script to find 
duplicated files and replace them with hardlinks. Everything is fine as 
long as users aren't trying to edit and save some documents which have 
hardlinks. With samba 3.3 it seems that hardlinks aren't unlinked before 
file is saved.
Is there any way to force samba to unlink file before write?

Cheers

-- 
Bartosz Stec




More information about the samba mailing list