ZFS: "Cannot replace a replacing drive"

Freddie Cash fjwcash at gmail.com
Fri Apr 30 21:03:44 UTC 2010


On Fri, Apr 30, 2010 at 1:51 PM, Wes Morgan <morganw at chemikals.org> wrote:

> On Thu, 29 Apr 2010, Freddie Cash wrote:
>  > On Thu, Apr 29, 2010 at 6:06 PM, Wes Morgan <morganw at chemikals.org>
> wrote:
> > > What happened to the drive to fault it?
> > >
> > > Am in the process of replacing 500 GB drives with 1.5 TB drives, to
> > increase the available storage space in the pool (process went flawlessly
> on
> > the other storage server).  First 3 disks in the vdev replaced without
> > issues.
> >
> > 4th disk turned out to be a dud.  Nothing but timeouts and read/write
> errors
> > during the replace.  So I popped it out, put in a different 1.5 TB drive,
> > glabel'd it with the same name ... and the pool went "boom".
> >
> > Now I'm stuck with a "label/disk04" device that can't be replaced, can't
> be
> > offlined, can't be detached.
> >
> > Tried exporting the pool, importing the pool, with and without the disk
> in
> > the system.  All kinds of variations on detach, online, offline, replace
> on
> > the old device, the new device, the UUIDs.
>
> Can you send the output of zpool history?


2010-04-07.12:21:25 zfs destroy storage/backup at 2009-11-12
2010-04-07.12:21:32 zfs destroy storage/backup at 2009-11-24
2010-04-07.12:21:39 zfs destroy storage/backup at 2009-11-25
2010-04-07.12:21:46 zfs destroy storage/backup at 2009-11-26
2010-04-07.12:21:57 zfs destroy storage/backup at 2009-11-30
2010-04-13.16:56:35 zpool replace storage label/disk01 label/disk01
2010-04-15.11:53:08 zpool offline storage label/disk02
2010-04-15.12:05:29 zpool replace storage label/disk02 label/disk02
2010-04-17.12:14:11 zpool offline storage label/disk03
2010-04-17.12:19:56 zpool replace storage label/disk03 label/disk03
2010-04-21.16:00:36 zpool offline storage label/disk04
2010-04-21.16:05:07 zpool replace storage label/disk04 label/disk04
2010-04-26.18:40:17 zpool scrub storage
2010-04-26.18:41:27 zpool clear storage
2010-04-26.18:49:58 zpool clear storage label/disk04/old
2010-04-26.18:50:05 zpool clear storage label/disk04
2010-04-26.18:50:33 zpool scrub -s storage
2010-04-26.18:50:45 zpool scrub storage
2010-04-28.08:41:58 zpool online storage label/disk04
2010-04-28.08:42:33 zpool online storage label/disk04/old
2010-04-28.08:49:27 zpool clear storage
2010-04-28.08:49:37 zpool online storage label/disk04
2010-04-28.08:54:49 zpool online storage label/disk04
2010-04-28.14:20:32 zpool export storage
2010-04-28.14:21:27 zpool import storage
2010-04-28.14:30:29 zpool export storage
2010-04-28.14:32:47 zpool import storage
2010-04-28.14:33:26 zpool export storage
2010-04-28.14:38:07 zpool import storage
2010-04-28.15:15:48 zpool upgrade storage

-- 
Freddie Cash
fjwcash at gmail.com


More information about the freebsd-fs mailing list