免费注册 查看新帖 |

Chinaunix

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

VG简单问题求助!!!!!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-12-05 13:42 |只看该作者 |倒序浏览
有个vg01卷组 .下面有个lovl1卷.

重启后 # vgdisplay -v vg01
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "vg01".


执行:
# vgchange -c n /dev/vg01
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c1t5d0":
Cross-device link
vgchange: Could not attach to volume group "/dev/vg01" all of
its physical volumes.
vgchange: Warning: couldn't query physical volume "/dev/dsk/c1t5d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query all of the physical volumes.
# vgdisplay -v vg01
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "vg01".


ioscan -fnCdisk 能看到硬盘.



请问这是怎么回事? 哪里的问题? 激活不了卷组了

论坛徽章:
0
2 [报告]
发表于 2005-12-05 17:17 |只看该作者
激活卷组的参数是 -a
例如:vgchange -a y vg01(激活)
    Or:vgchange -a n vg01(关闭)

论坛徽章:
0
3 [报告]
发表于 2005-12-05 17:27 |只看该作者
#vgchange -q n -a y vg01
#vgdisplay vg01

论坛徽章:
0
4 [报告]
发表于 2005-12-05 20:00 |只看该作者
请提供
iostat -funC disk
strings /etc/lvmtab
命令的结果。


如果是双机环境,那么请把两台主机上的相关信息都提供出来。

论坛徽章:
0
5 [报告]
发表于 2005-12-05 20:40 |只看该作者
使用ioscan -fnC disk查看相应的磁盘设备是否处于claimed的状态,如果不是,则是硬件的错误。查看硬件连接、磁盘阵列等等。

论坛徽章:
0
6 [报告]
发表于 2005-12-06 08:29 |只看该作者
#vgchange -q n -a y vg01
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c1t5d0":
Cross-device link
vgchange: Warning: couldn't query physical volume "/dev/dsk/c1t5d0":
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: Couldn't activate volume group "vg01":
Quorum not present, or some physical volume(s) are missing.

========================
#ioscan -fnCdisk
disk      1  8/16/5.5.0  sdisk       CLAIMED   DEVICE    SEAGATE ST39175LW
                        /dev/dsk/c1t5d0   /dev/rdsk/c1t5d0

==========================
#strings /etc/lvmtab
/dev/vg00
/dev/dsk/c1t6d0
/dev/vgoa
/dev/dsk/c0t0d0
/dev/dsk/c0t8d0
/dev/vg01
/dev/dsk/c1t5d0

=====================
没有双机
vgchange -a y vg01 也是上面的提示.


大家狠热心.谢谢. 还要提供什么?

[ 本帖最后由 红烧排骨 于 2005-12-6 08:33 编辑 ]

论坛徽章:
0
7 [报告]
发表于 2005-12-06 09:13 |只看该作者
如果盘头meta data不一致,需要做vgcfgrestore

论坛徽章:
0
8 [报告]
发表于 2005-12-06 09:17 |只看该作者

一点小意见

vgchange -a y /dev/vg

论坛徽章:
0
9 [报告]
发表于 2005-12-06 09:24 |只看该作者
原帖由 wdbj 于 2005-12-6 09:13 发表
如果盘头meta data不一致,需要做vgcfgrestore


这是什么意思? 看不懂阿.怎么看一致否?.怎么做vgcfgrestore

论坛徽章:
0
10 [报告]
发表于 2005-12-06 09:40 |只看该作者
原帖由 红烧排骨 于 2005-12-6 08:29 发表
#vgchange -q n -a y vg01
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c1t5d0":
Cross-device link
vgchange: Warning: couldn't query physic ...



diskinfo /dev/rdsk/c1t5d0
信息贴出来
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP