AIX:Mirror Write Consistency: Difference between revisions

From RoggeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
When mirror write consistency is active, LVM keeps additional information for recovery purposes. Mirror write consistency should be performed for most logical volumes. An exception is paging space, which does not use the existing date when the volumegroup is varied online.
When mirror write consistency is active, LVM keeps additional information for recovery purposes. Mirror write consistency should be performed for most logical volumes. An exception is paging space, which does not use the existing date when the volumegroup is varied online.


Tme MWC record consists of one sector and describes which logical partitions may be inconsistent if the system is not shutdown correctly. When the volumegroup is varied back online, this record is read to make the logical partitions consistent again.  
Tme MWC record chttp://10.0.0.10/mediawiki/index.php5?title=Mirror_Write_Consistency&action=editonsists of one sector and describes which logical partitions may be inconsistent if the system is not shutdown correctly. When the volumegroup is varied back online, this record is read to make the logical partitions consistent again.  


Since AIX5, a mirror write consistency option called Passive Mirror Write Consistency is available. Default is Active MWC. Active MWC offers fast recovery at reboot after a crash has occurred. This benefit comes at the expense of write performance degradation, particularly in the case of random writes. Disabling Active MWC eliminates this penalty, but upon reboot the syncvg -f command must be issued to manually synchronize the volume group before users can access the volumegroup. To achieve this, automatic vary-on of volumegroups must be disabled.
Since AIX5, a mirror write consistency option called Passive Mirror Write Consistency is available. Default is Active MWC. Active MWC offers fast recovery at reboot after a crash has occurred. This benefit comes at the expense of write performance degradation, particularly in the case of random writes. Disabling Active MWC eliminates this penalty, but upon reboot the syncvg -f command must be issued to manually synchronize the volume group before users can access the volumegroup. To achieve this, automatic vary-on of volumegroups must be disabled.


Eneabling Passive MWC not only eliminates the write-performance penalty associated with Active MWC, but logical volumes will be automatically resynced as the partitions are being accessed. This means that the administrator does not have to synchronize logica volumes maunally or disable automatic vary-on. Disadvantage of Passive MWC is that slower read operations may occur until all partitions have been resynced.
Enabling Passive MWC not only eliminates the write-performance penalty associated with Active MWC, but logical volumes will be automatically resynced as the partitions are being accessed. This means that the administrator does not have to synchronize logica volumes maunally or disable automatic vary-on. Disadvantage of Passive MWC is that slower read operations may occur until all partitions have been resynced.

Revision as of 10:23, 4 September 2010


LVM ensures data consistency among mirrored copies. For every write to a volume, LVM generates a write request for every mirror copy. A problem might arise if the system crashes before all copies are written.

When mirror write consistency is active, LVM keeps additional information for recovery purposes. Mirror write consistency should be performed for most logical volumes. An exception is paging space, which does not use the existing date when the volumegroup is varied online.

Tme MWC record chttp://10.0.0.10/mediawiki/index.php5?title=Mirror_Write_Consistency&action=editonsists of one sector and describes which logical partitions may be inconsistent if the system is not shutdown correctly. When the volumegroup is varied back online, this record is read to make the logical partitions consistent again.

Since AIX5, a mirror write consistency option called Passive Mirror Write Consistency is available. Default is Active MWC. Active MWC offers fast recovery at reboot after a crash has occurred. This benefit comes at the expense of write performance degradation, particularly in the case of random writes. Disabling Active MWC eliminates this penalty, but upon reboot the syncvg -f command must be issued to manually synchronize the volume group before users can access the volumegroup. To achieve this, automatic vary-on of volumegroups must be disabled.

Enabling Passive MWC not only eliminates the write-performance penalty associated with Active MWC, but logical volumes will be automatically resynced as the partitions are being accessed. This means that the administrator does not have to synchronize logica volumes maunally or disable automatic vary-on. Disadvantage of Passive MWC is that slower read operations may occur until all partitions have been resynced.