Page 1 of 1

How do I reduce redundancy and eliminate extra file copies?

Posted: Wed Oct 17, 2012 11:40 am
by GodsMadClown
I was a bit too aggressive in my redundancy settings, and a couple of the smaller disks in the pool have filled up. I'd like to reduce the redundancy for some of my bigger shares, and eliminate the extraneous copies. What's the best way to do this?

Re: How do I reduce redundancy and eliminate extra file copi

Posted: Wed Oct 17, 2012 11:56 am
by bigfoot65
Reduce the number of copies for each share. Not sure if they will be automatically removed from the drive though. Do a test on a single share and then as root user do:

Code: Select all

greyhole -f
Once finished, don't forget to empty the Greyhole attic:

Code: Select all

greyhole -a
After that, check the drives and see if it removed the files.

Re: How do I reduce redundancy and eliminate extra file copi

Posted: Wed Oct 17, 2012 4:15 pm
by GodsMadClown
Nope. I'll give it a try in IRC tonight.

Re: How do I reduce redundancy and eliminate extra file copi

Posted: Fri Oct 26, 2012 11:58 am
by genel
What was the outcome? I am interested because I have not determined the number of copies I want to keep of each kind of file.

Re: How do I reduce redundancy and eliminate extra file copi

Posted: Fri Oct 26, 2012 5:24 pm
by sgtfoo
I think number of copies in a greyhole setup is limited only to needs/wants and the number of drives.

If you want 3 possible copies to cover your from 2 failures, then you need 3 drives and 3 copies. If you want cover from 1 failure, but the ability to store more, then anything from 2 drives and up would be fine.

Re: How do I reduce redundancy and eliminate extra file copi

Posted: Fri Oct 26, 2012 5:43 pm
by GodsMadClown
Everything shook out with the next fsck. Greyhol Identified the redundant copies and removed them. This was a non-issue.

Re: How do I reduce redundancy and eliminate extra file copi

Posted: Sat Oct 27, 2012 7:58 am
by genel
Thanks, that's good to know.