LinHES Forums http://forum.linhes.org/ |
|
expanding samba http://forum.linhes.org/viewtopic.php?f=24&t=23638 |
Page 1 of 1 |
Author: | mattbatt [ Sat Nov 24, 2012 12:16 am ] |
Post subject: | expanding samba |
So if you are like me and have multiple hard drives in your system and a windows computer on your network, you may want to access more than just the /home and /myth folder on your myth box. Code: sudo nano /etc/samba/smb.conf.media You will see this Code: [myth] path = /myth public = yes only guest = yes writeable = yes printable = no force user = mythtv force group = mythtv create mask = 0755 I just ccopied everything like so Code: [myth] path = /myth public = yes only guest = yes writeable = yes printable = no force user = mythtv force group = mythtv create mask = 0755 [myth0] path = /myth0 public = yes only guest = yes writeable = yes printable = no force user = mythtv force group = mythtv force mask = 0755 Save it and you don't even need to restart Samba!! voila I now have easy access to my other drive. |
Author: | jams [ Sat Nov 24, 2012 11:43 am ] |
Post subject: | Re: expanding samba |
Excellent tip. I would like to point out that smb.media.conf will be overwritten everytime that the advanced module is run. Edit /etc/mythvantage.cfg to disable the advanced module. Also it's worth mentioning that this shortcoming has been addressed in R8. By default it will share every drive that was added via add_storage.py , one less thing to tweak! |
Author: | mattbatt [ Sat Nov 24, 2012 9:59 pm ] |
Post subject: | Re: expanding samba |
except that add_storage.py wipes whatever drive you add!!! but yes good to know that it might revert. |
Author: | mattbatt [ Tue Mar 05, 2013 9:02 am ] |
Post subject: | Re: expanding samba |
Apparently the update I did recently reverted this file I'm glad I documented it here. |
Author: | RacerX [ Sat May 11, 2013 4:47 pm ] |
Post subject: | Re: expanding samba |
Excellent Post For those of you that are tired of having to manually kick off samba you can always just make it start automatically courtesy of Jams as root Code: add_service.sh smbd add_service.sh nmbd if you need to restart the service then use courtesty of brfransen Code: sudo sv restart smbd
|
Author: | spideyk21 [ Mon May 13, 2013 8:10 am ] |
Post subject: | Re: expanding samba |
mattbatt wrote: except that add_storage.py wipes whatever drive you add!!! but yes good to know that it might revert. Correct, but Code: add_storage.py --no_destruction does not. See "Adding Additional Drives" under the Upgrading LinHES R7.X to R8 Wiki page.
|
Author: | mattbatt [ Mon May 13, 2013 6:29 pm ] |
Post subject: | Re: expanding samba |
Good to know. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |