zfs recv errors (g_dev_taste: make_dev_p() failed)

Mike Tancsa mike at sentex.net
Fri Jul 19 00:04:50 UTC 2019


On 7/18/2019 4:24 PM, Mike Tancsa wrote:
> I have been adding zfs replication via a great app called zrepl and ran
> into an error / issue I am not 100% sure what to make of.  It only
> happens when replication datasets that are volumes with longish names
....
> I get an error / warning in dmesg
>
> g_dev_taste: make_dev_p() failed
> (gp->name=zvol/zroot/12345678901234567890123456a at zrepl_20190718_185346_000,
> error=63)

On the target server being replicated to, doing a

zfs set volmode=none <volume target>

works around the issue of the OS trying to make a dev in /dev/zvol...

One caveat, as when doing a restore I guess that will need to be unset. 
Not sure if bhyve disks need a value other than none to work or not. 

    ---Mike



-- 
-------------------
Mike Tancsa, tel +1 519 651 3400 x203
Sentex Communications, mike at sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   



More information about the freebsd-questions mailing list