免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5767 | 回复: 8
打印 上一主题 下一主题

一篇关于Itanium2 Mirror Root Disk文章!!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-11-13 16:33 |只看该作者 |倒序浏览
c3t2d0 be the existing primary disk and c3t1d0 the new mirror boot disk

1) Setup the disk partitions
Create a partition description file
# vi /tmp/partitionfile
2
EFI 100MB
HPUX 100%

Use idisk command to partition the disk according to this file
# idisk -wf /tmp/partitionfile /dev/rdsk/c3t1d0
idisk version: 1.2
********************** WARNING ***********************
If you continue you may destroy all data on this disk.
Do you wish to continue(yes/no)? yes
...

2) Create the new device files for the new partitions (c3t1d0s1 and c3t1d0s2)
# insf -e –Cdisk

3) Use mkboot to format the EFI partition (s1) and populate it with the EFI files below
/usr/lib/efi/ and to format the LIF volume (s2) and populate it with the LIF
files (ISL, AUTO, HPUX, LABEL) below /usr/lib/uxbootlf
# mkboot -e -l /dev/rdsk/c3t1d0 (e:EFI l:LIF)
# efi_ls -d /dev/rdsk/c3t1d0s1 (to check EFI)
File Name Last Modified Size
EFI/ 5/19/2003 0
STARTUP.NSH 5/19/2003 336
total space 103215616 bytes, free space 100076032 bytes
# lifls -l /dev/rdsk/c3t1d0s2 (to check LIF)

4) Write content of AUTO file to EFI partition:
# mkboot -a \"boot vmunix\" /dev/rdsk/c3t1d0
# efi_cp -d /dev/rdsk/c3t1d0s1 -u /EFI/HPUX/AUTO /tmp/x; cat /tmp/x
(to check it)
NOTE: Specify -a “boot vmunix -lq” if prefer that your system boots up without interruption
in case of a disk failure.

5) Initialize the LVM partition (s2) and add it to vg00
# pvcreate [-f] –B /dev/rdsk/c3t1d0s2
# vgextend vg00 /dev/dsk/c3t1d0s2
Mirror the LVs to the s2 partition
# for i in lvol1 lvol ... lvol8
>; do lvextend -m 1 /dev/vg00/$i /dev/dsk/c3t1d0s2
>; done
Write content of LABEL file, i.e. set root, boot, swap and dump device:
# lvlnboot -r /dev/vg00/lvol3
# lvlnboot -b /dev/vg00/lvol1
# lvlnboot -s /dev/vg00/lvol2
# lvlnboot -d /dev/vg00/lvol2
# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c3t2d0s2 (0/1/1/1.2.0) -- Boot Disk
/dev/dsk/c3t1d0s2 (0/1/1/0.1.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c3t2d0s2
/dev/dsk/c3t1d0s2
Root: lvol3 on: /dev/dsk/c3t2d0s2
/dev/dsk/c3t1d0s2
Swap: lvol2 on: /dev/dsk/c3t2d0s2
/dev/dsk/c3t1d0s2
Dump: lvol2 on: /dev/dsk/c3t2d0s2, 0

论坛徽章:
0
2 [报告]
发表于 2003-11-13 16:37 |只看该作者

一篇关于Itanium2 Mirror Root Disk文章!!!

4) Write content of AUTO file to EFI partition:
# mkboot -a \"boot vmunix\" /dev/rdsk/c3t1d0
# efi_cp -d /dev/rdsk/c3t1d0s1 -u /EFI/HPUX/AUTO /tmp/x; cat /tmp/x (to check it)

这部我没有看明白什么意思?我觉得只要将第一块盘的AUTO文件考过来就行了,然后再EFI-shell中直接增加启动选项就行了,不知这了/tmp/x是做什么的?讨论讨论!!!

论坛徽章:
0
3 [报告]
发表于 2003-11-13 17:11 |只看该作者

一篇关于Itanium2 Mirror Root Disk文章!!!

是HP-UX 11i v2吗?没用过。

论坛徽章:
0
4 [报告]
发表于 2004-04-29 10:49 |只看该作者

一篇关于Itanium2 Mirror Root Disk文章!!!

这里得/tmp/x文件只是查看一下AUTO文件得的内容,并没有其他意思

论坛徽章:
0
5 [报告]
发表于 2007-05-09 18:21 |只看该作者
boot vmunix -lq

中的-lq 是什么意思

论坛徽章:
0
6 [报告]
发表于 2007-05-09 22:01 |只看该作者
坏了一块也可以启动,不然要一半以上数目的磁盘都正常才能启动

论坛徽章:
0
7 [报告]
发表于 2008-11-07 17:03 |只看该作者
这篇是在安腾11.2上面的创建MIRROR的吧!11.3上的
vi /tmp/partitionfile
3
EFI 500MB
HPUX 100%
HPSP 400MB
,11、3上的应该就这步不一样

论坛徽章:
0
8 [报告]
发表于 2008-11-15 13:04 |只看该作者

re

好像不太对,安腾机器的硬盘分为3个区啊,最后一个HPSP好像是诊断工具的位置,这个还是不要少的好,另外,11.x都这样作的。

论坛徽章:
0
9 [报告]
发表于 2009-03-03 14:00 |只看该作者
Thanks!
Thanks!
Thanks!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP