Created
May 8, 2021 14:58
-
-
Save ilovezfs/1c3a04e3c47502c94c42c1927dcb67d2 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 % export __ZFS_MAIN_MOUNTPOINT_DIR=/ | |
joe@joes-Mac openzfs % sudo zpool destroy testpool2 && sudo zpool create testpool2 disk1 | |
Volume testpool2 on disk9s1 unmounted | |
joe@joes-Mac openzfs % rm outf | |
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 % rm outf | |
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 && sudo zpool create testpool2 disk1 | |
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 % 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 && sudo zpool create testpool2 disk1 | |
Volume testpool2 on disk9s1 unmounted | |
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