Skip to content

Instantly share code, notes, and snippets.

@kgadek
Last active February 5, 2021 01:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kgadek/9c21580e5d69960a5de6b0463650f245 to your computer and use it in GitHub Desktop.
Save kgadek/9c21580e5d69960a5de6b0463650f245 to your computer and use it in GitHub Desktop.
ZoL RPi4 debugging
root@spongebob:~# zdb -l /dev/mmcblk1
failed to unpack label 0
failed to unpack label 1
------------------------------------
LABEL 2
------------------------------------
version: 5000
name: 'rpool'
state: 1
txg: 78726
pool_guid: 7478742544552544984
errata: 0
hostid: 230071689
hostname: 'debian'
top_guid: 1424028836910325060
guid: 1424028836910325060
vdev_children: 1
vdev_tree:
type: 'disk'
id: 0
guid: 1424028836910325060
path: '/dev/sda2'
whole_disk: 0
metaslab_array: 131
metaslab_shift: 28
ashift: 12
asize: 15233187840
is_log: 0
DTL: 199
create_txg: 4
expansion_time: 1612027858
features_for_read:
com.delphix:hole_birth
com.delphix:embedded_data
labels = 2 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment