Page 1 of 1

ZFS pool mountpoint

PostPosted: Fri May 28, 2021 6:04 pm
by Gekume123
Hi, I'm running 11.3 Big Sur and am trying to import a Linux-created ZFS pool. On Linux, I have the mountpoint set as /vault. However, when I try to zpool import vault, it fails due to "read-only filesystem". I'm guessing this is because of the read-only system volume in Big Sur.

However, I saw another post on here where their Linux pool would mount properly automatically under /Volumes. How can I have this happen, or at least mount it manually there? Will I have to change the mount point every time I go between MacOS and Linux, or how is it supposed to work?

Thanks :)

Re: ZFS pool mountpoint

PostPosted: Fri May 28, 2021 7:56 pm
by lundman
Yes "/" is readonly these days. If you leave the "mountpoint" property alone, as in change it back to "inherit", then if the pool is called "vault" it will be mounted on "/vault" with Linux, and "/Volumes/vault"

Re: ZFS pool mountpoint

PostPosted: Sat May 29, 2021 11:58 am
by Gekume123
Hi, thanks for the response, however I'm a bit confused lol.

I have this:
vault mountpoint /vault local
vault/android mountpoint /vault/android inherited from vault
vault/archive mountpoint /vault/archive inherited from vault

What do you mean by setting it to inherit? Thx

Re: ZFS pool mountpoint

PostPosted: Sat May 29, 2021 3:15 pm
by lundman
"zfs inherit mountpoint vault"

I think? Sets it back to the "default"

Re: ZFS pool mountpoint

PostPosted: Sat May 29, 2021 3:56 pm
by Gekume123
Thanks, I didn't know of that command, seems to have worked as it's changed to /Volumes/vault now :)

Cheers