Sure zpool or glusterfs could do the job, but Iām trying to avoid overhead from more IO layers.
It looks like this should be possible by adding entries to ipfs config Datastore.Spec.mounts
, but Iām having trouble with the syntax. Should I copy the child block and change the path, or copy the whole first mount entry and change the mountpoint?
[
{
"child": {
"path": "blocks",
"shardFunc": "/repo/flatfs/shard/v1/next-to-last/2",
"sync": true,
"type": "flatfs"
},
"mountpoint": "/blocks",
"prefix": "flatfs.datastore",
"type": "measure"
},
{
"child": {
"compression": "none",
"path": "datastore",
"type": "levelds"
},
"mountpoint": "/",
"prefix": "leveldb.datastore",
"type": "measure"
}
]
Ideally I could let IPFS fill entire dedicated partitions, and possibly some sort of automated load balancing across mounts.
By the way, EDITOR=nano ipfs config edit
hangs on exit even without saving changesā¦