Page 1 of 1

internal error: out of memory

PostPosted: Mon May 20, 2019 3:07 am
by tangles
Is it possible to mount a legacy dataset on macOS?
Code: Select all
nMPro: madmin$ zfs list
NAME                        USED  AVAIL  REFER  MOUNTPOINT
freenas-boot                755M  12.8G    64K  none
freenas-boot/ROOT           755M  12.8G    29K  none
freenas-boot/ROOT/default   755M  12.8G   755M  legacy

nMPro:~ madmin$ ls  /Volumes/ | grep disk2
disk2efi
disk2freenas-boot

nMPro:~ madmin$ nMPro: madmin$ sudo zfs set mountpoint=/Volumes/disk2freenas-boot freenas-boot/ROOT/default
internal error: out of memory

As expected… although the error string could be kinder.

Anyone know how to mount a ZFS dataset when it's set to legacy on macOS?

Am playing around with FreeNAS atm..

Re: internal error: out of memory

PostPosted: Mon May 20, 2019 3:26 am
by tangles
So looks like I need to compile a new mount binary that has mount -t zfs baked in?

Re: nternal error: out of memory

PostPosted: Mon May 20, 2019 3:28 am
by lundman
Have you tried with mount_zfs (which is technically a link to 'zfs' - changes behavior based on its name) ?