Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Created April 27, 2024 00:29
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 cleverca22/ee588aa10c208880a8eb6be84b72e138 to your computer and use it in GitHub Desktop.
Save cleverca22/ee588aa10c208880a8eb6be84b72e138 to your computer and use it in GitHub Desktop.
[root@amd-nixos:~]# zdb -l /dev/nvme1n1p1
------------------------------------
LABEL 0
------------------------------------
version: 5000
name: 'amd'
state: 0
txg: 10182000
pool_guid: 7862764379693173214
errata: 0
hostid: 4263472319
hostname: 'amd-nixos'
top_guid: 2839734197494223893
guid: 2839734197494223893
vdev_children: 1
vdev_tree:
type: 'disk'
id: 0
guid: 2839734197494223893
path: '/dev/disk/by-id/nvme-eui.0000000001000000e4d25cd9a9984d01-part1'
whole_disk: 0
metaslab_array: 68
metaslab_shift: 32
ashift: 12
asize: 512104071168
is_log: 0
DTL: 12727
create_txg: 4
features_for_read:
com.delphix:hole_birth
com.delphix:embedded_data
labels = 0 1 2 3
[root@nas:~]# zdb -l /dev/sdb2
------------------------------------
LABEL 0
------------------------------------
version: 5000
name: 'naspool'
state: 0
txg: 52615609
pool_guid: 7200155095284679922
errata: 0
hostid: 1226694344
hostname: '(none)'
top_guid: 14683827585890324468
guid: 17379698086758883238
hole_array[0]: 1
vdev_children: 2
vdev_tree:
type: 'raidz'
id: 0
guid: 14683827585890324468
nparity: 1
metaslab_array: 35
metaslab_shift: 34
ashift: 12
asize: 11995901067264
is_log: 0
create_txg: 4
children[0]:
type: 'disk'
id: 0
guid: 13200055647801956859
path: '/dev/disk/by-id/wwn-0x50014ee2654606d2-part2'
whole_disk: 0
DTL: 36172
create_txg: 4
children[1]:
type: 'disk'
id: 1
guid: 7939413065091060985
path: '/dev/disk/by-id/wwn-0x50014ee26546090e-part2'
whole_disk: 0
DTL: 50999
create_txg: 4
children[2]:
type: 'disk'
id: 2
guid: 17379698086758883238
path: '/dev/disk/by-id/wwn-0x50014ee20ff0b3f5-part2'
whole_disk: 0
DTL: 50998
create_txg: 4
features_for_read:
com.delphix:hole_birth
com.delphix:embedded_data
labels = 0 1 2 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment