I setup Roon core on the machine. I use Openzfs on OSX 2.0.1 for my Media Library storage on an OWC Thunderbay 8.
When I try to add a folder to Roon, it does not recognize the Volumes. Even not when I set:
sudo zfs set com.apple.mimic=apfs which tells zfs to mimic a apfs volume.
Have you got “Ignore Ownership on This Volume” (The switch is in the Get Info window) set for those volume? Or open permissions for the folders inside? Has ROON got Full Disk access? (In System Preferences>Security).
The Roon Server has full disk access. It should see the volumes. Also it should see the Media Volume which is APFS but doesnt…
Here is how the Volumes look like:
So my music is on the “Media” volume. The screenshot is only an example that the Volumes are not shown in the Roon app. So on my desktop screenshot you see two additional volumes, “data” and “Media”, completely ignored by roon… Thats the problem!
See, this does not have to do with zfs. Its a bug in Roons Disk arbitration handling. The “Media” Volume IS an APFS Volume if you look at the screenshot i provided. The data Volume is a zfs volume. All of the devices are visible in Disk Utility as well as in diskutil list. Can you forward this to the developers and label it as a bug? Or is there a way I can file a bug on github or somewhere?
@anon47984560, I am a volunteer moderator and do not work for Roon Labs.
I took an interest in this thread because I use Open ZSF with Linux: root and data partitions.
There are quite a few gotchas using ZFS with macOS because of restrictions by Apple, e.g., storage may only be HFS. Moreover, your setup is peculiar, and not a supported Roon installation.
Nonetheless, community members will offer assistance when they are able. Did you specify the data set as mentioned above? Additionally, caching directories also need to use HFS, so this may be relevant to your situation.
Unfortunately, my Mac has finally died, and won’t be replaced, so I can’t have a tinker.
I just wanna demonstrate you quickly with the following code snippet which works (quick hack):
//
// main.swift
// test
//
// Created by Michael Ruepp on 12.01.23.
//
import Foundation
print("Hello, World!")
let filemanager = FileManager()
let keys = [URLResourceKey.volumeNameKey, URLResourceKey.volumeIsRemovableKey, URLResourceKey.volumeIsEjectableKey]
let paths = filemanager.mountedVolumeURLs(includingResourceValuesForKeys: keys, options: [])
if let urls = paths {
for url in urls {
if (url.pathComponents.count == 1 || url.pathComponents.count == 3) && (url.pathComponents[0] == "/" || url.pathComponents[1] == "Volumes") {
print(url)
print(url.pathComponents)
do {
let values = try url.resourceValues(forKeys: [.volumeIsInternalKey,.isVolumeKey,.volumeLocalizedNameKey])
if let volname = values.volumeLocalizedName {
print("Name: \(volname)")
} else {
print("NO NAME")
}
if let volint = values.volumeIsInternal {
print("Volume is internal: \(volint)")
} else {
print("Volume is not internal")
}
if let isvol = values.isVolume {
print("It is a volume: \(isvol)\n")
} else {
print("It is not a volume")
}
} catch {
print("Error retrieving: \(error.localizedDescription)")
}
}
}
}
I get this output:
Hello, World!
file:///
["/"]
Name: Macintosh HD
Volume is internal: true
It is a volume: true
file:///Volumes/data/
["/", "Volumes", "data"]
Name: data
Volume is internal: true
It is a volume: true
file:///Volumes/Media/
["/", "Volumes", "Media"]
Name: Media
Volume is not internal
It is a volume: true
file:///Volumes/Backups%20of%20sunshine/
["/", "Volumes", "Backups of sunshine"]
Name: Backups of sunshine
Volume is not internal
It is a volume: true
Program ended with exit code: 0
Running Roon in on macOS with Open ZFS is not an officially supported environment. It is considered Tinkering. Roon does not stop users from using their software in unsupported environments which is great for the tinkerers among us; however, when you do so, you are also taking on the ongoing support for that environment.
This is why your post was moved, back in 2021 by Roon staff, to the Tinkering section so other users who may also be using your environment can help you with diagnosing and resolving your issue.
If this does not work for you, then I would recommend running Roon in an officially supported environment for the stability and support you are looking for.
Since a year now I write forth and back with someone I was under the impression it is a Roon Support contact. It gives me really a bad impression of the quality of roon support. But today I learned this guy is a community member. So I do not want to reiterate the BUG I discovered in Roon Disk enumeration. Read it here please or move the topic to the support topic. I do not know why it even endet up there. It does NOT affect only ZFS volumes but also APFS Volumes. I am a paying member and I hope you finally address this issue!!!
WHAT DID YOU DO? I really dont appreciate your actions and i question your knowledge! YOU COULD NOT HELP AND NOW MOVE MY POSTS AWAY FROM THE SUPPORT SECTION!
I ESPECIALLY STATET THAT THIS AFFECTS APFS VOLUMES!!! CONSIDERING THIS BUG GOES ON FOR A LONG TIME AND IS EVEN RECOGNIZED IN THE SOFTWARE SECTION, YOUR LACK OF UNDERSTANDING AND MOVING MY SUPPORT/BUG REPORT IS ABSOLUTELY NOT TOLERABLE. I am a paying customer and even provided code samples for solving the problem. I CAN NOT BELIEVE!!! I QUIT MY ROON SUBSCRIPTION!
What did who do? The thread was moved by Roon staff (not a moderator/volunteer) because you’re running an unsupported set up. By definition you can’t receive support on something that is unsupported. It doesn’t matter what the problem is. However you might be able to receive help via the Tinkering category - hence the move.
Having said all of this - why the aggression? Life’s too short to shout about unrecognised volumes!!!
Please stick to the facts, @anon47984560. They are here for everyone to see. Your first post, which received one reply, was written August 2021. You didn’t respond until January 2023.
Moreover, although my forum badge clearly shows that I am a community moderator, I provided clarification as soon as I could see a misunderstanding.
Your Media volume is evidently Open ZFS (the Open ZFS logo is clearly displayed here.) Therefore, you are using either a Zvol (block storage) formatted with the Apple file system or a data set mimicking this. Either way, this is not a supported platform.
Finally, I’d like to point you to the community guidelines, in case you missed them.
Likewise, if you do need assistance, #tinkering is the correct place for your setup as I have previously explained.