lvcreate -n mrdata3_4g_400 -L 4096 /dev/datavg3
.
.
.
lvcreate -n mrdata3_4g_535 -L 4096 /dev/datavg3
在A机上
Vgdisplay –v datavg3
vgchange –a n /dev/datavg3
vgexport –v –p –s –m /tmp/map5 /dev/datavg3
rcp /tmp/map5 B:/tmp/map5
在B上
mkdir /dev/datavg3
mknod /dev/datavg3/group c 64 0x070000
vgimport –v –s –m /tmp/map5 /dev/datavg3
查看 strings /etc/lvmtab
Vgchange –a y /dev/datavg3
Vgdisplay –v datavg3
Vgchange –a n /dev/datavg3
5.改变B机 DISK的顺序
vgreduce /dev/datavg3 /dev/dsk/c12t0d6 同时自动修改lvmtab
vgreduce /dev/datavg3 /dev/dsk/c14t0d6
vgreduce /dev/datavg3 /dev/dsk/c12t0d7
vgreduce /dev/datavg3 /dev/dsk/c14t0d7
vgextend /dev/datavg3 /dev/dsk/c12t0d6同时自动修改lvmtab
vgextend /dev/datavg3 /dev/dsk/c14t0d6
vgextend /dev/datavg3 /dev/dsk/c12t0d7
vgextend /dev/datavg3 /dev/dsk/c14t0d7
vgdisplay –v datavg3查看
这样AB机流量就可以分流了。9.For EVA3k and EVA5k pvlinks are not supported and you can't use it because controllers are working in active/passive mode for LUN. LUN is visible only by one controller and you need SecurePath software to switch to alternate controller (for linux Qlogic driver has failover mechanism build-in).
EVA4k/6k/8k has active/active controllers and there is no need to use SecurePath but you can work with PVLinks look at:
"Operating Systems, Cluster and High Availability Compatibility"http://h18006.www1.hp.com/products/quickspecs/12234_div/12234_div.htmlSince December 2005, the new version of VCS code 4.001 on EVA3000/5000 are now working Active-active like EVA4K/6K/8K. So, PVLINKS are supported with VCS 4.001(http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c00586983)