realfolkblues12 wrote:roemer wrote:realfolkblues12 wrote:Have you checked the file permissions via terminal?
Do you have a snapshot you can roll back too?
Was OSX or iTunes updated before the problem started?
Have you tried creating a new test library to see if the issue persists?
1) yes, including ACLs. all seems fine. I also can create files via shell on my Music dataset without a problem
2) yes, but a scrub is currently running, so I will try that later...
3) no. I did however connect and import an external ZFS disk for performing a backup around the time the problem occurred. That also involved creating new snapshots on my datasets to be backed up. Not sure yet whether this is related though...
4) yes. I could create it only on my HFS+ volume, but not on its original location. Importing (via referencing) the music files from my ZFS dataset into the new library did not work.
Not understanding your answer to question 4.
I would create a brand new library with no songs on the dataset to see if it's a zfs+iTunes issue or a corrupted library. If it is a bad library then.
I would clone out a old snapshot from when it was working and see if iTunes can read it. If it can then you can rollback assuming there is no data that you will loose in the process. If not copy the working library and overwrite the current state.
If it is not able to create a new blank library then test on a new data set(to isolate a dataset issue), then a hfs volume to eliminate iTunes issue.
The following is working for me:
Cloning the last snapshot into the tank's root, and then directing iTunes to use that:
- Code: Select all
sudo zfs clone ztank/Musik@Backup2015-05-10 ztank/MusicClone
ln -s /Volumes/ZTank/MusicClone ~/Music
open iTunes
That starts iTunes as usual.
My normal setting has the very same snapshot (ztank/Musik@Backup2015-05-10) mounted under /Users/Shared/Music and then I have a symbolic link from my home directory.
This does not work at the moment, but rather when trying to start iTunes for /Users/Shared/Music, I get the FileID error messages in my system log.
Noteworthwhile, this all worked up-to my snapshot and backup creation yesterday....
I am currently running the 1.3.2RC1 version which I had however only installed after iTunes stopped working yesterday.
Yesterday, I tried both 1.3.1-r2 and 1.3.2RC1, but to no avail - both did show the same behaviour.
The original, currently de-funct Music dataset has the following settings:
- Code: Select all
bash-3.2$ zfs get all ztank/Music
NAME PROPERTY VALUE SOURCE
ztank/Music type filesystem -
ztank/Music creation Mon Apr 14 22:52 2014 -
ztank/Music used 141G -
ztank/Music available 2.69T -
ztank/Music referenced 126G -
ztank/Music compressratio 1.00x -
ztank/Music mounted yes -
ztank/Music quota none default
ztank/Music reservation none default
ztank/Music recordsize 128K default
ztank/Music mountpoint /Users/Shared/Music local
ztank/Music sharenfs off default
ztank/Music checksum on default
ztank/Music compression off default
ztank/Music atime off inherited from ztank
ztank/Music devices on default
ztank/Music exec on default
ztank/Music setuid on default
ztank/Music readonly off default
ztank/Music zoned off default
ztank/Music snapdir hidden default
ztank/Music aclmode discard default
ztank/Music aclinherit restricted default
ztank/Music canmount on default
ztank/Music xattr on default
ztank/Music copies 1 default
ztank/Music version 5 -
ztank/Music utf8only on -
ztank/Music normalization formD -
ztank/Music casesensitivity insensitive -
ztank/Music vscan off default
ztank/Music nbmand off default
ztank/Music sharesmb off default
ztank/Music refquota none default
ztank/Music refreservation none default
ztank/Music primarycache all default
ztank/Music secondarycache all default
ztank/Music usedbysnapshots 14.4G -
ztank/Music usedbydataset 126G -
ztank/Music usedbychildren 0 -
ztank/Music usedbyrefreservation 0 -
ztank/Music logbias latency default
ztank/Music dedup off default
ztank/Music mlslabel none default
ztank/Music sync standard default
ztank/Music refcompressratio 1.00x -
ztank/Music written 1.88M -
ztank/Music logicalused 140G -
ztank/Music logicalreferenced 126G -
ztank/Music snapdev hidden default
ztank/Music com.apple.browse on default
ztank/Music com.apple.ignoreowner off default
ztank/Music com.apple.mimic_hfs on inherited from ztank
ztank/Music redundant_metadata all default
ztank/Music overlay off default
EDIT: I have now changed the mount point of this dataset to /Users/<myself>/Music, removing the need for another symbolic link in my home directory and voila - works... Strange.