Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 May 2010 19:48:58 +0300
From:      Ion-Mihai Tetcu <itetcu@FreeBSD.org>
To:        freebsd-fs@FreeBSD.org
Subject:   ZFS: old drive still in use after zfs replace
Message-ID:  <20100503194858.1cfaa3f9@it.buh.tecnik93.com>

next in thread | raw e-mail | index | archive | help
--Sig_/jmmr8z2E+jxWsD9impDX8+=
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi,


I have a zpool over 4 disks. Since after a scrub ad6 showed some errors,
I did a=20
  zpool replace tank /dev/ad6 /dev/ad14
which completed with:
  scrub: resilver completed after 6h36m with 4 errors on Fri Apr  9 07:06:2=
4 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=20
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,                                                                    =
  =20

--=20
IOnut - Un^d^dregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"
FreeBSD committer -> itetcu@FreeBSD.org, PGP Key ID 057E9F8B493A297B

--Sig_/jmmr8z2E+jxWsD9impDX8+=
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAkve/noACgkQJ7GIuiH/oeXXKgCeObNZvvnKsmdb0S7s5lFFdEjE
jtEAoKaO8JSre2LtaV0xXr7UZTZXicnf
=Moj0
-----END PGP SIGNATURE-----

--Sig_/jmmr8z2E+jxWsD9impDX8+=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100503194858.1cfaa3f9>