mdbzfs icon indicating copy to clipboard operation
mdbzfs copied to clipboard

ZFS

Open roopa01 opened this issue 5 years ago • 2 comments

Hello,

       I am working on ZFS file system.I am using zdb to decompress the data block. When i run zdb -uuu myPool command it gives the output like this:

    

roopa@Admin:~$ sudo zdb -uuu myPool [Uberblock: magic = 0000000000bab10c version = 5000 txg = 107 guid_sum = 3321261512524857960 timestamp = 1600265714 UTC = Wed Sep 16 19:45:14 2020 mmp_magic = 00000000a11cea11 mmp_delay = 0 mmp_valid = 0 checkpoint_txg = 0

It does not give output like

rootbp = [L0 DMU objset] 400L/200P DVA[0]=<0:4e00:200> DVA[1]=<0:1c0004e 00:200> DVA[2]=<0:380001200:200> fletcher4 lzjb LE contiguous birth=19148 fill=1 8 cksum=89aca5d29:38d271ef883:be5570b26779:1af282de579a51

So i am not able to give offset of the block to be decompressed. Can you help me what is the problm with this.

But when i give manual offset of the block to be decompressed in the command

zdb -R laciedisk:c4t0d0p1:4e00:200:d,lzjb,400 2> /tmp/objset

it decompressed the block and show it on terminal nothing goes to the file /tmp/objset . This is blank file created in temp.

How can i read the given output.How can i use mdb to print the decompressed data and read it.What is the structure of this uncompressed block data.When i use mdb command it gives error mdb command not found.Please help me and guide me.

roopa01 avatar Sep 17 '20 07:09 roopa01

What OS are you running zdb on?

max123 avatar Oct 26 '20 14:10 max123

I am working on ububtu 20.04

On Mon, 26 Oct, 2020, 8:26 pm Max Bruning, [email protected] wrote:

What OS are you running zdb on?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/max123/mdbzfs/issues/3#issuecomment-716602016, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXEIXEOJXXS4ED3R6P7PKDSMWE3TANCNFSM4RP66MVQ .

roopa01 avatar Oct 27 '20 11:10 roopa01