Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[DONE] Moving local files to SMB share
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Done:  Moving local files to SMB share
14th Jan, 2013, 03:57 AM
Post: #1
ilgrank Offline
Registered
Posts: 47
Joined: Jan 2013
Reputation: 1
Moving local files to SMB share
I was wondering.. it is possible to hava all DBs, artworks and so on on an SMB share instead of the SD card? I mean, transfer rate (in my case at least) is higher via LAN, and in this way I could have multiple XBMC clients reading a common db
(yes, I've seen the link on lifehacker, but it is.. an hack, and involves mainly the "stop watching a movie in a room, continue in another room" scenario... I'm thinking about the fact that thru the interface it seems not to be possible for now..)
What do you think about it?
Thanks!
Find all posts by this user
Quote this message in a reply
14th Jan, 2013, 04:07 AM
Post: #2
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Moving local files to SMB share
Yes, i already run my setup like that.

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
14th Jan, 2013, 04:22 AM
Post: #3
rikardo1979 Offline
Management
******
Posts: 3,545
Joined: Dec 2012
Reputation: 190
Re: Moving local files to SMB share
you looking for something like this Wink
http://wiki.xbian.org/index.php?title=Shared_Sources

~~~~>>>Please always follow rules and read before you post<<<~~~~
Find all posts by this user
Quote this message in a reply
14th Jan, 2013, 05:34 AM
Post: #4
ilgrank Offline
Registered
Posts: 47
Joined: Jan 2013
Reputation: 1
RE: Moving local files to SMB share
(14th Jan, 2013 04:07 AM)CurlyMo Wrote:  Yes, i already run my setup like that.

sorry... would you please share how did you accomplish that?
Thanks!

Thanks, I did read the similar post as mentioned in the first post, but this way the artworks will remain local to the machine.. or I did understand it wrong?
Find all posts by this user
Quote this message in a reply
14th Jan, 2013, 05:53 AM
Post: #5
rikardo1979 Offline
Management
******
Posts: 3,545
Joined: Dec 2012
Reputation: 190
Re: Moving local files to SMB share
you chose the device on the network which than serve the MYSQL database with your library to all the other XBMC machines.
This can be one of the RPi's or any other computer or server, NAS Server,etc.
http://wiki.xbmc.org/index.php?title=HOW-TO:Sync_multiple_libraries/Setting_up_MySQL#tab=Windows

~~~~>>>Please always follow rules and read before you post<<<~~~~
Find all posts by this user
Quote this message in a reply
14th Jan, 2013, 06:22 AM
Post: #6
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Moving local files to SMB share
You can also put the thumbnails on a samba or nfs share, as long as they mount before xbmc starts.

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
14th Jan, 2013, 05:53 PM
Post: #7
ilgrank Offline
Registered
Posts: 47
Joined: Jan 2013
Reputation: 1
RE: Moving local files to SMB share
(14th Jan, 2013 06:22 AM)CurlyMo Wrote:  You can also put the thumbnails on a samba or nfs share, as long as they mount before xbmc starts.

If I put the entire XBMC folders on a SMB share it should work then, provided there is no concurrent access to the DBs.. what folders then can be SAFELY moved onto a share?

Also, I've tried putting an entry in the FSTAB for mounting at boot.. but the syntax seems to be wrong .. anyone managed to do so?

Code:
//server/share /pathto/mountpoint cifs credentials=/home/xbian/.smbcredentials 0 0

with the smbcredentials being:

Code:
username=shareuser
password=sharepassword
domain=workgroupname

Thanks!
Find all posts by this user
Quote this message in a reply
14th Jan, 2013, 08:22 PM
Post: #8
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Moving local files to SMB share
This is how my userdata folder looks, the symlinks are all to my smb share:
Terminal


drwxr-xr-x 3 xbian xbian 4096 Jan 14 11:15 Database
-rw-r--r-- 1 xbian xbian 2059 Jan 1 1970 LCD.xml
lrwxrwxrwx 1 xbian xbian 36 Jan 5 21:39 Lircmap.xml -> /media/rpi/Configuration/Lircmap.xml
-rw-r--r-- 1 xbian xbian 391 Jan 1 1970 RssFeeds.xml
lrwxrwxrwx 1 xbian xbian 35 Jan 6 13:09 Thumbnails -> /media/rpi/Configuration/Thumbnails
drwxr-xr-x 9 xbian xbian 4096 Jan 7 00:55 addon_data
lrwxrwxrwx 1 xbian xbian 45 Jan 5 21:39 advancedsettings.xml -> /media/rpi/Configuration/advancedsettings.xml
lrwxrwxrwx 1 xbian xbian 40 Jan 5 21:39 guisettings.xml -> /media/rpi/Configuration/guisettings.xml
drwxr-xr-x 2 xbian xbian 4096 Jan 5 21:39 keymaps
drwxr-xr-x 2 xbian xbian 4096 Dec 7 13:42 library
-rw-r--r-- 1 xbian xbian 137 Nov 7 22:29 mediasources.xml
drwxrwxr-x 2 xbian xbian 4096 Dec 6 00:47 peripheral_data
drwxr-xr-x 5 xbian xbian 4096 Jan 1 1970 playlists
-rw-r--r-- 1 xbian xbian 897 Jan 14 02:04 profiles.xml
lrwxrwxrwx 1 xbian xbian 36 Jan 5 21:39 sources.xml -> /media/rpi/Configuration/sources.xml

Code:
//server/share        /media/rpi      cifs    username=....,password=....,rw,file_mode=0777,dir_mode=0777 0 0

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
26th Feb, 2013, 11:20 PM
Post: #9
MarvinTheRobot Offline
Registered
Posts: 19
Joined: Feb 2013
Reputation: 2
RE: Moving local files to SMB share
you are sharing the guisettings too? only works if you have the same skins running on all boxes right?
Find all posts by this user
Quote this message in a reply
26th Feb, 2013, 11:30 PM
Post: #10
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Moving local files to SMB share
Yes

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
27th Feb, 2013, 12:09 AM
Post: #11
MarvinTheRobot Offline
Registered
Posts: 19
Joined: Feb 2013
Reputation: 2
RE: Moving local files to SMB share
kk thx! i just destroyed my quartz skin settings, because i used the standardskin on the other pi... bad luck Wink
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 21st May, 2025, 01:30 AM Powered By MyBB, © 2002-2025 MyBB Group.