May 13, 201016 yr I have a 12 disk array. I run just a single share right now. My share is called Root. This is a portion of my directory structure. Root - Apps - Backups - Videos - Tv - Movies - Kid Movies - Shrek - Ben 10 I'm setting up a device to play videos in my kids room. The device uses smb shares. When I add the share "Root" to the device my kids have access to all the directories. Can I add a new share to unraid that would just access the "Kid Movies" folder under my current share. Thanks
May 13, 201016 yr When I add the share "Root" to the device my kids have access to all the directories. Can I add a new share to unraid that would just access the "Kid Movies" folder under my current share. Telnet to your server and type the following: echo '[kids]' >> /boot/config/smb-extra.conf echo ' path = /mnt/user/Root/Videos/Kid Movies' >> /boot/config/smb-extra.conf Now you have a new samba share accessible through \\Tower\kids
May 13, 201016 yr I have a 12 disk array. I run just a single share right now. My share is called Root. This is a portion of my directory structure. Root - Apps - Backups - Videos - Tv - Movies - Kid Movies - Shrek - Ben 10 I'm setting up a device to play videos in my kids room. The device uses smb shares. When I add the share "Root" to the device my kids have access to all the directories. Can I add a new share to unraid that would just access the "Kid Movies" folder under my current share. Thanks Yes, but not through the unRAID web-interface. Create a file in your config folder on the flash drive. It must be named: smb-extra.conf It will not exist unless you create it, but you can check by typing ls -l /boot/config/smb-extra.conf In it, put these three lines: [Kids Movies] path = /mnt/user/Root/Videos/Kid Movies read only = Yes The file must have unix style line endings, so you might need to put it through "fromdos" if you use an editor that adds carriage returns to the ends of the lines in addition to newline characters. cp /boot/config/smb-extra.conf /tmp/ fromdos </tmp/smb-extra.conf >/boot/config/smb-extra.conf Alternatively, you can just type the following lines at the command prompt to create the file if it does not exist and not use an editor at all: echo "[Kids Movies]" >> /boot/config/smb-extra.conf echo " path = /mnt/user/Root/Videos/Kid Movies" >>/boot/config/smb-extra.conf echo " read only = Yes" >>/boot/config/smb-extra.conf You only need to do this once. The file is examined for changes every minute, so the new share should show up on your lan shortly after you create the file with the entry.
May 13, 201016 yr Author Thanks purko and Joe. I'll try this when I get home. Seems simple enough. Just to confirm, this won't mess up my current share. Thanks
May 13, 201016 yr Just to confirm, this won't mess up my current share. Your server may catch on fire. But other than that, your current share should be fine.
May 13, 201016 yr Just to confirm, this won't mess up my current share. Your server may catch on fire. But other than that, your current share should be fine. It will not do anything to the existing shares. The entry you create in the file is used in addition to those defined in the web-interface. Of course, now that I've said, that it may cause a miniature black-hole which provides massive clean energy through Hawking radiation, resulting an a complete reformat of purko's current hard disks, and the inability to store anything but zeros on any he may purchase in the future due to the time-dilation tendencies of space-time in such an intense gravity field. Hope your kids enjoy their movies. Joe L.
May 13, 201016 yr Of course, now that I've said, that it may cause a miniature black-hole which provides massive clean energy through Hawking radiation, resulting an a complete reformat of purko's current hard disks, and the inability to store anything but zeros on any he may purchase in the future due to the time-dilation tendencies of space-time in such an intense gravity field. Yes but just imagine the amount of zeeeros I'll be able to store!! MUHAHAHAHA!!! I'll store all the zeros there are and not leave anything for you!
May 13, 201016 yr Of course, now that I've said, that it may cause a miniature black-hole which provides massive clean energy through Hawking radiation, resulting an a complete reformat of purko's current hard disks, and the inability to store anything but zeros on any he may purchase in the future due to the time-dilation tendencies of space-time in such an intense gravity field. Yes but just imagine the amount of zeeeros I'll be able to store!! MUHAHAHAHA!!! You can even exclusive-or the zeros together, for a HUGE compression factor, and store even more. You'll be the zero-hero. Just remember to store them in a small font, so they take less room. Joe L.
Archived
This topic is now archived and is closed to further replies.