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

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 04 Nov 2021 09:09:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259505

--- Comment #8 from ERM Consulting <heiko.grethe@erm-consulting.de> ---
OK, solved!
I was not aware that we can switch of the "inherit mountpoint" functionality.
We used your recommended command on the old dataset:

   zfs inherit mountpoint DataStorage8/datasetVM

Then send->received the dataset to the new pool and now we have the correct
mountpoint:

storage8: ~# zfs list
NAME                                 USED  AVAIL  REFER  MOUNTPOINT
zDataStorage8                       6.67T  7.24T   139K  /zDataStorage8
zDataStorage8/datasetShares         2.16T  7.24T  2.11T 
/zDataStorage8/datasetShares
zDataStorage8/datasetVM             4.51T  7.24T  3.86T 
/zDataStorage8/datasetVM
zDataStorage8Backup2                6.31T  9.54T   104K  /zDataStorage8Backup2
zDataStorage8Backup2/datasetShares  2.15T  9.54T  2.09T 
/zDataStorage8Backup2/datasetShares
zDataStorage8Backup2/datasetVM      4.17T  9.54T  3.71T 
/zDataStorage8Backup2/datasetVM

Many thanks for your help!
No Bug, lag on knowledge!

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