Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > iTunes from NFS

iTunes from NFS
Thread Tools
Forum Regular
Join Date: Jul 2000
Location: SF, CA, US
Status: Offline
Reply With Quote
Oct 6, 2004, 07:30 PM
 
I'm considering placing my iTunes library on Sun box and sharing out the filesystem so that I can access it over nfs from various systems. Has anyone else done this? Any problems with using UFS?
Brian

MacBookPro3,1
     
Senior User
Join Date: Jan 2001
Location: Mahwah, NJ USA
Status: Offline
Reply With Quote
Oct 6, 2004, 09:05 PM
 
You may have problems with NFS file locking. Apple introduced NFS file locking in Panther, they didn't use it before so it wasn't a problem. Unfortunately they used an incompatible NFSLOCK cookie size. This problem seems to affect the iApps and Safari, possibly others. What happens is it tries to lock the file with the incorrectly sized cookie and can't. The app then locks up. Only way to clear it is to reboot.

Fortunately there is a workaround: Append 'NFSLOCKS=-NO-' (without the quotes) to your /etc/hostconfig file on the Mac client. This sets it to the pre-Panther style of NFS and bypasses the problem.

Panther NFS file locking only works properly with FreeBSD and Mac OS X as the NFS file server.

Other than the file locking you should not have any problem sharing iTunes folders via NFS. I do the same thing and I have no problems.
-DU-...etc...
     
Forum Regular
Join Date: Jul 2000
Location: SF, CA, US
Status: Offline
Reply With Quote
Oct 6, 2004, 10:05 PM
 
Good to know, utidjian.

I moved my iTunes folder and mounted my Solaris share and was able to successfully run iTunes on that mount. The testing begins!
Brian

MacBookPro3,1
     
Forum Regular
Join Date: Apr 2000
Location: Germany
Status: Offline
Reply With Quote
Oct 7, 2004, 02:19 AM
 
I'm using 10.2.8 with a NFS shared iTunes on a Linux box. One of the problems I was confronted with is that iTunes will be looking for ever for a song that should be available over NFS if the Linux box is not connected. There is no way to stop that process once you clicked a song afaik.
With SMB it just gives you a message that the file you are looking for is not available.
     
Senior User
Join Date: Jan 2001
Location: Mahwah, NJ USA
Status: Offline
Reply With Quote
Oct 7, 2004, 07:31 AM
 
Originally posted by Stefan:
I'm using 10.2.8 with a NFS shared iTunes on a Linux box. One of the problems I was confronted with is that iTunes will be looking for ever for a song that should be available over NFS if the Linux box is not connected. There is no way to stop that process once you clicked a song afaik.
With SMB it just gives you a message that the file you are looking for is not available.
I don't have that problem because I mount /home/userid via NFS. If there is no connection to the NFS server then iTunes doesn't know about any songs that were available via NFS so won't go looking for them. This is because the whole "iTunes environment" (less the program itself) is mounted via NFS. Seems to work OK when I am disconnected from the NFS server because then I use the regular /Users/userid and my "iTunes environment" is now local. Mac OS X seems to handle it pretty well. Of course the downside might be that $HOMEs are not in sync but that is easy enough to sync when connected.
-DU-...etc...
     
Forum Regular
Join Date: Jul 2000
Location: SF, CA, US
Status: Offline
Reply With Quote
Oct 7, 2004, 12:49 PM
 
Originally posted by Stefan:
I'm using 10.2.8 with a NFS shared iTunes on a Linux box. One of the problems I was confronted with is that iTunes will be looking for ever for a song that should be available over NFS if the Linux box is not connected. There is no way to stop that process once you clicked a song afaik.
With SMB it just gives you a message that the file you are looking for is not available.
Stefan, I'm mounting at /Users/<iud>/Music/iTunes, so the media *and* the library files are stored remotely. If I fire up iTunes w/o the mount, it will create a new library or use whatever is stored locally. Of course, the trick with my way is that it could be problematic if I use iTunes from two different systems as they will both be accessing the library files at the same time. With your way of mounting just the media, you avoid using the same library files on two different systems...

My Netra's firmware and physical size limits me to two internal 120GB disks, so I may build a Linux system for the media storage. Which filesystem have you been using? Any issues?
Brian

MacBookPro3,1
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 04:51 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2