Page 1 of 1

Files not moved into pool

Posted: Fri Dec 10, 2010 4:32 pm
by uslacker
I suspect I don't understand greyhole enough yet, so please bear with me. I have a two drive pooI that doesn't include the root disk (root is on a separate disk).

I added the hda/Pictures share to the pool and told it to maintain 1 extra copy. Afterwards I copied my pictures the share (duh!). I was poking around the file system and didn't see what I expected. The Pictures files are in three places - /var/hda/files/Pictures, drive2/Pictures & drive 4/Pictures.

I was expecting them to be removed from var/hda/files/Pictures. Details here:
http://fpaste.org/8py4/
smb.conf
http://fpaste.org/0RoK/
greyhole.conf
http://fpaste.org/mn7r/


Thanks
\\Greg

Re: Files not moved into pool

Posted: Fri Dec 10, 2010 6:27 pm
by gboudreau
Check the total size of /var/hda/files/pictures:

Code: Select all

du -sh /var/hda/files/pictures
It should be very small.
Those are only directories that contain links to the real file copies.

If it's not that small, it's because is still working on moving the files into your drives. /var/hda/files/pictures is where the first are first, before getting moved by Greyhole in the background.

You can check Greyhole progress with

Code: Select all

greyhole --view-queue
or

Code: Select all

tail -f /var/log/greyhole.log

Re: Files not moved into pool

Posted: Fri Dec 10, 2010 7:45 pm
by uslacker
You're right. They're all links. Now I understand.

Thanks.