Re: [zfs-discuss] zfs hangs with B141 when filebench runs

2010-07-15 Thread zhihui Chen
and enter into done stage. I have tried to dd the raw device which consists the pool when this zfs hangs, it works ok. Thanks Zhihui On Mon, Jul 5, 2010 at 7:56 PM, zhihui Chen zhch...@gmail.com wrote: I tried to run zfs list on my system, but looks that this command will hangs. This command can

Re: [zfs-discuss] zfs hangs with B141 when filebench runs

2010-07-15 Thread zhihui Chen
and include a pointer to the crash dump. - George zhihui Chen wrote: Looks that the txg_sync_thread for this pool has been blocked and never return, which leads to many other threads have been blocked. I have tried to change zfs_vdev_max_pending value from 10 to 35 and retested the workload

[zfs-discuss] zfs hangs with B141 when filebench runs

2010-07-05 Thread zhihui Chen
I tried to run zfs list on my system, but looks that this command will hangs. This command can not return even if I press contrl+c as following: r...@intel7:/export/bench/io/filebench/results# zfs list ^C^C^C^C ^C^C^C^C .. When this happens, I am running filebench benchmark with oltp

Re: [zfs-discuss] how to convert zio-io_offset to disk block number?

2009-06-26 Thread zhihui Chen
Thanks, fixes following two issues, I can get the right value:(1) Dividing offset 0x657800(6649856) by 512 and take it as the iseek value. (2) Run the dd command on device c2t0d0s0, not c2t0d0. Zhihui 2009/6/26 m...@bruningsystems.com m...@bruningsystems.com Hi Zhihui Chen, zhihui Chen wrote

[zfs-discuss] how to convert zio-io_offset to disk block number?

2009-06-25 Thread zhihui Chen
I use following dtrace script to trace the postion of one file on zfs: #!/usr/sbin/dtrace -qs zio_done:entry /((zio_t *)(arg0))-io_vd/ { zio=(zio_t *)arg0; printf(Offset:%x and Size:%x\n,zio-io_offset,zio-io_size); printf(vd:%x\n,(unsigned long)(zio-io_vd));

Re: [zfs-discuss] how to convert zio-io_offset to disk block number?

2009-06-25 Thread zhihui Chen
Find that zio-io_offset is the absolute offset of device, not in sector unit. And If we need use zdb -R to dump the block, we should use the offset (zio-io_offset-0x40). 2009/6/25 zhihui Chen zhch...@gmail.com I use following dtrace script to trace the postion of one file on zfs: #!/usr

[zfs-discuss] About ZFS compatibility

2009-05-20 Thread zhihui Chen
I have created a pool on external storage with B114. Then I export this pool and import it on another system with B110.But this import will fail and show error: cannot import 'tpool': pool is formatted using a newer ZFS version. Any big change in ZFS with B114 leads to this compatibility issue?