[OpenIndiana-discuss] export pool at shutdown and import at boot up

Bill Sommerfeld sommerfeld at alum.mit.edu
Tue May 28 00:53:38 UTC 2013


On 05/27/13 17:25, Edward Ned Harvey (openindiana) wrote:
> I have some external storage which isn't super reliable.  If I don't
> export it before shutdown, it will often cause the boot to fail, as
> it doesn't mount properly.
>
> I would like to make that pool automatically export during shutdown,
> or somehow flag it so the system will never try to import or mount it
> during bootup.  ... is there a better way, like
> setting some sort of pool property, or sticking a flag in some
> defaults file, or tweaking the zfs cache file or something?

See the -c cachefile option to zpool import and the "cachefile" pool 
property; pools that aren't listed in the default system pool cache file 
aren't auto-imported at boot time.







More information about the OpenIndiana-discuss mailing list