Even the migration time dosen’t make sense… 1TB/drive should finish in 2-3 days. But if he has more nodes/drive, than yeah, it could take a month.
But then, why would you put more than one node/drive?
Is everyone still talking about forced-migrations? I saw that new uploads are pointed to hashstore… but I don’t think the satellites are telling any nodes to migrate old data yet?
Or maybe I just haven’t seen it …
I think YES, I migrated all my nodes, for me it looks like it work faster, but i dont have anything to compare, but my traffic is 1.2-1.5 from previous.
I don’t have StorJ for StorJ’s sake. I have it for learning, and for that having multiple smaller nodes have been hugely beneficial for me ![]()
Hello - soeet if this has been answered.
i have played around with a test node. and ran:
echo '{"PassiveMigrate":true,"WriteToNew":true,"ReadNewFirst":true,"TTLToNew":true}' > 121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6.migrate
echo '{"PassiveMigrate":true,"WriteToNew":true,"ReadNewFirst":true,"TTLToNew":true}' > 12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S.migrate
echo '{"PassiveMigrate":true,"WriteToNew":true,"ReadNewFirst":true,"TTLToNew":true}' > 12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs.migrate
echo '{"PassiveMigrate":true,"WriteToNew":true,"ReadNewFirst":true,"TTLToNew":true}' > 1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE.migrate
On the node.
It seems to work?
But, is there default methoed hashtable? or memtable?
and wich one requires alot of RAM? and which do not? And does the other one require alot of SSD?
im confussed.
I just want to enable hashstore in the way that dont use to much ram, just to test out with.
Hashtable is the default. Memtable is the one that uses TB*(1-1.3) GB of memory. Neither require a lot of SSD… however you may choose to store hashtable on SSD.
Thanks. so i can safetly enable and “set it and forget it”?
if you used environmental variable, then whole pc is using memtbl
It’s true only for Windows, because there is no easy way to provide environment variables per service. Actually you can, but then each service should use an own service user to run it, then you can provide a user-specific environment variables, not system-wide. So, for Windows services it is better to use config options instead.
You only have the passive migration enabled right now. Each new byte you store is being written to hash store, and each time a piece store piece is being read, it will be moved to hash store.
If you want to migrate everything right away, you additionally need to make the changes below
echo -n true > 121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6.migrate_chore
echo -n true > 12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S.migrate_chore
echo -n true > 12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs.migrate_chore
echo -n true > 1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE.migrate_chore
Thank you Ottetal ![]()
chars chars
Hi
How I can check that active migration is done?
It’s running almost two weeks for 8TB on Synology:
hplmagon@DiskStation:/volume1/Applications/StorJ/config/storage/hashstore$ du -hs
6.4T .
hplmagon@DiskStation:/volume1/Applications/StorJ/config/storage/blobs$ du -hs
739G .
Looking the space usage of blobs and hashstore is ok?
If migration is done then blobs should be 0 size?
Thanks,
Hello @drixter,
Welcome back!
Blobs should be almost zero in size. If it wouldn’t be so after several weeks, then you need to check - maybe you have errors during migration? I.e. your node has corrupted pieces.
My longest migration took 4 weeks for a 6TB node using QNAP TR-002 USB case.
I started a full migration to hashstore in my smaller test node with 1.5TB. Can anybody tell, if the piecestore will get deleted by itself when migrated to hashstore? Or will my node occupy around twice the space in this phase? Do I have to delete the piecestore by myself, when finished? I’m a bit afraid to delete things in here, risking a disqualification.
It will delete files, but directories will remain. So not big deal, definitely not twice. And once directories are empty - you can delete them, just leave blobs directory. Details in this thread.
Pieces are moved to hashstore. In computer science terms, they’re created in hashstore, and deleted in piece store. This will happen automatically, but do expect a slight increase in overall size, while the move is going on.
One of the databases, however, won’t know what to do, and will report double size for most of the duration. Once migration is complete, you can manually turn off the node, delete the database, and it will be recreated once node starts again. Within a few days, it should reach the real value ![]()
I do hope this process becomes more seamless when the move gets “pushed” by Storj.
I have no intention of fiddling with databases unless I absolutely must ![]()
With hashstore we don’t have to walk millions of files anymore. My nodes displayed the real numbers immediately after restart.