November 12, 201411 yr I am going to flaunt my ignorance. If I move away from NFS mountpoints to 9p sharing in my XBMCBuntu VMs, is my best strategy to just start with a new SQL library for XBMC? Does the library have share information (i.e. SMB, NFS, 9p, etc.)? John
November 13, 201411 yr I am going to flaunt my ignorance. If I move away from NFS mountpoints to 9p sharing in my XBMCBuntu VMs, is my best strategy to just start with a new SQL library for XBMC? Does the library have share information (i.e. SMB, NFS, 9p, etc.)? John I would because the paths will be totally different.
November 13, 201411 yr Here is how I swapped paths on an existing library. Backup each database to a file. As it turns out it's in clear text. Replace paths and then restore the database.
November 13, 201411 yr Author Actually, I just thought of something that killed this idea: I have 2 standalone boxes that run OpenELEC (not VMs). So naturally they are not utilizing 9p. However, could this be a workaround.... What if I created a persistent NFS mapping on the openelec boxes that points to each unraid share that I care about (Movies, TV, etc.)? So, when I build the new SQL DB, the paths should be consistent between the standalone boxes and the VMs (i.e. /mnt/*whatever*): OpenELEC #1 /mnt/Movies = NFS:\\unraid\Movies /mnt/TV = NFS:\\unraid\TV OpenELEC #2 /mnt/Movies = NFS:\\unraid\Movies /mnt/TV = NFS:\\unraid\TV XBMCBuntu VM #1 /mnt/Movies = 9p:\mnt\user\Movies /mnt/TV = 9p:\mnt\user\TV XBMCBuntu VM #2 /mnt/Movies = 9p:\mnt\user\Movies /mnt/TV = 9p:\mnt\user\TV Shouldn't this work for using a shared library? John
November 16, 201411 yr Author W00t! I have this working beautifully! Since I have a combination of XBMCBuntu VMs and standalone OpenELEC boxes, I had to get mildly creative as I described above. On the OpenELEC boxes, I created persistent mappings from each of the unRAID shares that matter (movies, tvshows and music) to local mount points (i.e. /storage/movies) using CIFS. This has become very easy in OE v4 as described here: http://wiki.openelec.tv/index.php?title=Mounting_network_shares Here is the content of my storage-movies.mount file... [unit] Description=cifs mount script Requires=network-online.service After=network-online.service Before=xbmc.service [Mount] What=//192.168.1.10/Movies Where=/storage/movies Options=username=YOURUSER,password=YOURPASSWORD,rw Type=cifs [install] WantedBy=multi-user.target On the XBMCBuntu VMs, I created the 9p passthrough shares as archedraft described here: http://lime-technology.com/forum/index.php?topic=34686.msg322473#msg322473 Here is the section from one of my XMLs and the fstab entry... <filesystem type='mount' accessmode='passthrough'> <source dir='/mnt/user/Movies'/> <target dir='movies'/> </filesystem> <filesystem type='mount' accessmode='passthrough'> <source dir='/mnt/user/Music'/> <target dir='music'/> </filesystem> <filesystem type='mount' accessmode='passthrough'> <source dir='/mnt/user/TV'/> <target dir='tvshows'/> </filesystem> movies /storage/movies 9p rw,dirsync,_netdev,relatime,trans=virtio,version$ tvshows /storage/tvshows 9p rw,dirsync,_netdev,relatime,trans=virtio,v$ music /storage/music 9p rw,dirsync,_netdev,relatime,trans=virtio,version=$ I now have all 4 instances (VM and non-VM) using the same MariaDB docker DB! As far as MariaDB is concerned, all 4 instances are using the same paths for the media. LOVING LIFE! John
Archived
This topic is now archived and is closed to further replies.