Chinaunix

标题: 紧急求助!vgscan -v 命令在双机中的备机上运行是否会导致错误? [打印本页]

作者: init_0    时间: 2007-06-14 18:28
标题: 紧急求助!vgscan -v 命令在双机中的备机上运行是否会导致错误?
今天不小心在一台HP双机中的备机上执行了 vgscan -v 命令,突然想起它可能会错误地重新配置lvmtab文件,请问现在应当如何处理,另外还有一台主机在运行,是否需要将这台未改动的机器中的VG导出然后加入备机中?vgscan -v 提示如下:

Following Physical Volumes belong to one Volume Group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c19t0d0
/dev/dsk/c14t0d0
/dev/dsk/c16t0d0
/dev/dsk/c20t0d0

Following Physical Volumes belong to one Volume Group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c19t0d2
/dev/dsk/c14t0d2
/dev/dsk/c16t0d2
/dev/dsk/c20t0d2

Following Physical Volumes belong to one Volume Group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c19t0d3
/dev/dsk/c14t0d3
/dev/dsk/c16t0d3
/dev/dsk/c20t0d3


/dev/vg11
/dev/dsk/c19t0d4
/dev/dsk/c19t0d5
/dev/dsk/c14t0d4
/dev/dsk/c14t0d5
/dev/dsk/c16t0d4
/dev/dsk/c16t0d5
/dev/dsk/c20t0d4
/dev/dsk/c20t0d5


The Volume Group /dev/oravg was not matched with any Physical Volumes.
The Volume Group /dev/datavg was not matched with any Physical Volumes.
The Volume Group /dev/lockvg was not matched with any Physical Volumes.
Scan of Physical Volumes Complete.
作者: sqmax    时间: 2007-06-15 08:37
没事,如果担心,你把SG切到这台机器上来,然后再执行一次VGSCAN
作者: init_0    时间: 2007-06-15 09:50
收到!谢谢sqmax的指点。

今天又研究了一把,发现确实没有问题,在lvmtab文件未损坏的情况下,vgscan 不会对lvmtab文件进行重建。




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2