On Sun, May 18, 2008 at 11:01:40PM +0200, Pawel Jakub Dawidek wrote:
> On Sun, May 04, 2008 at 10:10:31PM +0200, Pawel Jakub Dawidek wrote:
> > Hi.
> >
> > I'm working on getting the most recent ZFS to the FreeBSD's CVS. Because
> > of the huge amount of changes, I decided to work on ZFS regression
> > tests, so I'm more or less sure nothing broke in the meantime.
> [...]
>
> Below you can find another inconsistency:
[...]
And one more (I'm sorry for sending those in pieces, but that's just
most convinient way for me):
# zpool create test <disk0> mirror <disk1> <disk2>
# zpool offline test <disk1>
# zpool replace test <disk1> <disk3>
# zpool status test
pool: test
state: DEGRADED
scrub: resilver completed after 0h0m with 0 errors on Thu May 22
06:58:15 2008
config:
NAME STATE READ WRITE CKSUM
test DEGRADED 0 0 0
<disk0> ONLINE 0 0 0
logs DEGRADED 0 0 0
mirror ONLINE 0 0 0
<disk1> ONLINE 0 0 0
<disk3> ONLINE 0 0 0
errors: No known data errors
Note DEGRADED state even though all components are ONLINE.
The same happens when I do the following:
# zpool create test <disk0> mirror <disk1> <disk2>
# zpool export test
Remove <disk1>
# zpool import test
# zpool replace test <disk1> <disk3>
zpool export/import cycle fixes the status.
--
Pawel Jakub Dawidek http://www.wheel.pl
pjd at FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL:
<http://mail.opensolaris.org/pipermail/zfs-code/attachments/20080522/57ee05c0/attachment.bin>