ITPub博客

首页 > Linux操作系统 > Linux操作系统 > [HP-UX] vgcfgrestore 恢复

[HP-UX] vgcfgrestore 恢复

原创 Linux操作系统 作者:tolilong 时间:2016-09-20 22:17:16 0 删除 编辑
和链接中遇到的很像 http://blog.itpub.net/451222/viewspace-861737/

[root@xxxxx001:/]# vgchange -a y vgspace2
May 21 23:40:47 - "xxxxx001": Activating volume group vgspace2 with exclusive option.
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c8t1d0":
I/O error
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c8t1d1":
I/O error
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c8t1d2":
I/O error
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c25t1d0":
I/O error
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c25t1d1":
I/O error
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c25t1d2":
I/O error
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c4t1d2":
I/O error
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c29t1d2":
I/O error
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c4t1d1":
I/O error
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c29t1d1":
I/O error
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c4t1d0":
I/O error
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c29t1d0":
I/O error
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c32t1d6":
I/O error
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c33t1d6":
I/O error
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c32t1d7":
I/O error
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c33t1d7":
I/O error
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c32t2d3":
I/O error
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c33t2d3":
I/O error
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c32t2d4":
I/O error
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c33t2d4":
I/O error
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c31t1d6":
I/O error
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c34t1d6":
I/O error
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c31t1d7":
I/O error
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c34t1d7":
I/O error
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c31t2d3":
I/O error
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c34t2d3":
I/O error
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c31t2d4":
I/O error
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c34t2d4":
I/O error
vgchange: Activation mode requested for the volume group "/dev/vgspace2" conflicts with configured mode.
vgchange: Warning: couldn't query physical volume "/dev/dsk/c8t1d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c8t1d1":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c8t1d2":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c25t1d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c25t1d1":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c25t1d2":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c4t1d2":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c29t1d2":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c4t1d1":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c29t1d1":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c4t1d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c29t1d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c32t1d6":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c33t1d6":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c32t1d7":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c33t1d7":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c32t2d3":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c33t2d3":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c32t2d4":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c33t2d4":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c31t1d6":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c34t1d6":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c31t1d7":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c34t1d7":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c31t2d3":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c34t2d3":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c31t2d4":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c34t2d4":
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 vgspace2
May 21 23:40:48 - Node "xxxxx001": Deactivating volume group vgspace2
vgchange: Volume group "vgspace2" has been successfully changed.

[root@xxxxx001:/etc/lvmconf]# vgcfgrestore
Usage: vgcfgrestore
        [-R]
        [-F]
        { -n vgname |
         -f VGConfPath }
        { -l |
         {[-o OldPVPath] PVPath}}
OldPVPath and PVPath : character special files
More arguments required.
[root@xxxxx001:/etc/lvmconf]# vgcfgrestore -l -n vgspace2
Volume Group Configuration information in "/etc/lvmconf/vgspace2.conf"
VG Name /dev/vgspace2
 ---- Physical volumes : 28 ----
    /dev/rdsk/c8t1d0 (Non-bootable)
   /dev/rdsk/c25t1d0 (Non-bootable)
    /dev/rdsk/c8t1d1 (Non-bootable)
   /dev/rdsk/c25t1d1 (Non-bootable)
    /dev/rdsk/c8t1d2 (Non-bootable)
   /dev/rdsk/c25t1d2 (Non-bootable)
    /dev/rdsk/c4t1d2 (Non-bootable)
   /dev/rdsk/c29t1d2 (Non-bootable)
    /dev/rdsk/c4t1d1 (Non-bootable)
   /dev/rdsk/c29t1d1 (Non-bootable)
    /dev/rdsk/c4t1d0 (Non-bootable)
   /dev/rdsk/c29t1d0 (Non-bootable)
   /dev/rdsk/c32t1d6 (Non-bootable)
   /dev/rdsk/c33t1d6 (Non-bootable)
   /dev/rdsk/c32t1d7 (Non-bootable)
   /dev/rdsk/c33t1d7 (Non-bootable)
   /dev/rdsk/c32t2d3 (Non-bootable)
   /dev/rdsk/c33t2d3 (Non-bootable)
   /dev/rdsk/c32t2d4 (Non-bootable)
   /dev/rdsk/c33t2d4 (Non-bootable)
   /dev/rdsk/c31t1d6 (Non-bootable)
   /dev/rdsk/c34t1d6 (Non-bootable)
   /dev/rdsk/c31t1d7 (Non-bootable)
   /dev/rdsk/c34t1d7 (Non-bootable)
   /dev/rdsk/c31t2d3 (Non-bootable)
   /dev/rdsk/c34t2d3 (Non-bootable)
   /dev/rdsk/c31t2d4 (Non-bootable)
   /dev/rdsk/c34t2d4 (Non-bootable)
[root@xxxxx001:/etc/lvmconf]# vgcfgrestore -n vgspace2 /dev/rdsk/c33t1d6
Volume Group configuration has been restored to /dev/rdsk/c33t1d6
[root@xxxxx001:/etc/lvmconf]#
[root@xxxxx001:/etc/lvmconf]# vgcfgrestore -n vgspace2 /dev/rdsk/c34t2d4
Volume Group configuration has been restored to /dev/rdsk/c34t2d4
[root@xxxxx001:/etc/lvmconf]# vgcfgrestore -n vgspace2  /dev/rdsk/c31t2d4
Volume Group configuration has been restored to /dev/rdsk/c31t2d4
[root@xxxxx001:/etc/lvmconf]# vgcfgrestore -n vgspace2 /dev/rdsk/c34t2d3
Volume Group configuration has been restored to /dev/rdsk/c34t2d3
[root@xxxxx001:/etc/lvmconf]# vgcfgrestore -n vgspace2  /dev/rdsk/c31t2d3
Volume Group configuration has been restored to /dev/rdsk/c31t2d3
[root@xxxxx001:/etc/lvmconf]# vgcfgrestore -n vgspace2  /dev/rdsk/c34t1d7
Volume Group configuration has been restored to /dev/rdsk/c34t1d7
[root@xxxxx001:/etc/lvmconf]# vgcfgrestore -n vgspace2  /dev/rdsk/c31t1d7
Volume Group configuration has been restored to /dev/rdsk/c31t1d7
[root@xxxxx001:/etc/lvmconf]# vgcfgrestore -n vgspace2  /dev/rdsk/c34t1d6
Volume Group configuration has been restored to /dev/rdsk/c34t1d6
[root@xxxxx001:/etc/lvmconf]# vgcfgrestore -n vgspace2 /dev/rdsk/c31t1d6
Volume Group configuration has been restored to /dev/rdsk/c31t1d6
[root@xxxxx001:/etc/lvmconf]# vgcfgrestore -n vgspace2  /dev/rdsk/c33t2d4
Volume Group configuration has been restored to /dev/rdsk/c33t2d4
[root@xxxxx001:/etc/lvmconf]# vgcfgrestore -n vgspace2 /dev/rdsk/c32t2d4
Volume Group configuration has been restored to /dev/rdsk/c32t2d4
[root@xxxxx001:/etc/lvmconf]# vgcfgrestore -n vgspace2 /dev/rdsk/c33t2d3
Volume Group configuration has been restored to /dev/rdsk/c33t2d3
[root@xxxxx001:/etc/lvmconf]# vgcfgrestore -n vgspace2 /dev/rdsk/c32t2d3
Volume Group configuration has been restored to /dev/rdsk/c32t2d3
[root@xxxxx001:/etc/lvmconf]# vgcfgrestore -n vgspace2 /dev/rdsk/c33t1d7
Volume Group configuration has been restored to /dev/rdsk/c33t1d7
[root@xxxxx001:/etc/lvmconf]# vgcfgrestore -n vgspace2 /dev/rdsk/c32t1d7
Volume Group configuration has been restored to /dev/rdsk/c32t1d7
[root@xxxxx001:/etc/lvmconf]# vgcfgrestore -n vgspace2 /dev/rdsk/c33t1d6
Volume Group configuration has been restored to /dev/rdsk/c33t1d6
[root@xxxxx001:/etc/lvmconf]# vgcfgrestore -n vgspace2 /dev/rdsk/c32t1d6
Volume Group configuration has been restored to /dev/rdsk/c32t1d6
[root@xxxxx001:/etc/lvmconf]# vgcfgrestore -n vgspace2 /dev/rdsk/c29t1d0
Volume Group configuration has been restored to /dev/rdsk/c29t1d0
[root@xxxxx001:/etc/lvmconf]# vgcfgrestore -n vgspace2 /dev/rdsk/c4t1d0
Volume Group configuration has been restored to /dev/rdsk/c4t1d0
[root@xxxxx001:/etc/lvmconf]# vgcfgrestore -n vgspace2 /dev/rdsk/c29t1d1
Volume Group configuration has been restored to /dev/rdsk/c29t1d1
[root@xxxxx001:/etc/lvmconf]# vgcfgrestore -n vgspace2 /dev/rdsk/c4t1d1
Volume Group configuration has been restored to /dev/rdsk/c4t1d1
[root@xxxxx001:/etc/lvmconf]# vgcfgrestore -n vgspace2 /dev/rdsk/c29t1d2
Volume Group configuration has been restored to /dev/rdsk/c29t1d2
[root@xxxxx001:/etc/lvmconf]# vgcfgrestore -n vgspace2 /dev/rdsk/c4t1d2
Volume Group configuration has been restored to /dev/rdsk/c4t1d2
[root@xxxxx001:/etc/lvmconf]# vgcfgrestore -n vgspace2 /dev/rdsk/c25t1d2
Volume Group configuration has been restored to /dev/rdsk/c25t1d2
[root@xxxxx001:/etc/lvmconf]# vgcfgrestore -n vgspace2 /dev/rdsk/c8t1d2
Volume Group configuration has been restored to /dev/rdsk/c8t1d2
[root@xxxxx001:/etc/lvmconf]# vgcfgrestore -n vgspace2 /dev/rdsk/c25t1d1
Volume Group configuration has been restored to /dev/rdsk/c25t1d1
[root@xxxxx001:/etc/lvmconf]# vgcfgrestore -n vgspace2 /dev/rdsk/c8t1d1
Volume Group configuration has been restored to /dev/rdsk/c8t1d1
[root@xxxxx001:/etc/lvmconf]# vgcfgrestore -n vgspace2 /dev/rdsk/c25t1d0
Volume Group configuration has been restored to /dev/rdsk/c25t1d0
[root@xxxxx001:/etc/lvmconf]# vgcfgrestore -n vgspace2 /dev/rdsk/c8t1d0
Volume Group configuration has been restored to /dev/rdsk/c8t1d0
[root@xxxxx001:/etc/lvmconf]# vgchange -a y vgspace2
vgchange: Activation mode requested for the volume group "/dev/vgspace2" conflicts with configured mode.
[root@xxxxx001:/etc/lvmconf]#
[root@xxxxx001:/etc/lvmconf]# vgchange -c y vgspace2
Performed Configuration change.
Volume group "vgspace2" has been successfully changed.
[root@xxxxx001:/etc/lvmconf]#
[root@xxxxx001:/etc/lvmconf]# vgsync vgspace2
vgsync: Couldn't query logical volume "/dev/vgspace2/SPACEoradata":
Volume group not activated.

vgsync: Couldn't query the list of logical volumes.
vgsync: Couldn't access the list of logical volumes for volume group "vgspace2".
vgsync: Couldn't resynchronize volume group "vgspace2".
[root@xxxxx001:/etc/lvmconf]# vgchange -a y vgspace2
vgchange: Activation mode requested for the volume group "/dev/vgspace2" conflicts with configured mode.
[root@xxxxx001:/etc/lvmconf]#
[root@xxxxx001:/etc/lvmconf]#
[root@xxxxx001:/etc/lvmconf]#
[root@xxxxx001:/etc/lvmconf]# cmrunpkg -v -n xxxxx001 pkg_space5
Running package pkg_space5 on node xxxxx001.

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/24237320/viewspace-2125243/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2010-07-13

  • 博文量
    406
  • 访问量
    1208664