Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zdb -R with decompress flag always dumps 16MB #4955

Closed
tuxoko opened this issue Aug 10, 2016 · 1 comment
Closed

zdb -R with decompress flag always dumps 16MB #4955

tuxoko opened this issue Aug 10, 2016 · 1 comment

Comments

@tuxoko
Copy link
Contributor

tuxoko commented Aug 10, 2016

spl/zfs version current master

For example, an bp for objset.

bp = DVA[0]=<1:34c00:200> DVA[1]=<0:36800:200>
# zdb -R pp 1:34c00:200:r | hexdump -C
Found vdev type: mirror
00000000  00 00 00 dc ab 0a 0e 07  03 00 00 00 01 20 00 01  |............. ..|
00000010  00 1b 24 10 00 0f 02 00  04 10 01 3d 00 40 00 00  |..$........=.@..|
00000020  00 a4 09 00 03 0c 00 00  02 00 13 b2 10 00 0c 02  |................|
00000030  00 8c 1f 00 00 00 0f 07  0a 86 18 00 04 02 00 22  |..............."|
00000040  fc 0e 0a 00 12 09 07 00  f3 11 00 59 e0 71 2b 17  |...........Y.q+.|
00000050  00 00 00 65 ce 4b 85 5c  09 00 00 14 dd cc f1 5f  |...e.K.\......._|
00000060  ec 01 00 de 70 e1 77 bb  95 44 26 00 0f 02 00 ff  |....p.w..D&.....|
00000070  e8 13 02 fb 01 0f 6f 02  04 0f 02 00 ff 0f 31 27  |......o.......1'|
00000080  0e 01 00 04 0f 40 01 28  f0 0e 36 21 03 00 01 00  |.....@.(..6!....|
00000090  50 80 af b2 b6 ff 01 00  01 0e 00 0f 02 00 19 27  |P..............'|
000000a0  04 02 2e 00 17 30 0c 0d  00 ff 0a 14 18 08 28 00  |.....0........(.|
000000b0  38 33 65 38 0f 00 0f ff  01 00 72 8f 00 27 80 02  |83e8......r..'..|
000000c0  00 ff 4c 50 9e 01 00 04  00 04 0f 02 00 ff 56 0f  |..LP..........V.|
000000d0  00 02 38 2f 95 aa 00 02  ff 9c 50 00 00 00 00 00  |..8/......P.....|
000000e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000200
zdb -R pp 1:34c00:200:dr | hexdump -C
Found vdev type: mirror
00000000  0a 0e 07 03 00 00 00 01  20 00 00 00 00 00 00 00  |........ .......|
00000010  00 00 00 00 00 00 00 00  00 24 00 00 00 00 00 00  |.........$......|
00000020  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000040  01 00 00 00 01 00 00 00  a4 01 00 00 00 00 00 00  |................|
00000050  01 00 00 00 00 00 00 00  b2 01 00 00 00 00 00 00  |................|
00000060  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000070  1f 00 00 00 0f 07 0a 86  00 00 00 00 00 00 00 00  |................|
00000080  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000090  fc 0e 00 00 00 00 00 00  09 00 00 00 00 00 00 00  |................|
000000a0  59 e0 71 2b 17 00 00 00  65 ce 4b 85 5c 09 00 00  |Y.q+....e.K.\...|
000000b0  14 dd cc f1 5f ec 01 00  de 70 e1 77 bb 95 44 00  |...._....p.w..D.|
000000c0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000002c0  02 00 00 00 00 00 00 00  01 00 00 00 00 00 00 00  |................|
000002d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000400  27 0e 01 03 00 00 00 01  01 00 00 00 00 00 00 00  |'...............|
00000410  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000440  00 00 00 36 21 03 00 01  00 50 80 af b2 b6 ff 01  |...6!....P......|
00000450  00 01 0e 00 0f 02 00 19  27 04 02 2e 00 17 30 0c  |........'.....0.|
00000460  00 0f 02 00 14 18 08 28  00 38 33 65 38 0f 00 0f  |.......(.83e8...|
00000470  ff 01 00 72 8f 00 27 80  02 00 ff 4c 50 00 00 00  |...r..'....LP...|
00000480  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000490  fc 0e 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000004a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000600  27 0e 01 03 00 00 00 01  01 00 00 00 00 00 00 00  |'...............|
00000610  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000640  00 00 00 36 21 03 00 01  00 50 80 95 aa b6 ff 01  |...6!....P......|
00000650  00 01 0e 00 0f 02 00 19  27 04 02 2e 00 17 30 0c  |........'.....0.|
00000660  00 0f 02 00 14 18 08 28  00 38 33 65 38 0f 00 0f  |.......(.83e8...|
00000670  ff 01 00 72 8f 00 27 80  02 00 ff 4c 50 00 00 00  |...r..'....LP...|
00000680  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000690  fc 0e 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000006a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
01000000
@tuxoko
Copy link
Contributor Author

tuxoko commented Aug 10, 2016

Oh never mind, my tool was actually older version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant