Re: [zfs-discuss] Does the zpool cache file affect import?

2011-08-30 Thread Garrett D'Amore
On 08/30/2011 04:59 AM, Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D. wrote: IMHO, you need to know how to recover the Zpool if the data/metadata get corrupt due to import by two hosts may be things are improved for zfs recently. you design cluster by certain rules, hope that all SA(not just you) will

[zfs-discuss] Does the zpool cache file affect import?

2011-08-29 Thread Gary Mills
I have a system with ZFS root that imports another zpool from a start method. It uses a separate cache file for this zpool, like this: if [ -f $CCACHE ] then echo Importing $CPOOL with cache $CCACHE zpool import -o cachefile=$CCACHE -c $CCACHE $CPOOL

Re: [zfs-discuss] Does the zpool cache file affect import?

2011-08-29 Thread LaoTsao
Q? are you intent to import this zpool to different host? Sent from my iPad Hung-Sheng Tsao ( LaoTsao) Ph.D On Aug 29, 2011, at 14:13, Gary Mills mi...@cc.umanitoba.ca wrote: I have a system with ZFS root that imports another zpool from a start method. It uses a separate cache file for this

Re: [zfs-discuss] Does the zpool cache file affect import?

2011-08-29 Thread Richard Elling
Hi Gary, We use this method to implement NexentaStor HA-Cluster and, IIRC, Solaris Cluster uses shared cachefiles, too. More below... On Aug 29, 2011, at 11:13 AM, Gary Mills wrote: I have a system with ZFS root that imports another zpool from a start method. It uses a separate cache file