2 XBMC PCs and 1 Database on the shared NAS - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Windows support (/forumdisplay.php?fid=59)
+---- Thread: 2 XBMC PCs and 1 Database on the shared NAS (/showthread.php?tid=70603)
- RockDawg - 2011-01-11 14:36
ti_gusus Wrote:Anyone ?
I'm no expert on things Linux but I did something similar to what you did. Make sure smbfs is installed and then I just added the following line to /etc/fstab (obviously adjust the paths to what yours are):
/home/kevin/.credentials is a file I created with the username and password for the network share where my thumbs are. You can probably eliminate that if yours doesn't require a username or password. The file contents goes like:
I don't remember exactly what they do, but I remember that the "file_mode=0777,dir_mode=0777" portion was critical to getting it to work for me.
That entry in /etc/fstab is what recreates the mount on each boot. Like I said, just make sure you already have smbfs installed. After that it worked great for me. Good luck!
- zosky - 2011-01-11 16:00
You are missing 2numbers at the end of the line. Something like 0 0. One tells the system to mount it on boot, the other is to indicate if it should be checked for errors. Don't just put 0 0 at the end. Google fstab and find the proper description.
- RockDawg - 2011-01-11 16:17
Yah, I missed that in his post. You can see the two zeroes at the end on the line I posted. Although according to wikipedia it doesn't have anything to do with mount on boot. It says the first number is "dump-freq" and the second is "pass-num" and here is what it says about them:
Quote:dump-freq adjusts the archiving schedule for the partition (used by dump).
- zosky - 2011-01-11 16:27
oi, ooops. sorry. its not the 2 numbers.
its the options string before that...
it needs to include auto (ie auto-mount)
- RockDawg - 2011-01-11 20:10
zosky - Please don't take me the wrong way. I'm not setting out to correct you. I don't know much about Linux and it was quite a while ago when I was going through this myself and haven't had to touch it since so I forgot most of it. This post just seemed like a good reason to refresh myself on it while trying to help out ti_gusus.
Anyway, according to what I read, auto is the default mount option so it doesn't need to be specified. As you can see in the fstab entry I posted earlier, it doesn't include the auto option and it auto mounts on every boot.
- myrison - 2011-01-14 01:41
zosky Wrote:i through about doing this too, but i'm worried about seek time & how it would impact the UI when scrolling through large lists (~1k movies)... thats why i've kept the cache local to each box & setup cron to rSync @hourly (per my last post).
I've done this on several different (Win & Linux) machines that all connect back to a shared Thumbnail folder on a Windows server. There are no concerns with speed, particularly once you've converted everything to DDS images. Using DDS, I get instantaneous switching of fanart and thumbs on a Acer Revo 1600 (hardwired and using Gigabit ethernet). If you haven't read about DDS images yet, search for it on the forums. If you're using a modest CPU platform like the Revos, it makes a gigantic difference in fanart load times.
- myrison - 2011-01-14 01:44
ti_gusus Wrote:Anyone ?
If you haven't read this guide already, check it out. I've followed this exactly several times and it always does the trick.
- colbert - 2011-01-14 02:54
Well, I have wiped the MySQL database and readded, followed this: http://lifehacker.com/5634515/how-to-synchronize-your-xbmc-media-center-across-every-room-in-the-house even and any time I create the database, user, get it going... I check the show databases and still missing all the tables.
edit: I did post a separate thread as well if any log output is needed that could help, it's here: http://forum.xbmc.org/showthread.php?tid=90233
- kri kri - 2011-01-14 04:53
Same thing is happening to me.
- lestat1977uk - 2011-01-14 12:52
Been using this method for awhile now and works brilliantly! One question thou, will MS SQL 2008 ever been supported?