Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jul 2019 20:04:45 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: zfs recv errors (g_dev_taste: make_dev_p() failed)
Message-ID:  <11b29926-f34f-99cd-e0d0-e1b1339f0f3f@sentex.net>
In-Reply-To: <cafce8f2-296c-0186-57a7-be962e43056f@sentex.net>
References:  <cafce8f2-296c-0186-57a7-be962e43056f@sentex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?11b29926-f34f-99cd-e0d0-e1b1339f0f3f>