Created
May 8, 2021 14:53
-
-
Save ilovezfs/acb827b0821c1b45ca2ca68ef83e0825 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
joe@joes-Mac openzfs % sudo zfs send -R testpool@final > outf | |
joe@joes-Mac openzfs % cat outf | sudo zfs receive -d -F testpool2 | |
cannot receive incremental stream: destination 'testpool2/testfs/vclone' does not exist | |
joe@joes-Mac openzfs % sudo zfs send -R testpool@final | tee outf &>/dev/null | |
joe@joes-Mac openzfs % cat outf | sudo zfs receive -d -F testpool2 | |
Volume testpool2 on disk9s1 unmounted | |
joe@joes-Mac openzfs % sudo zpool destroy testpool2 | |
Unmount successful for /Volumes/testpool2/testfs/fs1/fs2 | |
Unmount successful for /Volumes/testpool2/testfs/fs1/fclone | |
Unmount successful for /Volumes/testpool2/testfs/fs1 | |
Unmount successful for /Volumes/testpool2/testfs | |
Unmount successful for /Volumes/testpool2/pclone | |
Volume testpool2 on disk9s1 unmounted | |
Exporting 'testpool2/testfs/vclone' | |
... asking ZVOL to export 'disk16' | |
Unmount of all volumes on disk16 was successful | |
Exporting 'testpool2/testfs/vol' | |
... asking ZVOL to export 'disk14' | |
Unmount of all volumes on disk14 was successful | |
Exporting 'testpool2/vol' | |
... asking ZVOL to export 'disk15' | |
Unmount of all volumes on disk15 was successful | |
joe@joes-Mac openzfs % export __ZFS_MAIN_MOUNTPOINT_DIR=/ | |
joe@joes-Mac openzfs % sudo zfs receive -d -F testpool2 < outf | |
cannot receive: specified fs (testpool2) does not exist | |
joe@joes-Mac openzfs % sudo zpool create testpool2 disk1 | |
joe@joes-Mac openzfs % sudo zfs receive -d -F testpool2 < outf | |
Volume testpool2 on disk9s1 unmounted | |
cannot receive: invalid stream (bad magic number) | |
joe@joes-Mac openzfs % sudo zpool destroy testpool2 | |
Volume testpool2 on disk9s1 unmounted | |
joe@joes-Mac openzfs % sudo zpool create testpool2 disk1 | |
joe@joes-Mac openzfs % cat outf | sudo zfs receive -d -F testpool2 | |
Volume testpool2 on disk9s1 unmounted | |
joe@joes-Mac openzfs % |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment