Re: Help me what can I do looking for suggestions

Florian Maul <[email protected]> Thu, 12 Jun 2003 21:50:11 +0200
Newsgroups gmane.comp.audio.netjuke.user
Message-ID <[email protected]>
Hello,

>> So do I buy another bigger drive and copy the data from that drive
>> to the new drive, or is there an easier way. Can I just add another
>> drive to the system and make this work?
Netjuke can currently only use mediafiles from _one_ directory. So the
only way to extend disc space is to link all your drives to one
directory by the means your operating system provides. I try to give a
few possible solutions, some of this has already been said earlier.

1. Linux:
> I have mp3's on three drives. I have them normally mounted under
> /Music/1 /Music/2 /Music/3 respectively. I then symlink them to the
> directory netjuke wants them(var/music I think...) and everything
> works fine.
Symlinks are one method. You have to make sure that your webserver
(e.g. apache) also follows symlinks since you want to access the files
for streaming purposes via http also.

Another method would be mounting. You could either mount the whole
harddisc directly into a directory in your netjuke-music-dir or use
bind-mounting to mount directories. The latter might be interesting if
you don't want to use a HD for mp3s only and works with all 2.4er
linux kernels afaik.

mount --bind /mnt/newharddisc/mp3s/ /netjukemusicdir/newhd/

.. would make the directory "mp3s" from your new HD, which is already
mounted in "/mnt/newharddisc", available in your netjuke-dir
"/netjukemusicdir"


2. Windows:
> windows might be able to use "shortcuts" or what ever Bill calls
> 'em.
The .lnk shortcuts in windows will not work I think, since they are
only files used by some windows applications (explorer) but not
filesystem links which would be transparent for applications.

Windows XP (I'm not sure about earlier NT/NTFS versions) supports
mounting of NTFS drives into directories on other NTFS drives. This
might be the only possible solution on windows to extend your
netjuke disc space.


I don't know about mounting/linking on MacOS and other UNIXes but I
guess there are similar methods available.

Florian <[email protected]>



-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5