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

blkptr command fails for some block pointers #332

Open
sdimitro opened this issue Jul 17, 2023 · 0 comments
Open

blkptr command fails for some block pointers #332

sdimitro opened this issue Jul 17, 2023 · 0 comments

Comments

@sdimitro
Copy link
Contributor

sdb> echo 0xffff8912dbbf44d8 | zio -r | filter 'obj.io_done != 0xffffffffc03a5d60' | member io_private | cast lwb_t * | member lwb_blk | blkptr
DVA[0]=<2:0x88620000:0x20000>
[L0 ZIL intent log] zilog2 uncompressed layer=0 unencrypted LE contiguous unique single
size=0x20000L/0x20000P birth=467L/467P fill=0
cksum=0x708763c140cc65ff:0xfbeadd23f45504da:0xbc:0xe55
DVA[0]=<2:0x88560000:0x20000>
[L0 ZIL intent log] zilog2 uncompressed layer=0 unencrypted LE contiguous unique double
size=0x20000L/0x20000P birth=467L/467P fill=0
cksum=0x708763c140cc65ff:0xfbeadd23f45504da:0xbc:0xe54
DVA[0]=<2:0x884c0000:0x20000>
[L0 ZIL intent log] zilog2 uncompressed layer=0 unencrypted LE contiguous unique triple
size=0x20000L/0x20000P birth=467L/467P fill=0
cksum=0x708763c140cc65ff:0xfbeadd23f45504da:0xbc:0xe53
DVA[0]=<2:0x88460000:0x20000>
[L0 ZIL intent log] zilog2 uncompressed layer=0 unencrypted LE contiguous unique sdb encountered an internal error due to a bug. Here's the
information you need to file the bug:
----------------------------------------------------------
Target Info:
	ProgramFlags.IS_LIVE|IS_LINUX_KERNEL
	Platform(<Architecture.X86_64: 1>, <PlatformFlags.IS_LITTLE_ENDIAN|IS_64_BIT: 3>)

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sdb/internal/repl.py", line 107, in eval_cmd
    for obj in invoke([], input_):
  File "/usr/lib/python3/dist-packages/sdb/pipeline.py", line 152, in invoke
    yield from execute_pipeline(first_input, pipeline)
  File "/usr/lib/python3/dist-packages/sdb/pipeline.py", line 84, in execute_pipeline
    yield from massage_input_and_call(pipeline[-1], this_input)
  File "/usr/lib/python3/dist-packages/sdb/pipeline.py", line 64, in massage_input_and_call
    yield from execute_pipeline(objs, [Address(), cmd])
  File "/usr/lib/python3/dist-packages/sdb/pipeline.py", line 84, in execute_pipeline
    yield from massage_input_and_call(pipeline[-1], this_input)
  File "/usr/lib/python3/dist-packages/sdb/pipeline.py", line 67, in massage_input_and_call
    yield from cmd.call(objs)
  File "/usr/lib/python3/dist-packages/sdb/command.py", line 403, in call
    result = self._call(objs)
  File "/usr/lib/python3/dist-packages/sdb/command.py", line 549, in _call
    self.pretty_print(self.check_input_type(objs))
  File "/usr/lib/python3/dist-packages/sdb/commands/zfs/blkptr.py", line 153, in pretty_print
    print(f"{copyname[copies]}")
IndexError: list index out of range
----------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant