ZFS pool mountpoint

New to OpenZFS on OS X (Or ZFS in general)? Ask your questions here!

ZFS pool mountpoint

Postby Gekume123 » Fri May 28, 2021 6:04 pm

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 :)
Gekume123
 
Posts: 5
Joined: Fri May 28, 2021 2:25 pm

Re: ZFS pool mountpoint

Postby lundman » Fri May 28, 2021 7:56 pm

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"
User avatar
lundman
 
Posts: 1335
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: ZFS pool mountpoint

Postby Gekume123 » Sat May 29, 2021 11:58 am

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
Gekume123
 
Posts: 5
Joined: Fri May 28, 2021 2:25 pm

Re: ZFS pool mountpoint

Postby lundman » Sat May 29, 2021 3:15 pm

"zfs inherit mountpoint vault"

I think? Sets it back to the "default"
User avatar
lundman
 
Posts: 1335
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: ZFS pool mountpoint

Postby Gekume123 » Sat May 29, 2021 3:56 pm

Thanks, I didn't know of that command, seems to have worked as it's changed to /Volumes/vault now :)

Cheers
Gekume123
 
Posts: 5
Joined: Fri May 28, 2021 2:25 pm


Return to Absolute Beginners Section

Who is online

Users browsing this forum: No registered users and 11 guests