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

2011-08-30 Thread Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D.
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 follow your rules, otherwise some SA may just import zpool that

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

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

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

2011-08-29 Thread Gary Mills
On Mon, Aug 29, 2011 at 07:56:16PM -0400, LaoTsao wrote: Q? are you intent to import this zpool to different host? Yes, it can be imported on another server. That part works when it has been exported cleanly first. I was concerned about a possible import failure when the original server lost

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

2011-08-29 Thread Gary Mills
On Mon, Aug 29, 2011 at 05:24:18PM -0700, Richard Elling wrote: We use this method to implement NexentaStor HA-Cluster and, IIRC, Solaris Cluster uses shared cachefiles, too. More below... Mine's a cluster too, with quite a simple design. On Aug 29, 2011, at 11:13 AM, Gary Mills wrote: I