我刚刚用vxrootmir 命令做了一个根盘镜像,这个命令自动将一块新盘加入rootdg组并自动mirror我boot盘上的系统卷(usr,var,boot.......),我试了一下用这块盘可以正常启动,这里以前这里的帖子做根盘镜像都是一个一个卷的mirror,所以我想请问这样做根盘镜像是否规范?如不规范那标准做法应该怎么做?
各位高手请尽管发言,谢谢
jogs 回复于:2003-06-18 15:42:12
顶
召唤高手
jogs 回复于:2003-06-18 16:40:54
:emn24:
再顶
高手帮忙啊
johnyou 回复于:2003-06-18 17:08:04
正常的。
jogs 回复于:2003-06-18 17:24:47
高手也太惜字如金了吧
blazewater 回复于:2003-06-18 19:22:23
vxrootmirr做的只是根文件系统的镜像;
其他的文件系统的镜像还得用vxassist命令做。
;)
你可以man vxrootmirr看一下
forgetit 回复于:2003-06-19 04:41:13
vxrootmir doesn't join the secondary boot disk into rootdg disk group and it only mirrors rootvol. The correct procedure to mirror your boot disk is:
1. install Veritas volume manager and license
2. vxinstall
3. choose "custom install"
4. answer yes to "encapsulate your boot disk" and supply rootdisk01 as your boot disk name
5. leave all the other disks alone
6. reboot your system
7. export PATH=$PATH:/etc/vx/bin
8. select a disk on a different controler as your secondary boot disk, for instance, c1t0d0
9. vxdisksetup -i c1t0d0
10. vxdg -g rootdg adddisk rootdisk02=c1t0d0
11. vxprint -hg rootdg | grep ^v and note down the volume names other than rootvol
12. nohup vxrootmir rootdisk02 &
13. nohup vxassist -g rootdg mirror volume_name rootdisk02 &
14. vxtask list to monitor the progress
15. eeprom | grep boot-device, normally it should be vx-rootdisk01 vx-rootdisk02
16. init 0
17. boot vx-rootdisk02 to verify
jogs 回复于:2003-06-19 09:31:16
再请教一个问题
我想取消mirror是不是只要删除mirror卷就可以了?
谢谢
forgetit 回复于:2003-06-19 12:43:07
If you want to break the mirror, you'll have to detach and deassociate the mirrored plexes, and then remove them. Below is the example of how to remove the second plex for rootvol:
| 论坛热门帖子: | [lch203] 写得蛮好的linux学习笔记(10-21) [黑马制造] 学习java的30个目标(10-19) [笑傲股林] 做测试半年了,有点迷茫,应该再学些什么提高自己的测试水平和测试能力呢?(10-19) [udp8589] 大家用google的来吱一声? 用百度的~~也来报道下?(10-18) [沂偌掳兆] 本人总结的一些认为C++比较经典的书籍,希望对大家有用(10-18) |
| TAG标签: | 讨论 回复 mirror 一个 可以 系统 jogs 镜象 plex 这里 |
注册
个人空间
