[HP-UX] vgchange -a e -q n vgxxx --執行此命令後,啟用巻組

tolilong發表於2016-09-12
遇到的問題,記錄下來.

[root@xxxxx016:/]# vgchange -a y vgxxx
May 21 22:57:26 - "xxxxx016": Activating volume group vgxxx with exclusive option.
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c5t5d7":
I/O error
vgchange: I/O error
vgchange: I/O error
vgchange: I/O error
vgchange: I/O error
vgchange: I/O error
vgchange: I/O error
vgchange: I/O error
vgchange: I/O error
vgchange: I/O error
vgchange: I/O error
vgchange: I/O error
vgchange: I/O error
vgchange: I/O error
vgchange: I/O error
vgchange: I/O error
vgchange: I/O error
vgchange: I/O error
vgchange: I/O error
vgchange: I/O error
vgchange: Activation mode requested for the volume group "/dev/vgxxx" conflicts with configured mode.
vgchange: Warning: couldn't query physical volume "/dev/dsk/c5t5d7":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c22t5d7":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c5t5d5":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c22t5d5":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c5t5d4":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c22t5d4":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c5t5d3":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c22t5d3":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c5t5d6":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c22t5d6":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c9t5d3":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c25t5d3":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c9t5d4":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c25t5d4":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c9t5d7":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c25t5d7":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c9t5d6":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c25t5d6":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c9t5d5":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c25t5d5":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query all of the physical volumes.
        ERROR:  Function activate_volume_group
        ERROR:  Failed to activate vgxxx
May 21 22:57:26 - Node "xxxxx016": Deactivating volume group vgxxx
vgchange: Volume group "vgxxx" has been successfully changed.
May 21 22:57:26 - Node "xxxxx016": Deactivating volume group vgxxx2
vgchange: Volume group "vgxxx2" has been successfully changed.
May 21 22:57:26 - Node "xxxxx016": Deactivating volume group /dev/vgxxx3
vgchange: Volume group "/dev/vgxxx3" has been successfully changed.
Quorum not present, or some physical volume(s) are missing.

[root@xxxxx016:/]# cmrunpkg -v -n xxxxx016 pkg_xxx
Running package pkg_xxx on node xxxxx016.
cmrunpkg  : Script failed with no restart: pkg_xxx should not be restarted.

[root@xxxxx016:/]# cmmodpkg -v -e -n xxxxx016 pkg_xxx       
Enabling node xxxxx016 for switching of package pkg_xxx.
cmmodpkg  : Warning: Node xxxxx016 is already able to run package pkg_xxx.
cmmodpkg  : Completed successfully on all packages specified.

[root@xxxxx016:/]# vgchange -a e -q n vgxxx            --執行此命令後,啟用巻組
Activated volume group in Exclusive Mode.
Volume group "vgxxx" has been successfully changed.

其中也報如下錯誤
        ERROR:  Function activate_volume_group
        ERROR:  Failed to activate /dev/vgX3PROD3
執行如下命令
[root@xxxxx016:/]# vgchange -c y vgxxx
vgchange: The volume group "/dev/vgxxx" is active on this system.
Cannot perform requested change.
[root@xxxxx016:/]#
[root@xxxxx016:/]# cmrunpkg    
usage: cmrunpkg [-v] [-n node_name] package_name...
[root@xxxxx016:/]# cmrunpkg -v -n xxxxx016 pkg_xxx
Running package pkg_xxx on node xxxxx016.
cmrunpkg  : Successfully started package pkg_xxx.
cmrunpkg  : Completed successfully on all packages specified.

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24237320/viewspace-2124862/,如需轉載,請註明出處,否則將追究法律責任。

相關文章