easy test it:

1. download ISO: dilos-core-18-06-18_17-06-2.0.1.35.iso 
<https://apt2.dilos.org/dilos/isos/dilos-core-18-06-18_17-06-2.0.1.35.iso>
2. no need setup - just load to VM where you have 1 or 2 drives
3. switch to command line by 'F2' when installer loaded
4. create test pool on drive
5. run : zdb <test pool>

as result - it will not show result and will wait a long long time - not 
finished.
you can run zdb with truss too, but it will not finished threads.

fixed version:
1. download ISO: dilos-core-18-06-25_17-59-2.0.1.36.iso 
<https://apt2.dilos.org/dilos/isos/dilos-core-18-06-25_17-59-2.0.1.36.iso>
produce the same steps 2-5 from first iteration - zdb is working

new ISO have no dependencies to libfakekernel.

-Igor


> On Jun 24, 2018, at 8:18 PM, Andrew Stormont via openzfs-developer 
> <[email protected]> wrote:
> 
> Is the zdb problem documented anywhere?  The is the first I’ve heard of it.
> 
> - Andy.
> 
>> On 24 Jun 2018, at 18:05, Igor Kozhukhov <[email protected]> wrote:
>> 
>> Hi All,
>> 
>> Thanks to everyone who helped with analyzes of issues with zdb and crashes 
>> under dilos env with zfs tests.
>> 
>> zdb was broken on dilos env - no output from commands like 'zdb testpool', 
>> 'zdb -dP testpool'
>> 
>> I have reverted changeset ' 8809 libzpool should leverage work done in 
>> libfakekernel' and it fixed my problem.
>> 
>> zdb now works as well as usual.
>> it is not gcc55 build issue - i have tested with gcc44 builds too - zdb have 
>> no works with example of commands.
>> i have checked sources - have no found missmerges what can be related to zdb 
>> unstability.
>> i think, it can be related to some of threads functions (mutex_*) in 
>> libfakekernel with remup.
>> 
>> I’d like to start thread about: do we really need dependency to 
>> libfakekernel in zfs tools like libzpool, zdb, etc ?
>> 
>> I think, it will be much more better for portablility try to reduce 
>> dependencies in zfs code base.
>> 
>> I’d like propose to revert commit with dependency to libfakekernel and to go 
>> to use minimal dependencies for better portablility.
>> 
>> it will be also helps with ports of changes from others platfrorms too, 
>> where we have same/similar codebases and reduce others unknown breakages.
>> 
>> my work for it can be found at:
>> https://bitbucket.org/dilos/dilos-illumos/commits/5a9fb49101f6854d207ec6565788cd9b8b7ac943
>> 
>> but i’m not sure i have fixed ztext correctly and need help with it.
>> 
>> Bets regards,
>> -Igor
>> 
>> openzfs / openzfs-developer / see discussions + participants + delivery 
>> options Permalink

------------------------------------------
openzfs: openzfs-developer
Permalink: 
https://openzfs.topicbox.com/groups/developer/Tcb694a62f3cfa33c-Md1bcde1d5843e956ec271fa6
Delivery options: https://openzfs.topicbox.com/groups

Reply via email to