monero+p2pool: move to ssds
I tried running these on my hdd array because I have more storage there but it is WAY too slow. So I need to have it on the ssds instead, as much as it pains me to use my valuable ssd space.
This commit is contained in:
@@ -50,6 +50,26 @@
|
|||||||
yearly = 0;
|
yearly = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
datasets."${service_configs.zpool_ssds}/services/monero" = {
|
||||||
|
recursive = true;
|
||||||
|
autoprune = true;
|
||||||
|
autosnap = true;
|
||||||
|
hourly = 0;
|
||||||
|
daily = 0;
|
||||||
|
monthly = 0;
|
||||||
|
yearly = 0;
|
||||||
|
};
|
||||||
|
|
||||||
|
datasets."${service_configs.zpool_ssds}/services/p2pool" = {
|
||||||
|
recursive = true;
|
||||||
|
autoprune = true;
|
||||||
|
autosnap = true;
|
||||||
|
hourly = 0;
|
||||||
|
daily = 0;
|
||||||
|
monthly = 0;
|
||||||
|
yearly = 0;
|
||||||
|
};
|
||||||
|
|
||||||
datasets."${service_configs.zpool_hdds}" = {
|
datasets."${service_configs.zpool_hdds}" = {
|
||||||
recursive = true;
|
recursive = true;
|
||||||
autoprune = true;
|
autoprune = true;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
(lib.serviceMountWithZpool "monero" service_configs.zpool_hdds [
|
(lib.serviceMountWithZpool "monero" service_configs.zpool_ssds [
|
||||||
service_configs.monero.dataDir
|
service_configs.monero.dataDir
|
||||||
])
|
])
|
||||||
(lib.serviceFilePerms "monero" [
|
(lib.serviceFilePerms "monero" [
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
(lib.serviceMountWithZpool "p2pool" service_configs.zpool_hdds [
|
(lib.serviceMountWithZpool "p2pool" service_configs.zpool_ssds [
|
||||||
service_configs.p2pool.dataDir
|
service_configs.p2pool.dataDir
|
||||||
])
|
])
|
||||||
(lib.serviceFilePerms "p2pool" [
|
(lib.serviceFilePerms "p2pool" [
|
||||||
|
|||||||
Reference in New Issue
Block a user