阅 读 文 章

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

[来源:网上转载 (http://www.chinaunix.net) | 作者:网友(cuixn) | 时间:2007-05-27 | 浏览:人次 ]


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
论坛热门帖子: [lch203] 写得蛮好的linux学习笔记(10-21)
[黑马制造] 学习java的30个目标(10-19)
[笑傲股林] 做测试半年了,有点迷茫,应该再学些什么提高自己的测试水平和测试能力呢?(10-19)
[udp8589] 大家用google的来吱一声? 用百度的~~也来报道下?(10-18)
[沂偌掳兆] 本人总结的一些认为C++比较经典的书籍,希望对大家有用(10-18)
TAG标签: 文章 关于 回复 /dev/dsk/c3t1d0s2 意思 AUTO 启动 文件

最新评论 共有0位网友发表了评论

发表评论

评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名:(注册)
密码:
验证码:
匿名发表

网站地图友情连接交流论坛网站投稿广告服务联系我们留言本站长统计
Some rights reserved: www.chmhome.com, 鄂ICP备07010232号 E-mail:chinakafei@live.com,QQ:552766
中国咖啡技术网(Chmhome):国外编程技术书籍,中文编程手册,经典编程文章,交流技术,技术软件下载,计算机论文,毕业论文.