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:

        # zpool create test mirror <disk0> <disk1>
        # zpool export test
        Remove <disk1> and put a new one in the same place.
        # zpool import test
        # zpool status test
          pool: test
         state: ONLINE
        status: One or more devices could not be used because the label is 
missing or
                invalid.  Sufficient replicas exist for the pool to continue
                functioning in a degraded state.
        action: Replace the device using 'zpool replace'.
           see: http://www.sun.com/msg/ZFS-8000-4J
         scrub: resilver completed after 0h0m with 0 errors on Sun May 18 
16:58:29 2008
        config:

                NAME                     STATE     READ WRITE CKSUM
                test                     ONLINE       0     0     0
                  mirror                 ONLINE       0     0     0
                    <disk0>              ONLINE       0     0     0
                    3072748155191203922  UNAVAIL      0     0     0  was <disk1>

        errors: No known data errors

Note the pool is reported to be in ONLINE state, instead of DEGRADED state.

-- 
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/20080518/1c31b598/attachment.bin>

Reply via email to