Chinaunix首页 | 论坛 | 博客
  • 博客访问: 268336
  • 博文数量: 107
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 74
  • 用 户 组: 普通用户
  • 注册时间: 2016-11-18 09:57
文章分类

全部博文(107)

文章存档

2023年(2)

2021年(1)

2017年(1)

2015年(4)

2014年(9)

2013年(4)

2012年(14)

2011年(49)

2010年(23)

分类:

2011-01-13 23:58:14

以下是创建/镜像的步骤,其中建立hpux -lq的两步容易被忽视:
 
pvcreate –f –B /dev/rdsk/c2t2d0
mkboot /dev/rdsk/c2t2d0
mkboot –a “hpux –lq(;0) /stand/vmunix” /dev/rdsk/c1t2d0
mkboot –a “hpux –lq(;0) /stand/vmunix” /dev/rdsk/c2t2d0

vgextend /dev/vg00 /dev/dsk/c2t2d0
lvextend –m 1 /dev/vg00/lvol1 /dev/dsk/c2t2d0
lvextend –m 1 /dev/vg00/lvol2 /dev/dsk/c2t2d0
lvextend –m 1 /dev/vg00/lvol3 /dev/dsk/c2t2d0
lvextend –m 1 /dev/vg00/lvol4 /dev/dsk/c2t2d0
lvextend –m 1 /dev/vg00/lvol5 /dev/dsk/c2t2d0
lvextend –m 1 /dev/vg00/lvol6 /dev/dsk/c2t2d0
lvextend –m 1 /dev/vg00/lvol7 /dev/dsk/c2t2d0
lvextend –m 1 /dev/vg00/lvol8 /dev/dsk/c2t2d0
lvlnboot –r /dev/vg00/lvol3
lvlnboot –s /dev/vg00/lvol2
lvlnboot –d /dev/vg00/lvol2
lvlnboot –b /dev/vg00/lvol1
lvlnboot –R
setboot –a 0/0/2/0.2.0
忽视了这两步,将导致的结果是如果一块盘坏了,另一块盘也无法启动。因为卷组发现如果大于等于50%的PV丢失时,vg quorum检查将失败。卷组无法激活,系统启动失败。
 
报错如下:
 
 
alloc_pdc_pages: Relocating PDC from 0xfffffff0f0c00000 to 0x3e900000.
DoCalllist done
Module btlan is put into ramfs:load time: driver_install, state: loaded
Module procsm is put into ramfs:load time: driver_install, state: loaded
Module c8xx is put into ramfs:load time: driver_install, state: loaded
Module cdfs is put into ramfs:load time: driver_install, state: auto
Module cfsmdr is put into ramfs:load time: driver_install, state: auto
Module cfsm is put into ramfs:load time: driver_install, state: auto
Module cifs is put into ramfs:load time: driver_install, state: auto
Module fcd is put into ramfs:load time: driver_install, state: loaded
Module td is put into ramfs:load time: driver_install, state: loaded
Module gelan is put into ramfs:load time: driver_install, state: loaded
Module iether is put into ramfs:load time: driver_install, state: loaded
Module igelan is put into ramfs:load time: driver_install, state: loaded
Module ciss is put into ramfs:load time: driver_install, state: loaded
Module mpt is put into ramfs:load time: driver_install, state: loaded
gate64: sysvec_vaddr = 0xc0002000 for 2 pages
Memory Class Setup
-------------------------------------------------------------------------
Class     Physmem              Lockmem              Swapmem
-------------------------------------------------------------------------
System :  3894 MB              3894 MB              3894 MB            
Kernel :  3893 MB              3893 MB              3893 MB            
User   :  3712 MB              3291 MB              3304 MB            
-------------------------------------------------------------------------
Starting ktracer 0 1
Installing Socket Protocol families AF_INET and AF_INET6
Kernel EVM initialized
sec_init(): kernel RPC authentication/security initialization.
secgss_init():  kernel RPCSEC_GSS security initialization.
rpc_init(): kernel RPC initialization.
rpcmod_install(): kernel RPC STREAMS module "rpcmod" installation. ...(driver_install)
NOTICE: nfs_client_pv3_install(): nfs3 File system was registered at index 11.
NOTICE: nfs_client_pv4_install(): nfs4 File system was registered at index 12.
NOTICE: cachefsc_install: cachefs File system was registered at index 14.
    System Console is on the Built-In Serial Interface
igelan0: INITIALIZING HP A6825-60101 PCI 1000Base-T Adapter at hardware path 0/1/2/0
AF_INET socket/streams output daemon running, pid 32
afinet_prelink: module installed
Starting the STREAMS daemons-phase 1
LVM : Failure in attaching PV (0/1/1/0.0.0) to the root volume group.
error no : 61
LVM: VG 64 0x000000: Quorum check failed!
LVM : Activation of root volume group failed
Quorum not present, or some physical volume(s) are missing
LVM: Scanning for Root VG PVs (VGID 0xf8821a7f 0x4d0b43df)
LVM: Rootvgscan detected 1 PV(s).  Will attempt root VG activation using
        the following PV(s):
        0x1000000
LVM: WARNING: BDRA lists the number of PV(s) for the root VG as 2,
        but rootvgscan found only 1.  Proceeding with root VG activation.
 
 
解决办法是启动系统时进入PDC->boot->ISL->Y->hpux -lq启动。这样可以避免vg做quorum检查。这样才能被激活。
 
如果进入单用户模式,可以用vgchange -a y -q n vg00来激活卷组。然后init 3启动系统。
 
 
 
 
 
 
 
 
 
 
 
 
 
阅读(2083) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2011-03-09 09:36:09

很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com