DNS-323 & Multiple Volumes
-
- Posts:16
- Joined:Wed Jan 06, 2010 5:32 am
- AV Hardware:Media Players / clients = PS3 / XB360 / WII & pc's
Media Storage = DNS-323
Hi All,
About to procure 2x 2tb HD's for the NAS due to the neccessity of capacity. Question is, can Twonky catalogue 2 volumes as I am planning to spread media accross the 2 volumes rather than a single volume. I will not be doing JBOD / RAID. As they are music / vid's etc so they can be replaced if HD fails in the future
Can someone advise about the multi volume thing?
About to procure 2x 2tb HD's for the NAS due to the neccessity of capacity. Question is, can Twonky catalogue 2 volumes as I am planning to spread media accross the 2 volumes rather than a single volume. I will not be doing JBOD / RAID. As they are music / vid's etc so they can be replaced if HD fails in the future
Can someone advise about the multi volume thing?
Re: DNS-323 & Multiple Volumes
On the sharing config page you can set multiple folders for Twonky to look in for media files but they have to be under the same base directory.
I have a single disk Linkstation Pro and it is set to use /mnt/Disk1 as the content base, but if I had 2 drives I could set the content base to /mnt so it could then see /mnt/Disk1 and /mnt/Disk2.
Contentbase is the entry to set for this in the ini file, and then you set your shares up on the Sharing page.
Regards
PB
I have a single disk Linkstation Pro and it is set to use /mnt/Disk1 as the content base, but if I had 2 drives I could set the content base to /mnt so it could then see /mnt/Disk1 and /mnt/Disk2.
Contentbase is the entry to set for this in the ini file, and then you set your shares up on the Sharing page.
Regards
PB
Samsung LE37B650T2WXXU; Liteon 5055GDL+ HDD/DVD Recorder; Playstation 3; Iomega Screenplay HD 500GB; Buffalo Linkstation Pro LS-320GL (running Twonky 6.0.30, SqueezeBox Server 7.6 and acting as a Print Server)
-
- Posts:16
- Joined:Wed Jan 06, 2010 5:32 am
- AV Hardware:Media Players / clients = PS3 / XB360 / WII & pc's
Media Storage = DNS-323
Re: DNS-323 & Multiple Volumes
oooh, cheers for that. Seems I will have to modify that .ini file (assuming I still can even after twonky has been installed) then reboot or twonky restart of services for it to kick in. I will give that a shot tonight and report back if it worked or not
Cheers again
Cheers again
-
- Posts:16
- Joined:Wed Jan 06, 2010 5:32 am
- AV Hardware:Media Players / clients = PS3 / XB360 / WII & pc's
Media Storage = DNS-323
Re: DNS-323 & Multiple Volumes
Hi Again,
I did try changing the ini file and it seems that it didnt work (below is what i modified it to be)
---
contentbase=/mnt
contentdir=+M|temp
---
I think contentdir needs changing but I have no clue as to what to change it to. Any recommendations?
I did try changing the ini file and it seems that it didnt work (below is what i modified it to be)
---
contentbase=/mnt
contentdir=+M|temp
---
I think contentdir needs changing but I have no clue as to what to change it to. Any recommendations?
Re: DNS-323 & Multiple Volumes
In contentdir you put the folder path below the contentbase.
So if I had contentbase of /mnt/Disk1 and contentdir of Music and wanted to change the contentbase to /mnt then I would change the contentdir to Disk1/Music.
Change contentbase in the ini file then browse to the correct folder(s) from the Sharing page of the config web page. That will set up the contentdir parameters correctly.
PB
So if I had contentbase of /mnt/Disk1 and contentdir of Music and wanted to change the contentbase to /mnt then I would change the contentdir to Disk1/Music.
Change contentbase in the ini file then browse to the correct folder(s) from the Sharing page of the config web page. That will set up the contentdir parameters correctly.
PB
Samsung LE37B650T2WXXU; Liteon 5055GDL+ HDD/DVD Recorder; Playstation 3; Iomega Screenplay HD 500GB; Buffalo Linkstation Pro LS-320GL (running Twonky 6.0.30, SqueezeBox Server 7.6 and acting as a Print Server)
-
- Posts:16
- Joined:Wed Jan 06, 2010 5:32 am
- AV Hardware:Media Players / clients = PS3 / XB360 / WII & pc's
Media Storage = DNS-323
Re: DNS-323 & Multiple Volumes
Hi PB,
well, as I have two volumes
HD_a2
HD_b2
both volumes have a folder from /CONTENT/ or as below
/mnt/HD_a2/CONTENT1/
/mnt/HD_b2/CONTENT2/
so i modified the .ini file to the below
contentbase=/mnt
contentdir=/
but it seems that too does not work. any other ideas?
well, as I have two volumes
HD_a2
HD_b2
both volumes have a folder from /CONTENT/ or as below
/mnt/HD_a2/CONTENT1/
/mnt/HD_b2/CONTENT2/
so i modified the .ini file to the below
contentbase=/mnt
contentdir=/
but it seems that too does not work. any other ideas?
-
- Posts:16
- Joined:Wed Jan 06, 2010 5:32 am
- AV Hardware:Media Players / clients = PS3 / XB360 / WII & pc's
Media Storage = DNS-323
Re: DNS-323 & Multiple Volumes
in fact, it doing the above killed my nas. now its back to
contentbase=/mnt
contentdir=+M|temp
unsure where to go from here
contentbase=/mnt
contentdir=+M|temp
unsure where to go from here
- parnott
- Posts:326
- Joined:Mon Sep 20, 2010 9:55 pm
- AV Hardware:Twonky, WDTV Live, XBMC (Linux & Windows)
Re: DNS-323 & Multiple Volumes
I think your problem is the contentdir setting. This has to contain a directory path from the contentbase parameter.cvanoosbree wrote:in fact, it doing the above killed my nas. now its back to
contentbase=/mnt
contentdir=+M|temp
unsure where to go from here
Looking at my settings (not a DNS-323 but another Linux based NAS) I believe your settings should be defined something like-
contentbase=/mnt
contentdir=+M|/HD_a2/Music/,+M|/HD_b2/Music/
However, if you get the contentbase correct then my experience has been that you can use the Web UI to configure the contentdir settings.
-
- Posts:16
- Joined:Wed Jan 06, 2010 5:32 am
- AV Hardware:Media Players / clients = PS3 / XB360 / WII & pc's
Media Storage = DNS-323
Re: DNS-323 & Multiple Volumes
I am now trying the contentdir you had mentioned. Hopefully that helps.
I do understand what you are talking about in respect to contentbase and yours matches mine. I have always tried messing with the contentbase so the UI can see both volumes but for some reason it just will not.
I hope the recommendation of your config will help
contentbase=/mnt
contentdir=+M|/HD_a2/CONTENT/,+M|/HD_b2/CONTENT-b2/
I do understand what you are talking about in respect to contentbase and yours matches mine. I have always tried messing with the contentbase so the UI can see both volumes but for some reason it just will not.
I hope the recommendation of your config will help
contentbase=/mnt
contentdir=+M|/HD_a2/CONTENT/,+M|/HD_b2/CONTENT-b2/
-
- Posts:16
- Joined:Wed Jan 06, 2010 5:32 am
- AV Hardware:Media Players / clients = PS3 / XB360 / WII & pc's
Media Storage = DNS-323
Re: DNS-323 & Multiple Volumes
Okay, I have rebooted the NAS and according to the STATUS page of twonky, it is still is only scanning the first HD_a2 volume (cataloging I think). And still, when you click on the SHARING link and try to put in correct folder paths for specific content type, only the first volume is showing up and I cannot choose / see the 2nd volume
Re: DNS-323 & Multiple Volumes
From a web page put in http:\\<<ip-of-your-nas:port>>\rpc\get_option?contentbase and check that it is using /mnt as the contentbase.
In fact, post the results of http:\\<<ip-of-your-nas:port>>\rpc\get_option?contentbase and http:\\<<ip-of-your-nas:port>>\rpc\get_option?contentdir.
PB
In fact, post the results of http:\\<<ip-of-your-nas:port>>\rpc\get_option?contentbase and http:\\<<ip-of-your-nas:port>>\rpc\get_option?contentdir.
PB
Samsung LE37B650T2WXXU; Liteon 5055GDL+ HDD/DVD Recorder; Playstation 3; Iomega Screenplay HD 500GB; Buffalo Linkstation Pro LS-320GL (running Twonky 6.0.30, SqueezeBox Server 7.6 and acting as a Print Server)
- parnott
- Posts:326
- Joined:Mon Sep 20, 2010 9:55 pm
- AV Hardware:Twonky, WDTV Live, XBMC (Linux & Windows)
Re: DNS-323 & Multiple Volumes
Also login to DNS-323 with telnet or putty and post the ouput from the command-
# ls -alF /mnt
# ls -alF /mnt
-
- Posts:16
- Joined:Wed Jan 06, 2010 5:32 am
- AV Hardware:Media Players / clients = PS3 / XB360 / WII & pc's
Media Storage = DNS-323
Re: DNS-323 & Multiple Volumes
Hmm... I will gladly do this, after I get off of work.. STAY TUNED!
-
- Posts:16
- Joined:Wed Jan 06, 2010 5:32 am
- AV Hardware:Media Players / clients = PS3 / XB360 / WII & pc's
Media Storage = DNS-323
Re: DNS-323 & Multiple Volumes
http://192.168.0.30:9000/rpc/get_option?contentbase
/mnt/HD_a2/
http://192.168.0.30:9000/rpc/get_option?contentdir
+V|/CONTENT/MEDIA,+A|/CONTENT-b2
/ # ls -alF /mnt
drwxr-xr-x 7 root root 1024 Apr 17 23:21 ./
drwxr-xr-x 18 root root 1024 Apr 18 23:24 ../
drwxrwxrwx 10 root root 4096 Apr 17 23:13 HD_a2/
drwxrwxrwx 4 root root 1024 Apr 12 23:26 HD_a4/
drwxrwxrwx 11 root root 4096 Apr 18 23:21 HD_b2/
drwxrwxrwx 3 root root 1024 Apr 13 10:06 HD_b4/
drwxr-xr-x 2 root root 1024 Feb 16 2007 web_page/
/ #
I hope any of the above helps (please let it help)
Cheers
/mnt/HD_a2/
http://192.168.0.30:9000/rpc/get_option?contentdir
+V|/CONTENT/MEDIA,+A|/CONTENT-b2
/ # ls -alF /mnt
drwxr-xr-x 7 root root 1024 Apr 17 23:21 ./
drwxr-xr-x 18 root root 1024 Apr 18 23:24 ../
drwxrwxrwx 10 root root 4096 Apr 17 23:13 HD_a2/
drwxrwxrwx 4 root root 1024 Apr 12 23:26 HD_a4/
drwxrwxrwx 11 root root 4096 Apr 18 23:21 HD_b2/
drwxrwxrwx 3 root root 1024 Apr 13 10:06 HD_b4/
drwxr-xr-x 2 root root 1024 Feb 16 2007 web_page/
/ #
I hope any of the above helps (please let it help)
Cheers
- parnott
- Posts:326
- Joined:Mon Sep 20, 2010 9:55 pm
- AV Hardware:Twonky, WDTV Live, XBMC (Linux & Windows)
Re: DNS-323 & Multiple Volumes
Your contentbase and contentdir parameters are not correct for what you want to achieve. What they are telling twonky to do is scan the following directories-cvanoosbree wrote:http://192.168.0.30:9000/rpc/get_option?contentbase
/mnt/HD_a2/
http://192.168.0.30:9000/rpc/get_option?contentdir
+V|/CONTENT/MEDIA,+A|/CONTENT-b2
/ # ls -alF /mnt
drwxr-xr-x 7 root root 1024 Apr 17 23:21 ./
drwxr-xr-x 18 root root 1024 Apr 18 23:24 ../
drwxrwxrwx 10 root root 4096 Apr 17 23:13 HD_a2/
drwxrwxrwx 4 root root 1024 Apr 12 23:26 HD_a4/
drwxrwxrwx 11 root root 4096 Apr 18 23:21 HD_b2/
drwxrwxrwx 3 root root 1024 Apr 13 10:06 HD_b4/
drwxr-xr-x 2 root root 1024 Feb 16 2007 web_page/
/ #
I hope any of the above helps (please let it help)
Cheers
/mnt/HD_a2/CONTENT/MEDIA (for videos)
/mnt/HD_a2/CONTENT-b2 (for music)
To tell twonky to scan-
/mnt/HD_a2/CONTENT/MEDIA (for videos)
/mnt/HD_b2/CONTENT-b2 (for music)
then the values need to be-
contentbase=/mnt
contentdir=+V|/HD_a2/CONTENT/MEDIA,+A|/HD_b2/CONTENT-b2
Make these changes in the ini file then reboot. Then go and double check that these changes have been preserved in the ini file.
If the contentbase has reverted to /mnt/HD_a2/ then this is a different problem common to many NAS boxes. It means the twonky ini file is not preserved across reboots. To resolve this problem read through this web page-
http://wiki.dns323.info/howto:twonkyupnpserver
It has a lot of information on how to properly configure twonky to run on the DNS-323. In particular it details how to make sure important twonky directories and files are preserved after a reboot.
-
- Posts:16
- Joined:Wed Jan 06, 2010 5:32 am
- AV Hardware:Media Players / clients = PS3 / XB360 / WII & pc's
Media Storage = DNS-323
Re: DNS-323 & Multiple Volumes
Howdy,
Made the changes
http://192.168.0.30:9000/rpc/get_option?contentdir
+V|/CONTENT/MEDIA,+A|/CONTENT-b2
http://192.168.0.30:9000/rpc/get_option?contentbase
/mnt/HD_a2/
/ # vi /mnt/HD_a2/twonky/twonkymedia-server.ini
contentbase=/mnt
contentdir=+V|/HD_a2/CONTENT/MEDIA,+A|/HD_b2/CONTENT-b2,+V/HD_b2/CONTENT-b2
I dont get it. As you can tell, the ini saves fine, however, the GUI shows otherwise
and yes, i did do the steps in the site you gave me prior to even installing the server (as it had pre-steps)
Made the changes
http://192.168.0.30:9000/rpc/get_option?contentdir
+V|/CONTENT/MEDIA,+A|/CONTENT-b2
http://192.168.0.30:9000/rpc/get_option?contentbase
/mnt/HD_a2/
/ # vi /mnt/HD_a2/twonky/twonkymedia-server.ini
contentbase=/mnt
contentdir=+V|/HD_a2/CONTENT/MEDIA,+A|/HD_b2/CONTENT-b2,+V/HD_b2/CONTENT-b2
I dont get it. As you can tell, the ini saves fine, however, the GUI shows otherwise
and yes, i did do the steps in the site you gave me prior to even installing the server (as it had pre-steps)
-
- Posts:16
- Joined:Wed Jan 06, 2010 5:32 am
- AV Hardware:Media Players / clients = PS3 / XB360 / WII & pc's
Media Storage = DNS-323
Re: DNS-323 & Multiple Volumes
Question, could I not have the following?
contentbase=/mnt/HD_a2,/mnt/HD_b2
Would that work? Or will it just kill the server?
contentbase=/mnt/HD_a2,/mnt/HD_b2
Would that work? Or will it just kill the server?
- parnott
- Posts:326
- Joined:Mon Sep 20, 2010 9:55 pm
- AV Hardware:Twonky, WDTV Live, XBMC (Linux & Windows)
Re: DNS-323 & Multiple Volumes
Maybe you are changing the wrong ini file. The one that has to be changed will be in the appdata directory. If you followed the instructions from here http://wiki.dns323.info/howto:twonkyupnpserver then it should be in-cvanoosbree wrote:/ # vi /mnt/HD_a2/twonky/twonkymedia-server.ini
contentbase=/mnt
contentdir=+V|/HD_a2/CONTENT/MEDIA,+A|/HD_b2/CONTENT-b2,+V/HD_b2/CONTENT-b2
I dont get it. As you can tell, the ini saves fine, however, the GUI shows otherwise
and yes, i did do the steps in the site you gave me prior to even installing the server (as it had pre-steps)
/mnt/HD_a2/twonky/appdata
Did you reboot after making the ini changes? If the ini changes are no longer present after a reboot, then something in the startup script is overwriting the changes.
No. There can only be one directory in contentbase.cvanoosbree wrote:Question, could I not have the following?
contentbase=/mnt/HD_a2,/mnt/HD_b2
Would that work? Or will it just kill the server?
-
- Posts:16
- Joined:Wed Jan 06, 2010 5:32 am
- AV Hardware:Media Players / clients = PS3 / XB360 / WII & pc's
Media Storage = DNS-323
Re: DNS-323 & Multiple Volumes
Hi Parnott,
Well, from my frustration last night I had uninstalled the server and then re-installed it. When twonky started backup, the settings had remained the same so I realized that not all files were removed on the uninstall. Figured what additional directories to delete and re-installed it again BUT this time, I played with the twonky-server-default.ini which from what I can tell, is used to create the actual twonky-server.ini file. I realized that the default file (and the one listed in the wiki) both had "contentbase=/mnt/HD_a2/". Changed it to only be /mnt/ and left contentdir to be "contentdir=+M|temp" then did the install. Somehow, that worked. Twonky is now operational, I can see both volumes within the GUI and it did its scanning on both volumes as well (then tested it when I woke up this morning).
I am a happy camper. I have a hunch you could be correct in respect to me modifying the wrong ini file, however, that was the only ini file I had ever modified. During the modifications and restarts, the GUI (DID change (http://192.168.0.30:9000/rpc/get_option?contentbase
))) but the GUI stopped changing after so many modifications of that ini. It is possible (IMO) that once I put incorrect perams in that ini file, twonky stops looking and just used previous working version and then never looked at future modifications. Again, this is speculation, but would also sound theoretically correct based on the events
Again, thanks for all whom have assisted me in this endeavour and I hope my experience (if someone is trying to do the same) will find this useful
Cheers
Well, from my frustration last night I had uninstalled the server and then re-installed it. When twonky started backup, the settings had remained the same so I realized that not all files were removed on the uninstall. Figured what additional directories to delete and re-installed it again BUT this time, I played with the twonky-server-default.ini which from what I can tell, is used to create the actual twonky-server.ini file. I realized that the default file (and the one listed in the wiki) both had "contentbase=/mnt/HD_a2/". Changed it to only be /mnt/ and left contentdir to be "contentdir=+M|temp" then did the install. Somehow, that worked. Twonky is now operational, I can see both volumes within the GUI and it did its scanning on both volumes as well (then tested it when I woke up this morning).
I am a happy camper. I have a hunch you could be correct in respect to me modifying the wrong ini file, however, that was the only ini file I had ever modified. During the modifications and restarts, the GUI (DID change (http://192.168.0.30:9000/rpc/get_option?contentbase
))) but the GUI stopped changing after so many modifications of that ini. It is possible (IMO) that once I put incorrect perams in that ini file, twonky stops looking and just used previous working version and then never looked at future modifications. Again, this is speculation, but would also sound theoretically correct based on the events
Again, thanks for all whom have assisted me in this endeavour and I hope my experience (if someone is trying to do the same) will find this useful
Cheers
- parnott
- Posts:326
- Joined:Mon Sep 20, 2010 9:55 pm
- AV Hardware:Twonky, WDTV Live, XBMC (Linux & Windows)
Re: DNS-323 & Multiple Volumes
Glad it is now working for you.