November 28, 20178 yr What's the easiest way to create RamDisk Samba share in UnRAID accessible across the network?
November 28, 20178 yr Create the folder you want anywhere you want (ie: /mnt/myshare, /mnt/disks/myshare, etc) Then add this section to /config/smb-extra.conf on the flash drive [NameOfSMBShare] path=/path/to/share valid users = whoever write list = whoever On boots, NameOfSMBShare will be available (assuming you also create /path/to/share at every boot via the go file)
November 28, 20178 yr Author 6 minutes ago, Squid said: Create the folder you want anywhere you want (ie: /mnt/myshare, /mnt/disks/myshare, etc) Then add this section to /config/smb-extra.conf on the flash drive [NameOfSMBShare] path=/path/to/share valid users = whoever write list = whoever On boots, NameOfSMBShare will be available (assuming you also create /path/to/share at every boot via the go file) All I need to put in the Go file is the path I created (ie. /mnt/ramdisk)?
October 16, 20196 yr On 11/28/2017 at 9:55 PM, Squid said: Yeah Hey there, thanks for the tip... I didn't tried it yet but I was curious if there are other arguments, for example to export the share in hidden mode, give read/write access to some users...as in the UNRAID GUI itself. Thank you.
March 14, 20206 yr Followed this to a T whenever i try connecting to the share i created im prompted for login credentials even though its a public share. none of my created users are valid even though users panelshows i have read write access to the share
March 14, 20206 yr 52 minutes ago, Sinister said: Followed this to a T whenever i try connecting to the share i created im prompted for login credentials even though its a public share. none of my created users are valid even though users panelshows i have read write access to the share Not following what you're talking about. This thread is about creating a smb share to something completely outside of unRaid's (and Unassigned Devices) control. Anything share created with this method will most definitely not appear on the dashboard or in the shares tab.
March 14, 20206 yr 1 minute ago, Squid said: Not following what you're talking about. This thread is about creating a smb share to something completely outside of unRaid's (and Unassigned Devices) control. Anything share created with this method will most definitely not appear on the dashboard or in the shares tab. my apologies after rereading several times and getting it right i do see it does not show up in the panel but now even with it in the correct directory i still am prompted for login credentials
March 15, 20206 yr On 10/21/2018 at 4:48 PM, Squid said: Might be better to ask what you're trying to do, as everything outside of /mnt/ is stored in RAM. IE: if you're trying to have a container access a folder in RAM instead of appdata, then just give it a host path of something like /tmp/containerName/ in this case would mnt/user count as a possible Ram Drive directory if one chooses too ?
March 15, 20206 yr 2 hours ago, Squid said: Not following what you're talking about. This thread is about creating a smb share to something completely outside of unRaid's (and Unassigned Devices) control. Anything share created with this method will most definitely not appear on the dashboard or in the shares tab. Will have to forgive me as things people assume are obvious are not always obvious to others in light of that I wish to create a ram disk on unraid to test my 10GB network cards as i do not have a NVME drive in either. so in light of that some questions. the post says to type this in /config/smb-extra.conf, found that with no issue, next i typed in the provided text going like this name= ramdisk path to share is /tmp/ramdisk valid users= whoever write list = whoever created a folder via krusader in /tmp called ramdisk edited go file with the path. now does valid user= unraid user account ? or profile from PC you are trying to connect from, is the directory i chose acceptable or is there a better choice that would help me achieve what im trying to do.
March 15, 20206 yr No. Because the fuse driver resolves everything within it to be one physical drives.
March 15, 20206 yr Community Expert 10 minutes ago, Sinister said: in this case would mnt/user count as a possible Ram Drive directory if one chooses too ? /mnt/user is the user shares. Any folder created there will create a user share, and Unraid will choose a disk for it on the array since it will have default settings.
March 15, 20206 yr 1 minute ago, trurl said: /mnt/user is the user shares. Any folder created there will create a user share, and Unraid will choose a disk for it on the array since it will have default settings. so then would i create something like mnt/ramdisk ?
March 15, 20206 yr 4 minutes ago, Sinister said: so then would i create something like mnt/ramdisk ? If you really want to have it within /mnt, create it somewhere within /mnt/disks (ie: /mnt/disks/ramdisk). The particular subfolder is pretty much guaranteed that unRaid will never try and touch it.
March 15, 20206 yr Community Expert Since you had this discussion going in 2 different threads I have split the posts from that other thread into this one. Please keep things together so we can coordinate responses.
March 15, 20206 yr Thank you and apologies for the confusion so currently my SMB config file is #unassigned_devices_start #Unassigned devices share includes include = /tmp/unassigned.devices/smb-settings.conf #unassigned_devices_end [rootshare] path = /mnt/user comment = browseable = yes # Public public = yes writeable = yes vfs objects = [ramdisk] path = /UNRAID/disks/ramdisk comment = browseable = yes # Public public = yes writeable = yes vfs objects = when looking in /mnt via krusader no other directories exist in it but when going through my folder titled UNRAID the path exists Edited March 15, 20206 yr by Sinister screenshots
March 15, 20206 yr at this point im more than willing to donate towards anyones time who can help me resolve this
March 15, 20206 yr In the smb config change /UNRAID/disks/ramdisk to be /mnt/disks/ramdisk Add this line to your go file (/config/go on the flash drive) mkdir -p /mnt/disks/ramdisk Reboot and ramdisk is now a share on the network
March 15, 20206 yr 29 minutes ago, Squid said: In the smb config change /UNRAID/disks/ramdisk to be /mnt/disks/ramdisk Add this line to your go file (/config/go on the flash drive) mkdir -p /mnt/disks/ramdisk Reboot and ramdisk is now a share on the network that seems to have worked but the last hurdle im facing is the ramdisk size which i cant possibly transfer anything to
March 15, 20206 yr Community Expert IIRC anything mounted under /mnt/disks/ is limited to 1MB, except actual UD mount points, this was done on purpose, don't use /mnt/disks/ for that.
March 15, 20206 yr 15 minutes ago, johnnie.black said: IIRC anything mounted under /mnt/disks/ is limited to 1MB, except actual UD mount points, this was done on purpose, don't use /mnt/disks/ for that. then any suggestion on what i should use ? at this point im just going crazy trrying to do a single test to figure out whether or not the cards i purchased need to be returned. Dell broadcom 58710
March 15, 20206 yr 21 minutes ago, johnnie.black said: e.g. /mnt/ramdisk should work holy hell it worked and i managed to test and can not get over 450+ MB/s from ramdisk to ramdisk thank you so much
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.