root@a-fw:~ # zdb -U /etc/zfs/zpool.cachetank: version: 5000 name: 'tank' state: 0 txg: 206460 pool_guid: 3111308251436133108 errata: 0 hostname: ''<snip>
root@a-fw:~ # zpool export tankroot@a-fw:~ # zpool import tankroot@a-fw:~ # zdb -U /etc/zfs/zpool.cachetank: version: 5000 name: 'tank' state: 0 txg: 206553 pool_guid: 3111308251436133108 errata: 0 hostid: 3119175440 hostname: 'a-fw.<domain redacted>'<snip>
root@OPNsense:~ # zdb -U /boot/zfs/zpool.cache zroot: version: 5000 name: 'zroot' state: 0 txg: 4 pool_guid: 5855889087766899018 errata: 0 hostid: 350323563 hostname: 'OPNsense.localdomain' com.delphix:has_per_vdev_zaps vdev_children: 1 vdev_tree: type: 'root' id: 0 guid: 5855889087766899018 create_txg: 4 children[0]: type: 'disk' id: 0 guid: 7374185842686849048 path: '/dev/ada0p3' whole_disk: 1 metaslab_array: 67 metaslab_shift: 28 ashift: 12 asize: 3109552128 is_log: 0 create_txg: 4 com.delphix:vdev_zap_leaf: 65 com.delphix:vdev_zap_top: 66 features_for_read: com.delphix:hole_birth com.delphix:embedded_data
root@OPNsense:~ # truncate -s 64M poolAroot@OPNsense:~ # ls.cshrc .lesshst .profile .vimrc.history .login .shrc poolAroot@OPNsense:~ # zpool create -m /tank tank /root/poolAroot@OPNsense:~ # zpool listNAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOTtank 48M 456K 47.6M - - 5% 0% 1.00x ONLINE -zroot 2.75G 1.02G 1.73G - - 1% 37% 1.00x ONLINE -root@OPNsense:~ # ls /etc/zfs/compatibility.d/ zpool.cache taroot@OPNsense:~ # zdb -U /boot/zfs/zpool.cachezroot: version: 5000 name: 'zroot' state: 0 txg: 4 pool_guid: 5855889087766899018 errata: 0 hostid: 350323563 hostname: 'OPNsense.localdomain' com.delphix:has_per_vdev_zaps vdev_children: 1 vdev_tree: type: 'root' id: 0 guid: 5855889087766899018 create_txg: 4 children[0]: type: 'disk' id: 0 guid: 7374185842686849048 path: '/dev/ada0p3' whole_disk: 1 metaslab_array: 67 metaslab_shift: 28 ashift: 12 asize: 3109552128 is_log: 0 create_txg: 4 com.delphix:vdev_zap_leaf: 65 com.delphix:vdev_zap_top: 66 features_for_read: com.delphix:hole_birth com.delphix:embedded_dataroot@OPNsense:~ # zdb -U /etc/zfs/compatibility.d/ zpool.cacheroot@OPNsense:~ # zdb -U /etc/zfs/zpool.cache tank: version: 5000 name: 'tank' state: 0 txg: 4 pool_guid: 379491550502733551 errata: 0 hostid: 350323563 hostname: 'OPNsense.localdomain' com.delphix:has_per_vdev_zaps vdev_children: 1 vdev_tree: type: 'root' id: 0 guid: 379491550502733551 create_txg: 4 children[0]: type: 'file' id: 0 guid: 12194019493862066782 path: '/root/poolA' metaslab_array: 67 metaslab_shift: 24 ashift: 12 asize: 62390272 is_log: 0 create_txg: 4 com.delphix:vdev_zap_leaf: 65 com.delphix:vdev_zap_top: 66 features_for_read: com.delphix:hole_birth com.delphix:embedded_datazroot: version: 5000 name: 'zroot' state: 0 txg: 248 pool_guid: 5855889087766899018 errata: 0 hostname: '' com.delphix:has_per_vdev_zaps vdev_children: 1 vdev_tree: type: 'root' id: 0 guid: 5855889087766899018 create_txg: 4 children[0]: type: 'disk' id: 0 guid: 7374185842686849048 path: '/dev/ada0p3' whole_disk: 1 metaslab_array: 67 metaslab_shift: 28 ashift: 12 asize: 3109552128 is_log: 0 create_txg: 4 com.delphix:vdev_zap_leaf: 65 com.delphix:vdev_zap_top: 66 features_for_read: com.delphix:hole_birth com.delphix:embedded_dataroot@OPNsense:~ #
zpool import