今天aix的实践:
case1:
今天 文件系统rename 的时候报错了,说已经存在:
原因是/etc/filesystem 里面有了:
解决方法:
vi /etc/filesystem
把那个filesystem name 去掉后,smit chfs 就可以了。
case 2:
今天打patch 的时候,报错:原来是emgr -l有fix被lock 住了,
smit emgr 把原来lock 的东西 remove 掉后,
smit update_all 就可以了。
Case3:
今天客户要在不要磁带的情况下 进行vg的迁移,
其实用tape 是很好的,不需要对 原来的系统varyoffvg
下面说说操作步骤;
1:把迁移disk 放到原来的系统做mirror:
cfgmgr
chdev -l hdisk4 -a pv=yes
smit extendvg 把hdisk4 加到原来的 vg : testvg 里。
下面开始做 mirror:
mirrorvg -m -c 2 testvg hdisk4
做好以后,varyoffvg testvg
reducevg testvg hdisk4
2: 下面到 新的server 上:
把刚才取下来的盘插上去,cfgmgr
smit importvg
报错: 说是没有current existed phsical disk
下面强行 import:
importvg -f -y testvg hdisk1