[OpenIndiana-discuss] cleaning out stale entries in zpool cache

George Wilson george.wilson at delphix.com
Mon Oct 24 13:27:22 UTC 2011


Dan,

What is happening is that 'zpool import' is picking up the old zfs labels on each of those disks. One easy way to fix this is to run fdisk on each of the disks below and blow away the fdisk partition. You'll want to ensure that they are not really being used by anything else. 

Another option is to 'zpool create -f <some other pool> <disks below>' and then 'zpool destroy <some other pool>'.

Thanks,
George

On Oct 21, 2011, at 4:26 PM, Dan Swartzendruber wrote:

> So some time in the past, I had an issue with my tank pool.  Got it all
> squared away and everything is fine.  Except that 'zpool import' with no
> arguments says:
> 
> 
> 
> root at nas:/etc/zfs# zpool import
> 
>  pool: tank
> 
>    id: 2892264051913514813
> 
> state: FAULTED
> 
> status: The pool metadata is corrupted.
> 
> action: The pool cannot be imported due to damaged devices or data.
> 
> config:
> 
> 
> 
>        tank                         FAULTED  corrupted data
> 
>          raidz1-0                   ONLINE
> 
>            c0t50014EE204411A53d0p0  ONLINE
> 
>            c0t50014EE0ABCEE0A9d0    ONLINE
> 
>            c0t50014EE0AC01D8EDd0    ONLINE
> 
>            c0t50014EE2AEDF7498d0p0  ONLINE
> 
>            c0t50014EE2AEDF73CEd0    ONLINE
> 
> 
> 
> Is there a way to flush this old entry?  I guess it's harmless, but ...
> 
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss




More information about the OpenIndiana-discuss mailing list