[OpenIndiana-discuss] in desperate need of fsck.zfs

Ray Arachelian ray at arachelian.com
Wed Jul 25 11:38:33 UTC 2012


On 07/25/2012 02:45 AM, Jim Klimov wrote:
>
> If your pool gets imported upon system startup, and can't be
> exported nor accessed, Ray might want to remove the zfs-pool
> reference file /etc/zfs/zpool.cache, so only rpool gets imported
> upon boot. Then, to prevent adding the problematic pool from
> getting added into the cache file, always use something like:
>   zpool import -R / (other params) poolname-or-GUID
>
> The -R part quickly sets the flag to not use a cachefile.
>
This was EXACTLY the fix.  :)  I came to this idea independently when I
saw the output of zdb mentioned "cached info"
root at harvest:/var/crash/harvest/2012.07.23# more zdb-data

*Cached configuration:
*        version: 28
        name: 'data'
        state: 0

And then remembered that there was something in /etc/zfs that Solaris 10
had.


More information about the OpenIndiana-discuss mailing list