Degraded zpool cannot detach old/bad drive

Artem Belevich fbsdlist at
Fri Oct 29 07:26:57 UTC 2010

On Thu, Oct 28, 2010 at 10:51 PM, Rumen Telbizov <telbizov at> wrote:
> Hi Artem, everyone,
> Thanks for your quick response. Unfortunately I already did try this
> approach.
> Applying -d /dev/gpt only limits the pool to the bare three remaining disks
> which turns
> pool completely unusable (no mfid devices). Maybe those labels are removed
> shortly
> they are being tried to be imported/accessed?

In one of the previous emails you've clearly listed many devices in
/dev/gpt and said that they've disappeared after pool import.
Did you do "zpool import -d /dev/gpt" while /dev/gpt entries were present?

> What I don't understand is what exactly makes those gpt labels disappear
> when the pool is imported and otherwise are just fine?!

This is the way GEOM works. If something (ZFS in this case) uses raw
device, derived GEOM entities disappear.

Try exporting the pool. Your /dev/gpt entries should be back. Now try
to import with -d option and see if it works.

You may try bringing the labels back the hard way by detaching raw
drive and then re-attaching it via the label, but resilvering one
drive at a time will take a while.


More information about the freebsd-stable mailing list