- 论坛徽章:
- 0
|
SUN 880主机调试
——2003年9月
1、 安装
详细安装步骤比较简单,不再叙述(别忘了打补丁哦!!),这里只列出分区情况:
0 / 60000 60G
1 swap 8192 8.1G
2
3 10 为disksuite4.2.1作mirror数据库用
4 100 作rootdg,安装vxvm时使用
5
6
7
2、 安装任务:
◇ 根盘镜像
◇ SWAP镜像
◇ 盘阵磁盘组的建立
◇ VERITAS VOLUME MANAGER3.2的安装(不用我说了吧)
◇ DISKSUITE4.2.1的安装(不用我说了吧)
3、 安装步骤
1) 镜像前的准备
把被镜像盘的分区情况复制到镜像盘,在本处是将引导磁盘c1t0d0s2的分区情况复制到C1T1D0S2(不会用format的朋友做镜像时最好用它),命令如下:
#prtvtoc /dev/rdsk/c1t0d0s2 | fmthard –s – /dev/rdsk/c1t0d0s2
2)作根盘镜像
metadb –a –f –c 2 c1t0d0s3 c1t1d0s3
metainit –f d11 1 1 c1t0d0s0
metainit –f d12 1 1 c1t1d0s0
metainit –f d10 –m d11
metaroot d10
lockfs -af
init 6
metattach d10 d12
3)作swap镜像
metainit –f d21 1 1 c1t0d0s1
metainit –f d22 1 1 c1t1d0s1
metainit –f d20 –m d21
metattach d20 d22
然后修改vfstab文件,即:
/dev/dsk/c1t0d0s1 - - swap - no -
应改为:/dev/md/dsk/d1 - - swap - no -
4)veritas volume manager 3.2
#pkgadd –d /cdrom/cdrom0/pkgs VRTSlic VRTSvxvm VRTSvmsa
按提示完成安装
5)建立rootdg磁盘组
# vxconfigd –m disable
# vxdctl init
# vxdctl init rootdg
# vxdg init rootdg
# vxdisk –f init c1t0d0s4 type=simple
# vxdg –g rootdg adddsik disk01=c1t0d0s4
# vxdctl add disk c1t0d0s4 c1t0d0s4 type=simple
# vxdctl enable
# rm /etc/reconfig.d/state.d/install-db
# reboot
重新启动后可以正常进入vmsa图形界面!
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/10718/showart_82805.html |
|