Storing The Cardano Blockchain on Another Hard Drive/Flash Drive

It works the analogous way on mac systems, if you use the symlink command in a shell prompt:

ln -s <TARGET> <ORIGIN>

1 Like

yes, great help!

thank you!

one more question if you don’t mind :slight_smile:

after the whole process, if I install the wallet on a different computer and mklink it again, it will basically be my actual wallet, moved from a side to another, am I right?

thank you!

There’s a way to install and run daedalus in the flash drive?

only if you install windows on the flash drive/external memory

Yes, look at my thread here
As LS121, I use a mklink, but I created .bat to quickly create/delete the link.
That means once I connect my flash drive, I use a .bat which create the link, then I can open Daedalus installed on the flash drive, and when I’m finished I use another bat to clean up the link.

Thank you for saving my SSD! :smiley:

Nice tip :): smile:

Great tip!
Anyway, you don’t need to download the whole blockchain in order to do this. Just start Daedalus and give it the time to create the folder in AppData…just a few percentages of the blockchain are enough. Then proceed with the LS121 guide. Everything works fine for me anyway.
Peace

1 Like

In windows 10 you can go to “settings - system - storage - change where new content is saved” and set a different drive for all app data storage; for that user… This will create a new “username” folder on that drive, including all the trimmings like AppData. It only works for this case, if you do it before the Daedalus install. But still a handy tip for anyone using an SSD and wanting to save space on the OS drive…

downloaded the latest ver today. noticed like others the daedalus.bat file no longer exists. i created the new link to my SSD for the %APPDATA%\Daedalus dir. reinstalled the new version and launched the cardano-launcer.exe.

it errors out returning can’t find the C:\Users<username>\AppData\Roaming\Daedalus

so why is that with this new version?

error log reports this error too:
[node:ERROR:ThreadId 3] [2018-04-29 21:45:06.87 UTC] C:\Users<username>\AppData\Roaming\Daedalus\Secrets-1.0\secret.key: openFile: does not exist (No such file or directory)

it created “GPUCache” and “LocalStorage” so why can’t it create “Secrets-1.0”?

i removed the junction link, reinstalled Daedalus, and it finally sync’d. but now i got to do a restore. and then get it to run/store to my usb SSD. it’s 2018, no option for user to install/store where ever they need to?, odd.

I’m guessing the “option” in the previous version wasn’t intended as such, or not for ordinary users, I certainly never saw it mentioned officially anywhere. I agree it’s a shame we no longer have it though.

thanks for confirming.

hey…it’s work !!!..thanks for u sharing :slight_smile:

Has anyone tried editing nodeDbPath inside %PROGRAMFILES%\Daedalus\launcher-config.yaml ? (try wscite or Notepad++ or VS Code; Notepad.exe won’t work because of the Unix line-endings.) I might use mklink /j, but think I would prefer editing the config. Incidentally, I hope the Cardano team assigns the task of optimizing disk usage fairly high priority; these millions of <1KB files are bad for many filesystems (NTFS, ZFS, and various Linux filesystems with inode limits), especially with virus scanners running, etc. I may try creating a VFS, such as mounting a VHDX formatted to Fat32 or ntfs with a very small cluster size (1kb or 512 bytes), but I think it would be more efficient if Cardano created its own database or VFS or used some simple database library like Berkley DB or maybe even Sqlite.)

1 Like

Agreed, I am shocked that Cardano uses the file system as a database. Why are you storing 2.4 million files (6GB size on NTFS disk, 2.5GB file size) on my boot disk? It is deplorable. REALLY crappy design in my opinion.

Expect a significant redesign on this with upcoming v1.3 and .4

Even though I’ve been aware of this topic for quite some time, having passed it on to people who asked for this sort of solution, specifically in the TG tech support/general chat, I wanted to bump this topic once more.
It recently helped me a lot saving up some disk space, as well as add another layer of security to storing the Cardano blockchain and wallet, as it becomes a kind of ‘cold wallet’ storage.

In addition, I was also able to manage to install Daedalus on 2 different machines and move in between them with the external HDD, without trouble.

Even though it all works, one should realize that doing this sort of setup is not common and somewhat experimental (even though it’s been working flawlessly for me personally). If you have any doubts about it, just try it out on another PC or in a VM environment first.

Many thanks and props to the original topic starter!

Cheers!

EDIT: added a quick video of what a possible setup could look like, here: https://twitter.com/Katsumoto87/status/1085789925008523264

6 Likes

Hi lyrx1,

Can you please elaborate a bit on this for us mac laymen?

At what point in the six steps should we input the code you have provided into the terminal?