Kristinn SoffanĂas RĂșnarsson
2011-Apr-29 02:41 UTC
[zfs-discuss] Can''t detach dev from 3-way mirror
Hi guys, I''ve been struggling with this for days.. I have a pool that''s full of 3-way mirrors backed by iscsi targets, I botched the machine (iscsi target) that handles 1/3 of the mirrors and now I''m trying to detach the devices which are UNAVAIL and nowehere to be found in /dev anymore :) ? ? ? ?archive ? ? ?DEGRADED ? ? 0 ? ? 0 ? ? 0 ? ? ? ? ?mirror-0 ? DEGRADED ? ? 0 ? ? 0 ? ? 0 ? ? ? ? ? ?c3t19d0 ?UNAVAIL ? ? ?0 ? ? 0 ? ? 0 ?cannot open ? ? ? ? ? ?c3t39d0 ?ONLINE ? ? ? 0 ? ? 0 ? ? 0 ? ? ? ? ? ?c3t51d0 ?ONLINE ? ? ? 0 ? ? 0 ? ? 0 ? ? ? ? ?mirror-1 ? DEGRADED ? ? 0 ? ? 0 ? ? 0 ? ? ? ? ? ?c3t24d0 ?UNAVAIL ? ? ?0 ? ? 0 ? ? 0 ?cannot open ? ? ? ? ? ?c3t40d0 ?ONLINE ? ? ? 0 ? ? 0 ? ? 0 ? ? ? ? ? ?c3t52d0 ?ONLINE ? ? ? 0 ? ? 0 ? ? 0 etc.. etc.. now try and remove the unavail drive: root at xarchive01:~# zpool detach archive c3t19d0 cannot detach c3t19d0: no such pool or dataset root at xarchive01:~# Doesn''t matter which UNAVAIL disk I try, (there are a few more) I always get the same error I''m running nv134 (Nexenta) SunOS xarchive01 5.11 NexentaOS_134f i86pc i386 i86pc Solaris # zpool get version archive NAME PROPERTY VALUE SOURCE archive version 26 default Thanks! :) soffi