[EMAIL PROTECTED] пишет:
> Victor Latushkin wrote:
>> [EMAIL PROTECTED] пишет:
>>> Hi,
>>> Victor Latushkin wrote:
>>>> Hi Ben,
>>>>
>>>> Ben Rockwood пишет:
>>>>  
>>>>> Is there some hidden way to coax zdb into not just displaying data
>>>>> based on a given DVA but rather to dump it in raw usable form?
>>>>>
>>>>> I've got a pool with large amounts of corruption.  Several
>>>>> directories are toast and I get "I/O Error" when trying to enter or
>>>>> read the directory... however I can read the directory and files
>>>>> using ZDB, if I could just dump it in a raw format I could do
>>>>> recovery that way.
>>>>>
>>>>> To be clear, I've already recovered from the situation, this is
>>>>> purely an academic "can I do it" exercise for the sake of learning.
>>>>>
>>>>> If ZDB can't do it, I'd assume I'd have to write some code to read
>>>>> based on DVA.  Maybe I could write a little tool for it.
>>>>>     
>>>>
>>>> zdb -R can read raw data blocks from the pool if flag 'r' is used, 
>>>> so if you can identify list of a blocks comprising some file, you 
>>>> can feed it to zdb -R.
>>>>
>>>>   
>>> I have decided to file an RFE so that zdb with the -R option will
>>> allow one to decompress data before dumping it. I have had this
>>> implemented for several months now, and was told that a way to get it
>>> into opensolaris was to file an RFE. However, when I go to file the 
>>> RFE, after typing in the information and hitting "send", I am
>>> getting: >
>>>
>>>  Not Found
>>>
>>> The requested URL /bug/os was not found on this server.
>>>
>>> ------------------------------------------------------------------------
>>> Apache/2.0.58 (Unix) mod_ssl/2.0.58 OpenSSL/0.9.8a DAV/2 
>>> proxy_html/2.5 mod_jk/1.2.15 Server at www.opensolaris.org Port 80
>>>
>>> Any ideas?
>>
>> I have no idea whatmay be wrong with web-site, but there's already RFE
>>
>> 6757444 want zdb -R to support decompression, checksumming and raid-z
>>
>> regards,
>> victor
>>
> Thanks Victor.  I guess searching the bug/rfe site for zdb is not the 
> correct way to find
> this.  I looked for keyword: zdb and text: decompress
> and got no hits.  Maybe I should have used google...

Search for keyword 'zdb' returns only one result, but search for text 
'zdb' returns a lot. I guess keywords search depends on keywords being 
there.

victor
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to