How do I reduce redundancy and eliminate extra file copies?

GodsMadClown
Posts: 3
Joined: Wed Oct 17, 2012 11:30 am

How do I reduce redundancy and eliminate extra file copies?

Postby GodsMadClown » Wed Oct 17, 2012 11:40 am

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?

User avatar
bigfoot65
Project Manager
Posts: 11441
Joined: Mon May 25, 2009 4:31 pm

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

Postby bigfoot65 » Wed Oct 17, 2012 11:56 am

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.
ßîgƒσστ65
Applications Manager

GodsMadClown
Posts: 3
Joined: Wed Oct 17, 2012 11:30 am

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

Postby GodsMadClown » Wed Oct 17, 2012 4:15 pm

Nope. I'll give it a try in IRC tonight.

genel
Posts: 56
Joined: Mon Oct 22, 2012 5:10 pm

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

Postby genel » Fri Oct 26, 2012 11:58 am

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.

User avatar
sgtfoo
Posts: 419
Joined: Sun Jul 18, 2010 8:27 pm

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

Postby sgtfoo » Fri Oct 26, 2012 5:24 pm

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.
SgtFoo
HDA: VM inside oVirt FX-8300 95w (2 cores for HDA), 32GB RAM (2GB for HDA)
My PC: FX-8300, 16GB RAM, 3x 1TB HDDs, Radeon HD6970 2GB video; Win10 Pro x64
Other: PC, Asus 1215n (LXLE), Debian openZFS server (3x(2x2tb) mirrors)
Modem&Network: Thomson DCM475; Asus RT-AC66U; HP 1800-24G switch

GodsMadClown
Posts: 3
Joined: Wed Oct 17, 2012 11:30 am

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

Postby GodsMadClown » Fri Oct 26, 2012 5:43 pm

Everything shook out with the next fsck. Greyhol Identified the redundant copies and removed them. This was a non-issue.

genel
Posts: 56
Joined: Mon Oct 22, 2012 5:10 pm

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

Postby genel » Sat Oct 27, 2012 7:58 am

Thanks, that's good to know.

Who is online

Users browsing this forum: No registered users and 1 guest