ZFS pool not working on boot

Axel bsd at acd.homelinux.org
Wed Sep 19 16:01:44 PDT 2007

Adam Jacob Muller <freebsd-current at adam.gs> writes:

> Hello,
> I have a server with two ZFS pools, one is an internal raid0 using 2
> drives connected via ahc. The other is an external storage array with
> 11 drives also using ahc, using raidz. (This is a dell 1650 and
> pv220s).
> On reboot, the pools do not come online on their own. Both pools
> consistently show as failed.
> the exact symptoms vary, however I have seen that many drives are
> marked as variously "corrupt" or "unavailable" most zpool operations
> fail with "pool is unavailable" errors.
> Here is the interesting part.
> Consistently, 100% of the time, a zpool export followed by a zpool
> import restores the arrays to an ONLINE status. Once the array is
> online, it's quite stable (I'm loving ZFS btw, thank you to everyone
> for the hard work on this, ZFS is fantastic) and works great.
> Anyone have any ideas why this might occur and what/if the solution is?
> Any additional information can be provided on-request, I am running
> current from approximately 1 week ago.
> -Adam

There is a file called /boot/zfs/zpool.cache that is kept in sync
and loaded at boot time.

If that's not there , e.g. by your /boot pointing to it , you're hosed.


More information about the freebsd-fs mailing list