I use here a special-device, a log-device & a cache-device without any problem.
Kernel:13.1-RELEASE-p4
Kernel:13.1-RELEASE-p4
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
ZHD 904G 594G 310G - - 13% 65% 1.00x ONLINE -
ada0s2 832G 592G 240G - - 13% 71.1% - ONLINE
special - - - - - - - - -
gpt/special 72.5G 2.50G 70.0G - - 30% 3.44% - ONLINE
ZT 330G 149G 181G - - 48% 45% 1.00x ONLINE -
ada2p3 149G 71.3G 77.7G - - 47% 47.8% - ONLINE
ada2p10 181G 78.1G 103G - - 50% 43.1% - ONLINE
logs - - - - - - - - -
ada1s3 13.5G 2.66M 13.5G - - 0% 0.01% - ONLINE
cache - - - - - - - - -
ada1s1 27.0G 26.1G 956M - - 0% 96.5% - ONLINE
zpool iostat -v
capacity operations bandwidth
pool alloc free read write read write
----------- ----- ----- ----- ----- ----- -----
zroot 998M 831G 7 12 120K 159K
da0p3 493M 416G 4 6 58.5K 71.6K
da1p3 505M 416G 3 6 57.7K 83.7K
gpt/log 80K 7.50G 0 0 3.36K 4.13K
cache - - - - - -
gpt/cache 28.5K 100G 0 0 993 934
----------- ----- ----- ----- ----- ----- -----
13.2 doesn't exist yet. Scheduled to be released some time in March 2023.freebsd 13.1, 13.2 and 14.0
hi SirDice, ya i know.. misstyped... i was want to say to try the current version.13.2 doesn't exist yet. Scheduled to be released some time in March 2023.
FreeBSD 13.2 Release Process
FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms.www.freebsd.org
Closest to 13.2 you're going to get at this time is with a recent 13-STABLE (new releases are made from the stable branches).i was want to say to try the current version.
VERIFY0(0 == nvlist_lookup_uint64(nvl, name, &rv)) failed (0 == 22)
Ok, thanks! In my opinion, you're not doing anything wrong at all, it's quite clearly a bug that should be reported and fixed.Well, I don't understand why the first time when I create log device and attached to the pool works, and if delete that pool, recreate it again and attach it to the same pool, goes to a reboot loop.
Trying to find the logic and what I'm doing wrong (perhaps I do something wrong)
ls -al /dev/gpt/
total 1
dr-xr-xr-x 2 root wheel 512 Nov 28 09:32 .
dr-xr-xr-x 17 root wheel 512 Nov 28 09:32 ..
crw-r----- 1 root operator 0xa7 Nov 28 09:32 gptboot0
crw-r----- 1 root operator 0xad Nov 28 09:32 gptboot1
crw-r----- 1 root operator 0xbf Nov 28 09:32 gptboot2
crw-r----- 1 root operator 0xc5 Nov 28 09:32 gptboot3
nfs# zpool iostat -v
capacity operations bandwidth
pool alloc free read write read write
---------- ----- ----- ----- ----- ----- -----
backup 1.54T 280G 15 0 200K 79.4K
ada4 1.54T 280G 15 0 200K 79.4K
---------- ----- ----- ----- ----- ----- -----
zroot 3.19T 450G 4 29 78.0K 729K
mirror-0 1.61T 211G 2 11 39.7K 305K
ada0p3 - - 1 5 20.0K 153K
ada1p3 - - 1 5 19.7K 153K
mirror-1 1.58T 239G 1 15 38.3K 354K
ada2p3 - - 0 7 19.4K 177K
ada3p3 - - 0 7 18.9K 177K
logs - - - - - -
nvd0p1 27.1M 7.47G 0 2 1 71.4K
cache - - - - - -
nvd0p2 28.5G 75.2G 6 1 48.0K 162K
---------- ----- ----- ----- ----- ----- -----
gpart list | grep label
label: log
label: cache
label: gptboot0
label: swap0
label: zfs0
label: gptboot1
label: swap1
label: zfs1
label: gptboot2
label: swap2
label: zfs2
label: gptboot3
label: swap3
label: zfs3
zroot:
version: 5000
name: 'zroot'
state: 0
txg: 1848
pool_guid: 6875476664965044950
errata: 0
hostname: 'f13'
com.delphix:has_per_vdev_zaps
hole_array[0]: 1
hole_array[1]: 2
hole_array[2]: 3
hole_array[3]: 4
hole_array[4]: 5
hole_array[5]: 6
hole_array[6]: 7
hole_array[7]: 8
hole_array[8]: 9
vdev_children: 11
vdev_tree:
type: 'root'
id: 0
guid: 6875476664965044950
create_txg: 4
children[0]:
type: 'disk'
id: 0
guid: 3442502113579205730
path: '/dev/da0p3'
whole_disk: 1
metaslab_array: 67
metaslab_shift: 29
ashift: 12
asize: 15025569792
is_log: 0
create_txg: 4
com.delphix:vdev_zap_leaf: 65
com.delphix:vdev_zap_top: 66
children[1]:
type: 'hole'
id: 1
guid: 0
whole_disk: 0
metaslab_array: 0
metaslab_shift: 0
ashift: 0
asize: 0
is_log: 0
is_hole: 1
children[2]:
type: 'hole'
id: 2
guid: 0
whole_disk: 0
metaslab_array: 0
metaslab_shift: 0
ashift: 0
asize: 0
is_log: 0
is_hole: 1
children[3]:
type: 'hole'
id: 3
guid: 0
whole_disk: 0
metaslab_array: 0
metaslab_shift: 0
ashift: 0
asize: 0
is_log: 0
is_hole: 1
children[4]:
type: 'hole'
id: 4
guid: 0
whole_disk: 0
metaslab_array: 0
metaslab_shift: 0
ashift: 0
asize: 0
is_log: 0
is_hole: 1
children[5]:
type: 'hole'
id: 5
guid: 0
whole_disk: 0
metaslab_array: 0
metaslab_shift: 0
ashift: 0
asize: 0
is_log: 0
is_hole: 1
children[6]:
type: 'hole'
id: 6
guid: 0
whole_disk: 0
metaslab_array: 0
metaslab_shift: 0
ashift: 0
asize: 0
is_log: 0
is_hole: 1
children[7]:
type: 'hole'
id: 7
guid: 0
whole_disk: 0
metaslab_array: 0
metaslab_shift: 0
ashift: 0
asize: 0
is_log: 0
is_hole: 1
children[8]:
type: 'hole'
id: 8
guid: 0
whole_disk: 0
metaslab_array: 0
metaslab_shift: 0
ashift: 0
asize: 0
is_log: 0
is_hole: 1
children[9]:
type: 'hole'
id: 9
guid: 0
whole_disk: 0
metaslab_array: 0
metaslab_shift: 0
ashift: 0
asize: 0
is_log: 0
is_hole: 1
children[10]:
type: 'disk'
id: 10
guid: 5287760721319056479
path: '/dev/da1p2'
whole_disk: 1
metaslab_array: 0
metaslab_shift: 0
ashift: 12
asize: 2142765056
is_log: 1
create_txg: 1848
com.delphix:vdev_zap_leaf: 128
com.delphix:vdev_zap_top: 135
features_for_read:
com.delphix:hole_birth
com.delphix:embedded_data
--- contrib/openzfs/module/os/freebsd/zfs/spa_os.c 2022-05-17 07:18:53.560252000 +0300
+++ /tmp/spa_os.c 2022-12-02 16:33:04.665494000 +0200
@@ -95,6 +95,7 @@
for (i = 0; i < count; i++) {
uint64_t txg;
+ if(!configs[i]) continue;
txg = fnvlist_lookup_uint64(configs[i], ZPOOL_CONFIG_POOL_TXG);
if (txg > best_txg) {
best_txg = txg;
+ if(!configs[i]) continue;
uint64_t txg;
//add this
if(!configs[i]) continue;
//end patch
txg = fnvlist_lookup_uint64(configs, ZPOOL_CONFIG_POOL_TXG);