February 1, 20206 yr Hi, I'm trying to get my head round RAM disks and making it persist through reboots..... And I'm getting confused......... I can't find it using MC........ Is the "go" file in the config directory the unraid equivalent? Thanks, Paul
February 1, 20206 yr Any command in "go" is executed whenever the server boots up. Without making whatever changes you require from boot to boot it will be lost since there is really no persistent storage for unRaid short of the settings etc that are stored on the flash drive.
February 1, 20206 yr Author Thanks Squid, I'd be grateful if peeps could look at this and comment on whether it will acheive my aim of setting up a folder "ramdisk" that I can map to from my other computer So, my "go" file.... #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp & /mnt/ramdisk And my "smb-extra.conf" #unassigned_devices_start #Unassigned devices share includes include = /tmp/unassigned.devices/smb-settings.conf #unassigned_devices_end [ramdisk] path=/mnt/ramdisk valid users = paul write list = paul
February 1, 20206 yr While it won't actually cause any problem, putting the RAM disk within /mnt isn't really recommended as it's generally reserved for use of unRaid itself. Put it within /mnt/disks instead Also, your command /mnt/ramdisk is missing something. (Like creating a ramdisk). If all you're trying to do is create a scratch pad or something, why not simply make a directory within /tmp and then share that instead...
February 1, 20206 yr Author Ah, I thought I had to stay outside of disks/cache etc in order to stay of spinning disks and stay in RAM............ Okey dokey, I'll give the /tmp route a go.....
Archived
This topic is now archived and is closed to further replies.