Using iTunes server on NSLU2 with multiple disks

FireFly Media Server Firefly Media Server Forums Firefly Media Server Setup Issues Using iTunes server on NSLU2 with multiple disks

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #226
    umapagan
    Guest

    Hello…

    Forgive my ignorance as I am very new to the world of the command line….

    i read in a previous post that it is possible for the iTunes server to read off multiple disks using symlinks…

    How does one go about doing this?

    Basically i have 2 100GB disks attatched to my NSLU2… port 1 had the unslung disk… and port 2 has another data disk. What I’d like to happen is for mt-daapd to scan both drives for music.

    After some extensive research on the internet… I did manage to create a symlink… but it merely created a mirror of /share/hdd/data/public/mp3 on /share/flash/data/public/mp3.

    what am i doing wrong? and what do i do to make it right?

    any help is very very welcome… thank you so much.

    Uma.

    #4185
    rpedde
    Participant

    First, you must be running nightlies to be able to use two physical disks. You will run into strange problems using two disks with 0.2.4, including songs missing from the database.

    If you are running nightlies, then you can do something like this:


    user@slug:~$ mkdir /share/flash/data/public/mp3
    user@slug:~$ cd /share/hdd/data/public/mp3
    user@slug:/share/hdd/data/public/mp3$ ln -s /share/flash/data/public/mp3 otherdisk

    Then the contents of the “otherdisk” directory will be the stuff in /share/flash/data/public/mp3.

    Remember, you have to be using nightlies to do this though.

    The next nightlies drop will have support for multiple mp3_dir entries, though, so when the next nightlies come out (svn-980 or so), then you’ll be able to put both directories in there.

    — Ron

    #4186
    umapagan
    Guest

    thanks a million…

    i shall now attempt it with nightlies…

    cheers.

    Uma.

    #4187
    rpedde
    Participant

    That sounds very much it was corrupted in some way.

    Might try fetching it right from the slug:


    foo@slug:~$ wget http://nightlies.mt-daapd.org/mt-daapd_svn-909-1_armeb.ipk

    then you aren’t moving it around the network and potentially mangling it.

    — Ron

    #4188
    fizze
    Guest

    So, according to the FAQ:

    All is not perfect, however. Currently, there are several drawbacks to it:

    * database is indexed by inode, so all music must be on one filesystem

    does that correspond to the latest stable only ?

    What about the nightly 1005 ? I reckon it uses sqlite, but are the songs still indexed by inodes ?

    If so, how will it work in the setup mentioned above ?
    2 disks with one mp3_dir each..?

    #4189
    rpedde
    Participant

    Correct, that’s latest stable only.

    With 1005, you can do one mp3_dir:


    mp3_dir = /path/1,/path/2

    or…


    mp3_dir = /path/1
    mp3_dir = /path/2

    either way.

    — Ron

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Setup Issues’ is closed to new topics and replies.