Hey everybody
Short but important question for me. Can i change the "extra copies" Parameter in Storage pool from "always max" to 2 or 3 ?
What i have to attend?
Look at the picture
Change "Extra Copies" in Greyhole
Change "Extra Copies" in Greyhole
- Attachments
-
- share.png (16.19 KiB) Viewed 2741 times
Re: Change "Extra Copies" in Greyhole
Yes you can, it's your choice. Keep in mind that reducing it from Max will change where copies of your files are stored. Greyhole has a formula to do that, but should one drive go bad and it has the only copy of a file, you would lose it.
The number of copies is based on how many drives are in the storage pool of course, so if you only have 3, changing it to 1 or 2 will not give you 100% redundancy for recovery.
I may be mistaken, but that is the way I understand it.
The number of copies is based on how many drives are in the storage pool of course, so if you only have 3, changing it to 1 or 2 will not give you 100% redundancy for recovery.
I may be mistaken, but that is the way I understand it.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Change "Extra Copies" in Greyhole
But If I chose 1 copy. then i have to 2 copies of the file?
Beacuse the original file and the copy file iam right with this?
Beacuse the original file and the copy file iam right with this?
Re: Change "Extra Copies" in Greyhole
Not 100% sure as I have mine set to max. I have a symlink in my share and 1 copy on each drive, with is 3. So technically I only have 3 real copies.
I am no expert, but it appears that anytime you set copies to less than max, but at least 1 there will be a symlink created in your share. It will point to 1 copy of the file on other drives.
My thought is if you are running with 1 OS drive and 1 Greyhole drive, setting it to 1 would yield only 1 real copy in theory. Then if that 1 Greyhole drive dies, you would have a symlink pointing to nowhere. Not sure if that is correct, but that's the way I see it.
I am no expert, but it appears that anytime you set copies to less than max, but at least 1 there will be a symlink created in your share. It will point to 1 copy of the file on other drives.
My thought is if you are running with 1 OS drive and 1 Greyhole drive, setting it to 1 would yield only 1 real copy in theory. Then if that 1 Greyhole drive dies, you would have a symlink pointing to nowhere. Not sure if that is correct, but that's the way I see it.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
-
- Posts: 7
- Joined: Mon Oct 08, 2012 3:42 am
Re: Change "Extra Copies" in Greyhole
Correct! But it takes some time until greyhole deletes the extra copy, you can force a fsck and do not forget to clean your attic. I have standard of +1 and for more precious data i max out.But If I chose 1 copy. then i have to 2 copies of the file?
Beacuse the original file and the copy file iam right with this?
Re: Change "Extra Copies" in Greyhole
Ok thank you.
When i change the Number of copies, how long does it take if greyhole runs the --fsck and clean the attic?
Is this done in 1-2 days or 1 week?
Just for my information , i didn't find anything in the internet.
When i change the Number of copies, how long does it take if greyhole runs the --fsck and clean the attic?
Is this done in 1-2 days or 1 week?
Just for my information , i didn't find anything in the internet.
-
- Posts: 7
- Joined: Mon Oct 08, 2012 3:42 am
Re: Change "Extra Copies" in Greyhole
greyhole usually does a regular fsck on a daily base, as far as I know. You have always to clean the attic by yourself. How long the downgrade will run depends on your amount of data.Ok thank you.
When i change the Number of copies, how long does it take if greyhole runs the --fsck and clean the attic?
Is this done in 1-2 days or 1 week?
Just for my information , i didn't find anything in the internet.
Re: Change "Extra Copies" in Greyhole
If you want to force Greyhole to do it on your schedule, you can do it via command line.
As root user (F14), do:
For Ubuntu, it's:
You can monitor the log at /var/log/greyhole.log file.
As root user (F14), do:
Code: Select all
greyhole -f
Code: Select all
sudo greyhole -f
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Who is online
Users browsing this forum: No registered users and 64 guests