Adam22
July 1, 2021, 12:52pm
1
Hi guys, so i have insert 128 gb. Ram into my system and tried the following command:
sudo mkdir -p /mnt/ram && sudo mount -t tmpfs -o size=110G tmpfs /mnt/ram
But nothing has happened… AND how to i take in use:
I currently use the line, but how do I add the Ramdisk to my temp 2 :
./chia_plot -n -1 -r 24 -u 512 -v 512 -t /media/milo/9da83a8b-ee26-4f93-9a78-1a8a412d7399/ -2 /media/milo/e5b81443-9c03-4261-a7ae-ed48c235f132/ -d /media/milo/Elements1/ -p ac6c670c5c2443362049397756e748c5d850016a5b46471ab6921c30738a3772c540fc24296533aa2f60b235121939f9 -f 9034e94f0bf765685e7bab2c133be651c99cedd933059460b2056d2224de70a1019fce457eee28c150f88901a8a6135a
something like
-2 /mnt/ram/e5b81443-9c03-4261-a7ae-ed48c235f132/
That is not the 128 gb. Ram… (Ramdisk)…
You have selected my nmve m.2
This command creates a ramdisk at: /mnt/ram
(assuming it was created successfully)
If you want to use it as temp 2 then you need to set -2
to /mnt/ram
.
./chia_plot -n -1 -r 24 -u 512 -v 512 -t /media/milo/9da83a8b-ee26-4f93-9a78-1a8a412d7399/ -2 /mnt/ram/ -d /media/milo/Elements1/ -p ac6c670c5c2443362049397756e748c5d850016a5b46471ab6921c30738a3772c540fc24296533aa2f60b235121939f9 -f 9034e94f0bf765685e7bab2c133be651c99cedd933059460b2056d2224de70a1019fce457eee28c150f88901a8a6135a
1 Like
Thanks, but how can see that the ramdisk has been created… Nothing appears in the windows section or in disks , please see below
s
That is a good question. To check if it was created you can open a terminal and run df -h
it should show up in the list somewhere mounted on /mnt/ram
.
But it would appear that it doesn’t show up as a ‘disk’, but instead behave as a directory on /mnt/ram
. To access using the file explorer go to:
Other Locations>Computer>mnt>ram
If you really want it to show in file explorer you can create it in your /media
directory instead.
Note: You might want to remove the previous ramdisk you created first with:
sudo umount /mnt/ram/
sudo mkdir -p /media/ram && sudo mount -t tmpfs -o size=110G tmpfs /media/ram
But even this doesn’t show up in disks. I don’t know why.
2 Likes
no that isn’t your name drive
e5b81443-9c03-4261-a7ae-ed48c235f132 is just a made up folder name on /mnt/ram/
sigh
try this
-2 /mnt/ram/
1 Like
hi thanks for the help, it worked… but after a restart i cant use the ram :
Adam22
July 1, 2021, 7:11pm
10
I can’t even unmount it… weird…
You need to create the ram disk everytime you reboot. or you can edit your /etc/fstab
to create one on boot. See your other thread.
In the first photo you’re using /mnt/ram
as -2
, should it be /media/ram
now? Which ramdisk are you making?
In the second photo: you can’t unmount it because only sudo can. Run
sudo umount /media/ram
in the command line, or reboot, and it should just dissappear.
Adam22
July 1, 2021, 7:38pm
12
I have unmount and mount it correctly now, but i think something is wrong… I have waited like 5 min… And nothing is happening…
You created a ramdisk on /media/ram
You need to update your create_plot command to use it by setting -2
to use /media/ram
:
./chia_plot -n -1 -r 24 -u 512 -v 512 -t /media/milo/9da83a8b-ee26-4f93-9a78-1a8a412d7399/ -2 /media/ram/ -d /media/milo/Elements1/ -p ac6c670c5c2443362049397756e748c5d850016a5b46471ab6921c30738a3772c540fc24296533aa2f60b235121939f9 -f 9034e94f0bf765685e7bab2c133be651c99cedd933059460b2056d2224de70a1019fce457eee28c150f88901a8a6135a
1 Like
Adam22
July 1, 2021, 7:53pm
14
i think i did, but now after a restart it worked, thanks again
1 Like