Exporting drive to a MacOS System ( OpenZFS ) Permission Removal

d2dark

Cadet
Joined
Dec 26, 2023
Messages
2
After many years and try, home server is simply not a thing for me, all i really need is a huge hard drive when I'm working on videos and not much else.
I can't see any reason why I keep a computer on 24/7 for no reason.

Aftre trying to simply drop my Pool drive into my Hackintosh and installing OpenZFS, I can see them, no probleme here.
what I can't do is read and write on them as i would like, everything is lock down.
I can manualy unlock the drive and read and write on the drive but I need to do this for every folders and its becore a major pain really fast.

I now have my drive back in my TrueNAS Scale machine, booted and everything.
All I need to do is to know what to do to remove all the locks and Permission to simply drop them into my other machine and use them as a single drive with full access.

any help ?
Please!
 

Whattteva

Wizard
Joined
Mar 5, 2013
Messages
1,824
What's the point of using TrueNAS if you want to move around the drive all the time?

Just format it in a more portable file system if you plan to use it portably (ie. exFAT or FAT32 or even NTFS though I don't think Mac NTFS driver allows read/write).

I think MacOS mounts most foreign file systems read/only (for good reason) to prevent corruption.
 

d2dark

Cadet
Joined
Dec 26, 2023
Messages
2
What's the point of using TrueNAS if you want to move around the drive all the time?

Just format it in a more portable file system if you plan to use it portably (ie. exFAT or FAT32 or even NTFS though I don't think Mac NTFS driver allows read/write).

I think MacOS mounts most foreign file systems read/only (for good reason) to prevent corruption.
Hi !

I think you're not getting my point here, I just want to know how to remove permisson on this pool to move it to my Hackintosh once for all on OpenZFS.

any advice on the subject is welcome.
 

Whattteva

Wizard
Joined
Mar 5, 2013
Messages
1,824
You probably should look into the mount options and make sure it's mounted as read/write.

I've never run OpenZFS on anything other than FreeBSD, but I'm guessing MacOS probably does so through FUSE, so you'd probably want to refer to FUSE documentation.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
It sounds like you're having permissions problems... use chown to set the permissions to a user with the same name and UID on both systems (create one on TrueNAS to match what you use in MacOS) and you should be able to work between the 2 with no issues.
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
I've never run OpenZFS on anything other than FreeBSD, but I'm guessing MacOS probably does so through FUSE, so you'd probably want to refer to FUSE documentation.
Mac OS has its own native ZFS implementation, no FUSE involved. It's a matter of UID/GID and possibly ACLs. I am not familiar enough with ACLs to help the OP here, but it's really just like ZFS on FreeBSD/Linux. zpool, zfs, ... commands - all there.
So someone familiar with ACLs (and access to a machine, which I currently do not have, because "holidays") should be able to step in. Guide the OP through checking owner and group of all the datasets in the pool etc.
 

Etorix

Wizard
Joined
Dec 30, 2020
Messages
2,134
It could also be a matter of TrueNAS using feature flags which are not recognised by OpenZFSonOSX, and thus cause the pool to be imported read-only.
If you want to be able to move your pool between TrueNAS and your Hackintosh, I suggest creating the pool on the hack and then importing it to TueNAS without ever upgrading the pool.
 

tprelog

Patron
Joined
Mar 2, 2016
Messages
297
The OP states
I can manualy unlock the drive and read and write on the drive but I need to do this for every folders and its becore a major pain really fast.
Maybe if they can share how they are manually unlocking the drive, it could help point to the issue
 
Top