Torrey McMahon wrote:
 On 8/4/2010 2:36 PM, George Wilson wrote:
Nicolas Williams wrote:
Can two hosts import the same pool read-only?  What happens if one host
imports a pool read-only, then later another imports it read-write?
"Don't do that"?

Nico

Yes, you can import this on two hosts read-only. If one host later import it read-write then the read-only host may see stale data since it won't know to invalidate any cached data. This would fall into the "Don't do that" category.

Is there any way to warn the admin doing this at the time of import? "Hey, this pool is already opened read-write on host XYZ. You probably don't want to do this ...."

There is already an existing warning mechanism with ZFS to handle this. The administrator would have had to use the '-f' option to override this check.

- George
_______________________________________________
opensolaris-arc mailing list
opensolaris-arc@opensolaris.org

Reply via email to