[zfs-discuss] hung when import zpool

2009-01-08 Thread Qin Ming Hua
Hi All,

I would like to try zfs Self Healing feature as --
http://www.opensolaris.org/os/community/zfs/demos/selfheal/
but meet some issue, please see my process.

bash-3.00# zpool create mypool mirror c3t5006016130603AE5d7
c3t5006016130603AE5d8
bash-3.00# cd /mypool/
bash-3.00# cp /export/iozone3_315.tar .
bash-3.00# digest -a md5 iozone3_315.tar
e5997fa99c538e067bf5eefde90dd423
bash-3.00# dd if=/dev/zero of=/dev/dsk/c3t5006016130603AE5d8 bs=1024
count=20480
20480+0 records in
20480+0 records out
bash-3.00# zpool status mypool
  pool: mypool
 state: ONLINE
 scrub: none requested
config:

NAME   STATE READ WRITE CKSUM
mypool ONLINE   0 0 0
  mirror   ONLINE   0 0 0
c3t5006016130603AE5d7  ONLINE   0 0 0
c3t5006016130603AE5d8  ONLINE   0 0 0

errors: No known data errors
bash-3.00# cd /
bash-3.00# zpool export mypool
bash-3.00# zpool import mypool
^C^C

it hung when i try to re-import the zpool, has anyone  see this before?

bash-3.00# uname -vi
Generic_120012-14 i86pc
bash-3.00# cat /etc/release
Solaris 10 8/07 s10x_u4wos_12b X86
   Copyright 2007 Sun Microsystems, Inc.  All Rights Reserved.
Use is subject to license terms.
Assembled 16 August 2007


-- 
Best regards,
Colin Qin
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] hung when import zpool

2009-01-08 Thread Carsten Aulbert
Hi

Qin Ming Hua wrote:
 bash-3.00# zpool import mypool
 ^C^C
 
 it hung when i try to re-import the zpool, has anyone  see this before?
 

How long did you wait?

Once a zfs import took 1-2 hours to complete (it was seemingly stuck at
a ~30 GB filesystem which it needed to do some work on).

Cheer

Carsten
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] hung when import zpool

2009-01-08 Thread Qin Ming Hua
It's a 2GB filessystem just for test.

I wait about half an hour yesterday, but it import successful with only 20s
when i re-tried today.

Meanwhile, zfs didn't find any disk issue. (by the demo it should)


On Thu, Jan 8, 2009 at 6:03 PM, Carsten Aulbert
carsten.aulb...@aei.mpg.dewrote:

 Hi

 Qin Ming Hua wrote:
  bash-3.00# zpool import mypool
  ^C^C
 
  it hung when i try to re-import the zpool, has anyone  see this before?
 

 How long did you wait?

 Once a zfs import took 1-2 hours to complete (it was seemingly stuck at
 a ~30 GB filesystem which it needed to do some work on).

 Cheer

 Carsten
 ___
 zfs-discuss mailing list
 zfs-discuss@opensolaris.org
 http://mail.opensolaris.org/mailman/listinfo/zfs-discuss




-- 
Best regards,
Colin Qin
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss