Difference between revisions of "LVM Mirror Volume Group"

From UNIX Systems Administration
Jump to: navigation, search
Line 1: Line 1:
 
== Mirror Volume Group Automatically ==
 
== Mirror Volume Group Automatically ==
# <tt>'''# mirrorvg -S <volume group> <physical volume>'''</tt>
+
# <tt>'''# mirrorvg -S <vg_name> <hdisk#>'''</tt>
# <tt>'''# syncvg -v <volume group>'''</tt>
+
# <tt>'''# syncvg -v <vg_name>'''</tt>
  
 
== Mirror Volume Group Manually ==
 
== Mirror Volume Group Manually ==
# <tt>'''# mklvcopy
+
# <tt>'''# mklvcopy <lv_name> <#copies> <hdisk# ...>'''</tt> Repeat for each logical volume except the sysdump type.
 +
# <tt>'''# syncvg -v <vg_name>'''</tt>

Revision as of 18:23, 4 January 2012

Mirror Volume Group Automatically

  1. # mirrorvg -S <vg_name> <hdisk#>
  2. # syncvg -v <vg_name>

Mirror Volume Group Manually

  1. # mklvcopy <lv_name> <#copies> <hdisk# ...> Repeat for each logical volume except the sysdump type.
  2. # syncvg -v <vg_name>