ZFS Zfs Send | Zfs Receive Issues in backup Source/ OS

All of this is happening on the same Comp/Box.

SSD1
(I installed OS) began using the system.

zfs import -F -o altroot (nv1 zfs)
zfs send -vR
zpool export (nv1 zfs)

NV1
(I install OS) for backup source.
zfs receive -uvF

===========================================

When I start the OS in NV1 (to test that the OS is bootable and all my files are there) the zfs from SSD1 are imported and present with automount zfs like / /var /tmp overlapping the NV1.

The solution in the past:
I log in as root no multi-user NV1. This allows me to zfs umount or do zfs set mount point to different example /zroot/var /zroot/tmp (I must do all of this) so I can zpool export on SSD1 zpool/zfs from NV1.

I will also be trying in the future setting zfs set canmount=noauto on problem zfs mounts and restarting NV1.


My question is why is this happening? Is this normal? Was it that I needed to send the zfs receive -d command? My other concern is if I change settings like canmount=noauto WILL this change take effect in SSD1 making that not bootable/work until I make the changes back?

Code:
gpart show -l

=>       40  976773088  nvd0  GPT  (466G)
         40       1024     1  gptboot0  (512K)
       1064        984        - free -  (492K)
       2048    4194304     2  swap0  (2.0G)
    4196352  972576768     3  zfs0  (464G)
  976773120          8        - free -  (4.0K)



=>        40  1000215136  ada2  GPT  (477G)
          40      409600     1  efiboot0  (200M)
      409640        1024     2  gptboot0  (512K)
      410664         984        - free -  (492K)
      411648     4194304     3  swap0  (2.0G)
     4605952   995608576     4  zfs0  (475G)
  1000214528         648        - free -  (324K)
 
Back
Top