File corruption with iTunes over NFS

Discuss Max, an open source CD audio extractor and audio converter.
Post Reply
Posts: 1
Joined: Wed Apr 23, 2008 6:37 pm

File corruption with iTunes over NFS

Post by EelcoV » Wed Apr 23, 2008 6:43 pm


I have discovered a problem that I have failed to trace. It it this: sometimes when iTunes is used to modify tags on a song ripped with Max, that file becomes corrupted.

Setup: Max 0.8 release. iMac, Leopard 10.5.2, with iTunes 7.6.2 accessing a music collection, which is mounted over NFS. The NFS-server is a Linux/Fedora machine.

What I do: I rip a CD track (using Max) to Apple Lossless. That file is placed in the music directory (mounted over NFS). The file plays fine in iTunes. But when I use iTunes to modify tags of the file, that file becomes corrupted. When playing, there are brief, intense pulses of noise. That noise is clearly visible when using a visual sound editor such as Audacity. It is definitely the action of rewriting the tags that causes the file corruption.

This does not happen with all tracks, but when it happens with a track it happens all the time. Easily reproducible.

To test, I stored that same file/track on the local disk on the iMac. Now, iTunes causes no problem when rewriting tags. It is only when iTunes modifies tags in songs that are on an NFS-mounted drive.

I do not have this problem with any program other than iTunes. I have never experienced file corruption with other programs.

Has anyone seen this before? Any hints on how to troubleshoot, pin-point the problem? Any help in finding a solution?

Posts: 2
Joined: Mon Sep 29, 2008 8:49 pm

Re: File corruption with iTunes over NFS

Post by » Mon Sep 29, 2008 9:09 pm

I'm getting exactly the same problems. Files converted from FLAC to ALAC using Max play just fine when imported in iTunes, but after i alter and tag information I all kinds of playback gliches.

doesn't seem to be consistent or reprodceable.

I know NFS is not as impervious to data loss as AFP, or SMB. I wonder if that is the part of the problem


Post Reply