Solved Preventing automatic import of pool

Hi,

Is there a ZFS pool property that can prevent its automatic import?

I have a geli-backed mirror and when I manually attach the first provider, ZFS imports the pool (degraded, obviously). When I attach the second provider, ZFS re-silvers the pool.

Is there a toggle to prevent the automatic import? Or must I export the pool first?

Thanks.
 
Hi,

Is there a ZFS pool property that can prevent its automatic import?

I have a geli-backed mirror and when I manually attach the first provider, ZFS imports the pool (degraded, obviously). When I attach the second provider, ZFS re-silvers the pool.

Is there a toggle to prevent the automatic import? Or must I export the pool first?

Thanks.
Well the answer (from Allan Jude via BSDNow) is the use the cachefile property and set it to none.
 
Back
Top