磁盘exportvg后,无法importvg
本帖最后由 kv3000beta 于 2011-02-14 10:34 编辑
hdisk2 00cf7efa6825d0a3 ftpvg active
hdisk11 00cf7efa6825d0a3 ftpvg active
vpath0 00cf7efa6825d0a3 ftpvg active
#lsvpcfg
vpath0 (Avail pv ftpvg) 75TD1912100 = hdisk2 (Avail pv ftpvg) hdisk11 (Avail pv
ftpvg)
正常HDISK2和11应该没有PVID和VG名的,怎么去除掉?
#datapath query device
Total Devices : 6
DEV#: 0 DEVICE NAME: vpath0 TYPE: 2107900 POLICY: Optimized
SERIAL: 75TE1912100
==========================================================================
Path# Adapter/Hard Disk State Mode Select Errors
0 fscsi0/hdisk2 CLOSE NORMAL 115 0
1 fscsi0/hdisk11 CLOSE_DEAD NORMAL 37 0
而且链路的状态也不对,都是CLOSE状态,实际上读写数据还正常
**************************************************************************************************
PVID的问题解决了
hdisk2 00cf7efa6825d0a3 ftpvg none
hdisk11 00cf7efa6825d0a3 ftpvg none
vpath0 00cf7efa6825d0a3 ftpvg none
又有新问题了,系统重启后,VG无法varyon,报0516-013 varyonvg: The volume group cannot be varied on because there are no good copies of the descriptor area.
随后做exportvg,再importvg操作,报
importvg -y ftpvg vpath0
0516-024 lqueryvg: Unable to open physical volume.
Either PV was not configured or could not be opened. Run
diagnostics.
0516-024 lqueryvg: Unable to open physical volume.
Either PV was not configured or could not be opened. Run
diagnostics.
0516-1140 importvg: Unable to read the volume group descriptor area
on specified physical volume.
该如何操作处理呢?
附SDDlog内容
02:09:52 Get_ReservKey32: Failed. vpath0, i=1, status_val=0x1, bus_status=0x18,
adapter_status=0x0
02:09:52 vpath_open: Get_ReservKey failed for vpath0 path 0. rc=5 a[0].inv=1
02:09:52 Get_ReservKey32: key=0x6 code=0x29 qua=0x0
02:09:52 Get_ReservKey32: Failed. vpath0, i=1, status_val=0x1, bus_status=0x18,
adapter_status=0x0
02:09:52 vpath_open: Get_ReservKey failed for vpath0 path 1. rc=5 a[0].inv=2
02:09:52 Get_ReservKey32: key=0x6 code=0x29 qua=0x0
02:09:52 Get_ReservKey32: Failed. vpath0, i=1, status_val=0x1, bus_status=0x18,
adapter_status=0x0
02:09:52 vpath_open: Get_ReservKey failed for vpath0 path 2. rc=5 a[1].inv=1
02:09:52 Get_ReservKey32: key=0x6 code=0x29 qua=0x0
02:09:52 Get_ReservKey32: Failed. vpath0, i=1, status_val=0x1, bus_status=0x18,
adapter_status=0x0
02:09:52 vpath_open: Get_ReservKey failed for vpath0 path 3. rc=5 a[1].inv=2
02:09:52 vpath_close: vpath0, device not in open state, devno=0x2b0000
02:09:52 Get_ReservKey32: key=0x6 code=0x29 qua=0x0
02:09:52 Get_ReservKey32: Failed. vpath0, i=1, status_val=0x1, bus_status=0x18,
adapter_status=0x0
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
新划了个VPATH5,与VPATH0为同一阵列,VPATH5可以创建新VG,链路应该没有问题。
又用alt_disk_install -COB hdiskx 重新做了个系统,然后用该硬盘引导,VPATH0、VPATH5都能识别,对VPATH5做importvg操作,一切正常;对VPATH0做importvg 依然
报0516-024 lqueryvg: Unable to open physical volume.
Either PV was not configured or could not be opened. Run
diagnostics.
0516-024 lqueryvg: Unable to open physical volume.
Either PV was not configured or could not be opened. Run
diagnostics.
0516-1140 importvg: Unable to read the volume group descriptor area
on specified physical volume.
怀疑VPATH0上VGDA信息有问题,有什么好办法吗?
PVID,我记得好像是删光纤卡、DPO,插拔光纤线,然后重启之后就正常。没用chdev -l hdiskN -a pv=clear这个命令
不知道你hdisk的PVID是如何解决的。正常来讲只有VPATH设备有PVID才对,如果对应的HDISK也有PVID,用dpovgfix ftpvg去掉HDISK的PVID,然后import试试吧
顶一下