Page 1 of 1

Cannot delete empty folders

Posted: Thu Dec 23, 2010 10:59 am
by moncapitaine
I am accessing my hda shares from a windows machine using a filemanger on the network.
I tried moving full directories from one share to another, however that left me with some empty folders on the forst share.
Both shares are part of the storage pool.
Greyhole is latest version.
greyhole.conf states failed rmdirs, then idles.
The filemanager complains about not empty dirs.

Re: Cannot delete empty folders

Posted: Fri Dec 24, 2010 12:57 pm
by gboudreau
Run

Code: Select all

greyhole --fsck
Then try again to remove those directories.

Re: Cannot delete empty folders

Posted: Sun Dec 26, 2010 2:25 am
by moncapitaine
That did the trick. But isn't greyhole supposed to do that every day at midnight?
Becaue I waited a whole day and it still did not work before the manual fsck.
Just to improve my understanding of greyhole.

Anyway, merci beaucoup.

Re: Cannot delete empty folders

Posted: Sun Dec 26, 2010 8:01 am
by gboudreau
No. fsck isn't run daily anymore.
Daily fsck takes a lot of time on pools with a lot of data, and is kind of a waste when everything works fine.
Daily fsck will only run when configuration changes are detected, and once a week.