zfs drive replacement issues

Wes Morgan morganw at chemikals.org
Sun May 16 21:24:00 UTC 2010


On Sun, 16 May 2010, Todd Wasson wrote:

> >>> Strange, you should be able to cancel the replacement with detach. There
> >>> is some kind of DTL issue preventing it. I don't know what it is
> >>> precisely, but there are known cases where legitimate detach operations
> >>> are prevented.
> >>>
> >>> Try reconnecting the disk you partitioned, leaving the original ad6 still
> >>> attached, and you should be able to detach the new one.
> >>
> >> The problem with that is that I can't have any more than four SATA
> >> devices in my machine.  I'd have to detach one of the other (good)
> >> devices in order to do that.  Is that feasible / possible?  I would
> >> think at that point I would have only two of the four drives in the pool
> >> and it wouldn't function at all, but if that's not the case I can give
> >> it a try...
> >
> > I wouldn't recommend that. What about attaching it externally, via eSATA
> > or USB?
>
> Unfortunately, my machine doesn't support eSATA and I don't have a USB
> to SATA adapter.  I can pick one up if it'll help me solve this, though,
> but one related issue: will the device be identified as the device that
> used to be on ad6 (or ad6s1) once it's attached via another means, like
> a USB adapter?  I suspect it will (or that I can issue a command to tell
> the zpool about it, anyway) but I thought I'd double check...

Via USB, it will show up as a daX device, and it should be recognized
without problem by zfs. You may need to export and import the pool,
though.


More information about the freebsd-fs mailing list