ZFS: old drive still in use after zfs replace

Ion-Mihai Tetcu itetcu at FreeBSD.org
Mon May 3 17:06:26 UTC 2010


Hi,


I have a zpool over 4 disks. Since after a scrub ad6 showed some errors,
I did a 
  zpool replace tank /dev/ad6 /dev/ad14
which completed with:
  scrub: resilver completed after 6h36m with 4 errors on Fri Apr  9 07:06:24 2010
However, status in that moment was showing for the two drives in question:
	replacing  ONLINE       0     0     0
	  ad6      ONLINE       0     0     0
	  ad14     ONLINE       0     0     0  371G resilvered

Rebooting didn't help, not did
 zfs export tank 
followed by
 zfs import -f tank,
both with and then without ad6 connected.

Now, without ad6 connected:
 # zpool status -v
  pool: tank
 state: DEGRADED
status: One or more devices has experienced an error resulting in data
        corruption.  Applications may be affected.
action: Restore the file in question if possible.  Otherwise restore the
        entire pool from backup.
   see: http://www.sun.com/msg/ZFS-8000-8A
 scrub: none requested
config:

        NAME                       STATE     READ WRITE CKSUM
        tank                       DEGRADED     0     0     0
          raidz1                   DEGRADED     0     0     0
            ad10                   ONLINE       0     0     0
            replacing              DEGRADED     0     0     0
              1729652906707038827  UNAVAIL      0 1.34M     0  was /dev/ad6
              ad14                 ONLINE       0     0     0
            ad8                    ONLINE       0     0     0
            ad12                   ONLINE       0     0     0

errors: Permanent errors have been detected in the following files:

        /tank/usr/home/some/file1
        tank/usr/home:<0xb846>
        /tank/usr/home/some/file3
        /tank/usr/home/some/file4


What should I do next?


Thanks,                                                                       

-- 
IOnut - Un^d^dregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"
FreeBSD committer -> itetcu at FreeBSD.org, PGP Key ID 057E9F8B493A297B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20100503/309ad610/signature.pgp


More information about the freebsd-fs mailing list