Cannot delete empty folders

moncapitaine
Posts: 39
Joined: Fri Jun 11, 2010 3:40 am
Location: East Germany

Cannot delete empty folders

Postby moncapitaine » Thu Dec 23, 2010 10:59 am

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.
Celeron G530, 8GB RAM, Intel SDD 80GB system, 8TB Storage. Fileserver and Mediaserver.

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: Cannot delete empty folders

Postby gboudreau » Fri Dec 24, 2010 12:57 pm

Run

Code: Select all

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

moncapitaine
Posts: 39
Joined: Fri Jun 11, 2010 3:40 am
Location: East Germany

Re: Cannot delete empty folders

Postby moncapitaine » Sun Dec 26, 2010 2:25 am

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.
Celeron G530, 8GB RAM, Intel SDD 80GB system, 8TB Storage. Fileserver and Mediaserver.

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: Cannot delete empty folders

Postby gboudreau » Sun Dec 26, 2010 8:01 am

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.
- Guillaume Boudreau

Who is online

Users browsing this forum: No registered users and 60 guests