A few months back I wrote about how I wanted to replace my iPod with my PocketPC. Alas, I've conceded to the mainstream. The iPod has won out for it's end-user experience. There's simply too much work involved in the PocketPC and the user interface is still stuck in its old roots. The stylus is still the primary form of "interface" and in the car, that just doesn't work. I'm sure it'd be fine for someone else, but I spend a lot of time in the car. I'll still use the PocketPC for phone, email, browsing, etc. Also, I actually really like iTunes. The interface is exactly how I like to manage my 40+GB of music and the podcasts just sync. The podcast client (Egress) I was using on the PocketPC was just too clumsy, never seemed to really "sync" the right way, and then of course there was that pesky ease-of-use issue. Once in Egress, there was little integration with Windows Media Player. Granted, it was functional, but it just wasn't easy to swith between podcasts and know which I've already listened to or not. Since my music library is also in iTunes already, I just didn't have the necessary investment in Windows Media Player. Back to iTunes for me for now.
On a similar note, I have iTunes running on a fairly new Mac Book. Since I have a large library, which I also like to access remotely, I put the whole thing on an NFS share from my MythTV box. The MythTV box is currently openSuSE 10.2. Everything was running great on Mac OS X 10.4, but I decided to upgrade to 10.5 this weekend and finally throw on Office 2008. Everything runs a bit slower than it used to, but I suppose that's to be expected with new OSes. OS X is probably suffering from Vista-style bloat. One thing that did improve was Quicken 2007 (PowerPC) stability, but that was a minor issue for me. At work, I've been running 10.5 and setting up a 10.5 server for ActiveDirectory integration and I've had nothing but issues with network mounts and network integration in general. So, when I found out last night that my iTunes library wouldn't open over NFS, it didn't surprise me. The issue was that the Mac had no problem mounting the NFS volume, but once you started clicking on files in Finder, they'd show up as zero length files and then they'd disappear. In the terminal, they showed as normal files, but of course, I was just doing directory listings, not actually opening the files.
Apparently, OS X 10.5 changes the NFS client behavior. However, there is a "fix" that I've implemented on the NFS server side, since I don't care enough to debug OS X in my personal life. I deal with it enough in the work environment. On the server side, I kept seeing these errors:
lockd/statd: failed to create /var/lib/nfs/sm/: err=-21
The problem there is that there's no hostname at the end of that path. For whatever reason, the OS X 10.5 is either not reporting the hostname, not the way openSuSE 10.2 expects it, or openSuSE 10.2 has an issue. Since I didn't have this problem under OS X 10.4, I'm guessing the first two options are the reason, not the third. Anyway, change the following value in /proc. I'm going to throw it in boot.local to survive reboots probably.
echo "0" >/proc/sys/fs/nfs/nsm_use_hostnames
Monday, May 12. 2008
iTunes and NFS... woahs and woes
Trackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
thanks for sharing your mac nfs woes - i just had the same problem for the last few days. been driving me insane. your workaround did the trick!
#1
paul
(Homepage)
on
2008-06-23 12:42
(Reply)

