Removing extra copies

raxer
Posts: 1
Joined: Sat Apr 16, 2011 7:19 am

Removing extra copies

Postby raxer » Sat Apr 16, 2011 7:20 am

I turn on extra copy of my 2tb folder in amahi. but in my system were only 1 tb free(( so at now, all drives fill up, and i don't know, how remove this dublicate. also i dont't know, where greyhole store dublicated files. How i can manual remove dublicates?

User avatar
lrevxl
Posts: 82
Joined: Fri Mar 04, 2011 7:23 pm
Location: Chicago, IL, USA
Contact:

Re: Removing extra copies

Postby lrevxl » Sat Apr 16, 2011 10:51 am

I turn on extra copy of my 2tb folder in amahi. but in my system were only 1 tb free(( so at now, all drives fill up, and i don't know, how remove this dublicate. also i dont't know, where greyhole store dublicated files. How i can manual remove dublicates?
I'm pretty sure someone else already answered this in chat for you, but for the sake of others:

Reduce the file copies for the share to 1.
Restart Greyhole.
Run an fsck.

Excess copies should be removed during the fsck.

perotine
Posts: 4
Joined: Wed Apr 27, 2011 6:13 pm

Re: Removing extra copies

Postby perotine » Wed Apr 27, 2011 9:19 pm

I turn on extra copy of my 2tb folder in amahi. but in my system were only 1 tb free(( so at now, all drives fill up, and i don't know, how remove this dublicate. also i dont't know, where greyhole store dublicated files. How i can manual remove dublicates?
I'm pretty sure someone else already answered this in chat for you, but for the sake of others:

Reduce the file copies for the share to 1.
Restart Greyhole.
Run an fsck.

Excess copies should be removed during the fsck.
How to select which copy I like to keep? let say i have 3 copy in disc1, disc2, disc3, I like to keep 2 on disc2 and disc3?

CORRECTIONS : THis not working for me - left "keep 0 copies" runned -fsck twice and still have copies on all disks used like they was before (at lease exact same space occupied!!!).
LIKE TO KNOW WHY? you forgot to mentioned to use CLEAR ATTIC after you did -fsck
Run (at root of cause) greyhole -a

and you good to go.

User avatar
lrevxl
Posts: 82
Joined: Fri Mar 04, 2011 7:23 pm
Location: Chicago, IL, USA
Contact:

Re: Removing extra copies

Postby lrevxl » Thu Apr 28, 2011 4:49 pm

CORRECTIONS : THis not working for me - left "keep 0 copies" runned -fsck twice and still have copies on all disks used like they was before (at lease exact same space occupied!!!).
LIKE TO KNOW WHY? you forgot to mentioned to use CLEAR ATTIC after you did -fsck
Not everyone has the attic enabled -- it's optional based on your greyhole config. Once you set the copies to 1 and run an fsck all excess copies are moved to the attic (or deleted directly as the case may be) and only one copy is kept. Further, any new files created after that only produce one copy. That's the direct answer to question of how to set the file copies back to one. But, yes, if you have the attic enabled and want to free up the space used up by the deleted copies (and any other deleted items) you'll want to clear the attic, but that's a separate question. :roll:

Who is online

Users browsing this forum: No registered users and 12 guests