I have a dozen drives in my Amahi server with ages ranging from a few days old to more than three years. The oldest drives are:
1) the smallest in my server,
2) the likeliest to fail (due to age),
3) out of warranty
Additionally, I have a mix of shares that have duplicate copies and those that don't.
Is it possible to configure my older/smaller drives to only hold files that are part of a duplicate pair?
That way when they fail I will have the least amount of impact to my recovery.
Thanks.
configure a drive to ONLY be used for duplicates
Re: configure a drive to ONLY be used for duplicates
Remove those old drives from being used in the pool.
That way they are still shares but won't be torn up (not that greyhole actually causes drive thrashing ) doing greyhole duplicate work.
ssh/ terminal into your hda and find what is being used in the pool..
.. will show you which partitions can be removed.
Now you must know which drives you want to remove, so correlate to the drives in the drives section of the web gui.
Once you know which drives are going to be removed from the pool..
... the above for each path that you wish to remove from the pool (may be dissimilar)
When it's done offloading to your newer drives, uncheck the old drives from using the pool, in the web gui.
I think this way you can use your older drives for less crucial storage of things, and selectively.
Otherwise, I don't know of a modification or method to have greyhole use a drive for only dups, because it would likely cause a mishmash when trying to do drive space balancing.
... calling Dr. Greyhole himself!
That way they are still shares but won't be torn up (not that greyhole actually causes drive thrashing ) doing greyhole duplicate work.
ssh/ terminal into your hda and find what is being used in the pool..
Code: Select all
sudo greyhole --going
Now you must know which drives you want to remove, so correlate to the drives in the drives section of the web gui.
Once you know which drives are going to be removed from the pool..
Code: Select all
sudo greyhole --going=/var/hda/files/drives/DRIVE-TO-BE-REMOVED/gh
When it's done offloading to your newer drives, uncheck the old drives from using the pool, in the web gui.
I think this way you can use your older drives for less crucial storage of things, and selectively.
Otherwise, I don't know of a modification or method to have greyhole use a drive for only dups, because it would likely cause a mishmash when trying to do drive space balancing.
... calling Dr. Greyhole himself!
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
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
Re: configure a drive to ONLY be used for duplicates
So I think you're suggesting taking them out of the pool and then creating a new share and manually managing what I put on them. If that's the case I think this kinda defeats the point of Amahi. I might be better off turning duplication on for all of my shares. That way I know that everything on the older drives is duplicated somewhere else. I'll have to do the math on this to figure out the impact on my storage.Remove those old drives from being used in the pool.
That way they are still shares but won't be torn up (not that greyhole actually causes drive thrashing ) doing greyhole duplicate work.
Maybe the greyhole folks will see this and consider it as a feature. I think it would be useful since one of the points of a JBOD system is to have a mishmash of hardware and this would help mitigate some of the failure risk.
Thanks.
Re: configure a drive to ONLY be used for duplicates
George added some storage definitions to greyhole a while back... Look around the greyhole site for some tips that might help your situation.
https://github.com/gboudreau/Greyhole/w ... rithmUsage
https://github.com/gboudreau/Greyhole/w ... rithmUsage
Amahi 6.1 x86_64 ExpressCD - Intel D510MO, 2GB, Promise TX300
1x 500GB 2.5" WD Black (OS and LZ). Pool: 1x 1.5TB Samsung F2, 1x 1.5TB Samsung F3, 1x 2TB Samsung F4EG
Apps: uShare, uTorrent, Amahi Energy Saver
1x 500GB 2.5" WD Black (OS and LZ). Pool: 1x 1.5TB Samsung F2, 1x 1.5TB Samsung F3, 1x 2TB Samsung F4EG
Apps: uShare, uTorrent, Amahi Energy Saver
Re: configure a drive to ONLY be used for duplicates
Thanks. I'll have to look at this when my brain is fresh.George added some storage definitions to greyhole a while back... Look around the greyhole site for some tips that might help your situation.
https://github.com/gboudreau/Greyhole/w ... rithmUsage
-
- Posts: 54
- Joined: Tue Mar 22, 2011 7:09 am
Re: configure a drive to ONLY be used for duplicates
Tell us if you get it to work, i have been trying to understand that myself, but i dont know where to put the commands, or what to do to make that active.
Who is online
Users browsing this forum: No registered users and 13 guests