免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: 红烧排骨
打印 上一主题 下一主题

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

论坛徽章:
0
11 [报告]
发表于 2005-12-06 10:58 |只看该作者
c#diskinfo /dev/rdsk/c1t5d0
SCSI describe of /dev/rdsk/c1t5d0:
             vendor: SEAGATE
         product id: ST39175LW
               type: direct access
               size: 8891556 Kbytes
   bytes per sector: 512

论坛徽章:
0
12 [报告]
发表于 2005-12-06 11:11 |只看该作者
vgcfgrestore -n vg01 /dev/rdsk/c1t5d0

论坛徽章:
0
13 [报告]
发表于 2005-12-06 11:36 |只看该作者
#vgcfgrestore -n vg01 /dev/rdsk/c1t5d0
Volume Group configuration has been restored to /dev/rdsk/c1t5d0


vgchange -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.

syds0071:/etc#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.


我还怎么做? 谢谢各位先

论坛徽章:
0
14 [报告]
发表于 2005-12-06 11:41 |只看该作者
把ioscan -fnC disk的整个结果贴上来,另外,pvdisplay /dev/dsk/c1t5d0的结果,

mv /etc/lvmtab /etc/lvmtab.bak
vgscan -v
strings /etc/lvmtab

论坛徽章:
0
15 [报告]
发表于 2005-12-06 11:46 |只看该作者
#vgexport -m /tmp/vg01.map -v /dev/vg01
#ll /dev/vg01/group
记下Group的数字就是0X0N0000
#vgexport /dev/vg01
#mkdir /dev/vg01
#mknod /dev/vg01/group 0x0N0000
N和之前的一样.
#vgimport -m /tmp/vg01.mpa /dev/vg01

论坛徽章:
0
16 [报告]
发表于 2005-12-06 11:49 |只看该作者
提供解决的方法:仅供参考

vgchange -a y /dev/vg01

vgrestore -R -n /dev/vg01 /dev/dsk/c1t5d0

vgsync /dev/vg01

论坛徽章:
0
17 [报告]
发表于 2005-12-06 12:01 |只看该作者
另外把ll /dev/dsk/c1t5d0和 ll /dev/rdsk/c1t5d0的结果贴上来

论坛徽章:
0
18 [报告]
发表于 2005-12-06 12:11 |只看该作者
模拟出来了,我把我的c9t0d0设备文件删了,做一个hard link 到其他任何一个硬盘,就会报同样的错。

hpa2001 #cd dev
hpa2001 #cd dsk
hpa2001 #ls -l c9t0d0
brw-r-----   1 bin        sys         31 0x090000 May 13  2004 c9t0d0
hpa2001 #rm c9t0d0
hpa2001 #ln c9t0d0 c7t1d0
ln: cannot access c9t0d0
hpa2001 #ln c7t1d0 c9t0d0
hpa2001 #ll c9t0d0
brw-r-----   2 bin        sys         31 0x071000 Feb 28  2005 c9t0d0
hpa2001 #ll c7t1d0
brw-r-----   2 bin        sys         31 0x071000 Feb 28  2005 c7t1d0
hpa2001 #vgchange -a y vg01
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c9t0d0":
Cross-device link
vgchange: Warning: couldn't query physical volume "/dev/dsk/c9t0d0":
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.

论坛徽章:
0
19 [报告]
发表于 2005-12-06 13:05 |只看该作者
招数各式各样阿.都安全不?
等我一个个弄.给你们结果哈

论坛徽章:
0
20 [报告]
发表于 2005-12-06 13:11 |只看该作者
dsk
brw-r-----   1 bin        sys         31 0x015000 Apr  1  1999 c1t5d0
rdsk
crw-r-----   1 bin        sys        188 0x015000 Dec  6 10:54 c1t5d0

:/dev/rdsk#pvdisplay /dev/dsk/c1t5d0
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c1t5d0":
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/vg01".
pvdisplay: Cannot display physical volume "/dev/dsk/c1t5d0".

#ioscan -fnC disk
Class     I  H/W Path    Driver      S/W State H/W Type  Description
=====================================================================
disk      3  8/4.0.0     sdisk       CLAIMED   DEVICE    SEAGATE ST336704LC
                        /dev/dsk/c0t0d0   /dev/rdsk/c0t0d0
disk      4  8/4.8.0     sdisk       CLAIMED   DEVICE    SEAGATE ST336704LC
                        /dev/dsk/c0t8d0   /dev/rdsk/c0t8d0
disk      0  8/16/5.2.0  sdisk       CLAIMED   DEVICE    TOSHIBA CD-ROM XM-5701TA
                        /dev/dsk/c1t2d0   /dev/rdsk/c1t2d0
disk      1  8/16/5.5.0  sdisk       CLAIMED   DEVICE    SEAGATE ST39175LW
                        /dev/dsk/c1t5d0   /dev/rdsk/c1t5d0
disk      2  8/16/5.6.0  sdisk       CLAIMED   DEVICE    SEAGATE ST34573N
                        /dev/dsk/c1t6d0   /dev/rdsk/c1t6d0



我的pv没了?

[ 本帖最后由 红烧排骨 于 2005-12-6 13:14 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP