Hello everyone,

As one of the steps of improving my ZFS home fileserver (snv_134) I wanted
to replace a 1TB disk with a newer one of the same vendor/model/size because
this new one has 64MB cache vs. 16MB in the previous one.
The removed disk will be use for backups, so I thought it's better off to
have a 64MB cache disk in the on-line pool than in the backup set sitting
off-line all day.

To replace it a I did:

$ zpool datos offline c12t0d0

Shutdown the server, replace the physical disk and boot up back again. Then:

$ zpool datos replace c12t0d0


Now the resilvering is taking way too much time to complete and the disk
throughput is horrible.
Take a look:


zpool status

  pool: datos
 state: DEGRADED
status: One or more devices is currently being resilvered.  The pool will
        continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
 scrub: resilver in progress for 1h7m, 0.04% done, 2744h48m to go
config:

        NAME               STATE     READ WRITE CKSUM
        datos              DEGRADED     0     0     0
          raidz1-0         DEGRADED     0     0     0
            c12t1d0        ONLINE       0     0     0
            replacing-1    DEGRADED     0     0     0
              c12t0d0s0/o  FAULTED      0     0     0  corrupted data
              c12t0d0      ONLINE       0     0     0  313M resilvered
            c12t2d0        ONLINE       0     0     0

errors: No known data errors


zpool iostat

                      capacity     operations    bandwidth
pool               alloc   free   read  write   read  write
-----------------  -----  -----  -----  -----  -----  -----
datos              2.27T   460G     14     29  32.3K  64.7K
  raidz1           2.27T   460G     14     29  32.3K  64.7K
    c12t1d0            -      -     14      0  16.3K      0
    replacing          -      -      0     44      0  50.1K
      c12t0d0s0/o      -      -      0      0      0      0
      c12t0d0          -      -      0     44      0  50.1K
    c12t2d0            -      -     14      0  16.9K      0
-----------------  -----  -----  -----  -----  -----  -----


iostat

    cpu
 us sy wt id
  0  0  0 100
                    extended device statistics
    r/s    w/s   kr/s   kw/s wait actv wsvc_t asvc_t  %w  %b device
    0.0   47.6    0.0   58.8  0.0 10.0    0.0  210.1   0 100 c12t0d0
   16.8    0.0   33.1    0.0  0.0  0.2    0.0   13.8   0  22 c12t1d0
   16.6    0.0   20.1    0.0  0.0  0.4    0.0   22.0   0  29 c12t2d0


Needless to say that this was working perfectly fine an hour ago with the
previous disk and the new one was already tested during the last couple of
days copying data and doing scrub without any issue. I already checked the
cables on that disk but the throughput remains the same.

Do you have any idea what's going on with the resilver?

Thanks in advance.

Regards,

Leandro.
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to