OpenSolaris

Printable Version Enter a New Search
Bug ID 6710718
Synopsis Multi-import protection in ZFS
State 3-Accepted (Yes, that is a problem)
Category:Subcategory kernel:zfs
Keywords bopmail-exception
Responsible Engineer Ricardo M Correia
Reported Against snv_89 , snv_106
Duplicate Of
Introduced In
Commit to Fix
Fixed In
Release Fixed
Related Bugs 6716241 , 6720531 , 6723511 , 6792304
Submit Date 4-June-2008
Last Update Date 28-August-2009
Description
Currently, ZFS has very rudimentary protection against 2 different nodes having the same pool imported at the same time based on checking the import status and the host id. This information is written to the vdev label when importing or exporting a pool.

However, this can be easily overriden by an inexperienced user and does not provide any protection when doing failover. If 2 different nodes manage to have the same pool imported at the same time, the result could be catastrophic corruption.

A safer and more reliable implementation would use other algorithms to provide this protection, one of which could consist in using a low-overhead heartbeat mechanism.
Work Around
N/A
Comments
N/A