aix如何创建磁盘镜像(副本)?

来源:百度知道 编辑:UC知道 时间:2024/05/26 12:31:08
我用的是5.3版本的aix
逻辑卷名是lvolfs 现在所在的物理卷是hdisk0
现在我要为lvolfs做副本,做到hdisk1和hdisk2物理卷上(每个物理卷有一个副本),应该打什么命令?
mklvcopy lvolfs 2(1) hdisk1 hdisk2
copies是添1还是2呢?
还有用smit命令怎么做,好像做副本只用给你选一个物理卷的。

mklvcopy lvolfs 3 hdisk1 hdisk2
怎么可能是1,参数是指镜像后的拷贝数,如果是1表示LP:PP之比还是1:1
用SMITTY命令多选或者手工添加,试一下不就知道了

/usr/sbin/mklvcopy lvolfs 2 hdisk0 hdisk3

smitty lv
Set Characteristic of a Logical Volume
Add a Copy to a Logical Volume
* LOGICAL VOLUME name lvolfs
* NEW TOTAL number of logical partition copies 2
PHYSICAL VOLUME names [hdisk1 hdisk2]
SYNCHRONIZE the data in the new logical partition copies? yes