hp-rp2405磁阵无法激活

系统宕机后,无法识别磁阵

# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 2 0/0/1/0.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 305
/dev/dsk/c0t2d0 /dev/rdsk/c0t2d0
disk 0 0/0/1/1.15.0 sdisk CLAIMED DEVICE HP 36.4GST336753LC
/dev/dsk/c1t15d0 /dev/rdsk/c1t15d0
disk 1 0/0/2/1.15.0 sdisk CLAIMED DEVICE HP 36.4GST336753LC
/dev/dsk/c3t15d0 /dev/rdsk/c3t15d0
disk 3 0/4/0/0.8.0.255.0.0.0 sdisk CLAIMED DEVICE HP 36.4GST336753FC
/dev/dsk/c4t0d0 /dev/rdsk/c4t0d0
disk 4 0/4/0/0.8.0.255.0.1.0 sdisk CLAIMED DEVICE HP 36.4GST336752FC
/dev/dsk/c4t1d0 /dev/rdsk/c4t1d0
disk 5 0/4/0/0.8.0.255.0.2.0 sdisk CLAIMED DEVICE HP 36.4GST336752FC
/dev/dsk/c4t2d0 /dev/rdsk/c4t2d0
disk 6 0/4/0/0.8.0.255.0.3.0 sdisk CLAIMED DEVICE HP 36.4GST336752FC
/dev/dsk/c4t3d0 /dev/rdsk/c4t3d0
disk 7 0/4/0/0.8.0.255.0.4.0 sdisk CLAIMED DEVICE HP 36.4GST336752FC
/dev/dsk/c4t4d0 /dev/rdsk/c4t4d0
disk 8 0/4/0/0.8.0.255.0.5.0 sdisk CLAIMED DEVICE HP 36.4GST336752FC
/dev/dsk/c4t5d0 /dev/rdsk/c4t5d0
You have mail in /var/mail/root
# diskinfo /dev/rdsk/c4t3d0
SCSI describe of /dev/rdsk/c4t3d0:
vendor: HP 36.4G
product id: ST336752FC
type: direct access
size: 0 Kbytes
bytes per sector: 0
# vgchange -a y -q n /dev/vgsybase
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c4t3d0":
Device busy
vgchange: Device busy
vgchange: Activation mode requested for the volume group "/dev/vgsybase" conflicts with configured mode.
vgchange: Warning: couldn't query physical volume "/dev/dsk/c4t3d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c4t4d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query all of the physical volumes.
#


The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query all of the physical volumes.
pvdisplay: Couldn't retrieve the names of the physical volumes
belonging to volume group "/dev/vgsybase".
pvdisplay: Cannot display physical volume "/dev/dsk/c4t5d0".
# vgcfgrestore -n /dev/vgsybase /dev/rdsk/c4t0d0
Volume Group configuration has been restored to /dev/rdsk/c4t0d0
# vgcfgrestore -n /dev/vgsybase /dev/rdsk/c4t1d0
Volume Group configuration has been restored to /dev/rdsk/c4t1d0
# vgcfgrestore -n /dev/vgsybase /dev/rdsk/c4t2d0
Volume Group configuration has been restored to /dev/rdsk/c4t2d0
# vgchange -a y /dev/vgsybase
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c4t3d0":
Device busy
vgchange: Device busy
vgchange: Activation mode requested for the volume group "/dev/vgsybase" conflicts with configured mode.
vgchange: Warning: couldn't query physical volume "/dev/dsk/c4t3d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c4t4d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query all of the physical volumes.
# vgchange -a y -q n /dev/vgsybase
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c4t3d0":
Device busy
vgchange: Device busy
vgchange: Activation mode requested for the volume group "/dev/vgsybase" conflicts with configured mode.
vgchange: Warning: couldn't query physical volume "/dev/dsk/c4t3d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c4t4d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query all of the physical volumes.

[@more@]

#cmruncl -n hspcs1 --启动双机软件后,将包停掉,因为包无法启动。

#cmviewcl

#vgdisplay vgsybase

如果vg没有自动激活,继续执行下面命令:

#vgchange -a e -q n vgsybase --执行此命令后,激活巻组,但无法mount 文件系统,发现问题如下:

--- Logical volumes ---

LV Name /dev/vgsybase/sybdev6

VG Name /dev/vgsybase

LV Permission read/write

LV Status available/stale

......

--- Distribution of logical volume ---

PV Name LE on PV PE on PV

/dev/dsk/c4t1d0 1024 1024

--- Logical extents ---

LE PV1 PE1 Status 1 PV2 PE2 Status 2

00000 /dev/dsk/c4t1d0 04375 stale ??? 04375 current

00001 /dev/dsk/c4t1d0 04376 stale ??? 04376 current

00002 /dev/dsk/c4t1d0 04377 stale ??? 04377 current

丢失的PV的状态是current,当前PV c4t1d0的状态是stale,所以这个LV现在无法使用.

解决办法是用lvunstale工具把c4t1d0置位current,把丢失的PV置位stale.

步骤:

把附件中的lvunstale工具用二进制模式ftp上传到/tmp目录下,然后执行以下命令:

#cd /tmp

#chmod 744 lvunstale

#./lvunstale /dev/vgsybase/sybdev6

其它LV如果有相同问题也同样操作.-操作完成后,lv识别正常。业务恢复正常。

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/23493047/viewspace-1060614/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/23493047/viewspace-1060614/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值