[Bug 259505] Bug in zfs receive - Mountpoint not changed

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 28 Oct 2021 14:59:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259505

            Bug ID: 259505
           Summary: Bug in zfs receive - Mountpoint not changed
           Product: Base System
           Version: 12.2-RELEASE
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: heiko.grethe@erm-consulting.de

transfering several datasets from one pool to the other only the first
mountpoint is set as expected:

Using:
zfs send -R zDataStorage8Backup/datasetShares@auto-20211027-050000 | zfs
receive -Fd zDataStorage8

creates correct mountpoint (/zDataStorage8/datasetShares)

zfs list
NAME                                USED  AVAIL  REFER  MOUNTPOINT
zDataStorage8                       315M  13.9T   128K  /zDataStorage8
zDataStorage8/datasetShares         311M  13.9T   311M 
/zDataStorage8/datasetShares

But the second transfer:
zfs send -R zDataStorage8Backup/datasetVM@auto-20211027-120000 | zfs receive
-Fd zDataStorage8

does not change the mountpoint (/zDataStorage8Backup/datasetVM)

zfs list
NAME                                USED  AVAIL  REFER  MOUNTPOINT
zDataStorage8                      2.22T  11.7T   128K  /zDataStorage8
zDataStorage8/datasetShares        2.16T  11.7T  2.10T 
/zDataStorage8/datasetShares
zDataStorage8/datasetVM            62.0G  11.7T  62.0G 
/zDataStorage8Backup/datasetVM
We can change the mountpoint later, but this seems to be a bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.