[HP-UX] vgcfgrestore 恢復
和連結中遇到的很像 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.
[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部落格 ” ,連結:http://blog.itpub.net/24237320/viewspace-2125243/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【資料庫資料恢復】HP-UX系統ORACLE資料庫被誤刪除的資料恢復資料庫資料恢復UXOracle
- hp-ux 重灌OS後, 儲存上的 vg重新資料恢復UX資料恢復
- 恢復資料,資料塊恢復
- Oracle備份恢復之熱備份恢復及異機恢復Oracle
- 【備份與恢復】控制檔案的恢復(不完全恢復)
- 資料恢復:AMDU資料抽取恢復資料恢復
- postgreSQL 恢復至故障點 精準恢復SQL
- 使用恢復建議恢復資料庫資料庫
- 【備份恢復】資料恢復指導資料恢復
- Oracle例項恢復和介質恢復Oracle
- rman恢復方案和oracle異機恢復Oracle
- rman 恢復機制與恢復測試
- 【Mysql】完全恢復與不完全恢復MySql
- oracle實驗記錄 (恢復-完全恢復)Oracle
- oracle實驗記錄 (恢復-rman恢復)Oracle
- 控制檔案恢復—從快照中恢復
- 【管理篇備份恢復】rman恢復測試(二) 控制檔案恢復(三)
- 【管理篇備份恢復】rman恢復測試(二) 控制檔案恢復(二)
- 【管理篇備份恢復】rman恢復測試(二) 控制檔案恢復(一)
- MySQL 非常規恢復與物理備份恢復MySql
- SCN、Checkpoint、例項恢復介質恢復理解
- oracle冷備份、恢復和異機恢復Oracle
- rman恢復--丟失控制檔案的恢復
- oracle database 例項恢復和介質恢復OracleDatabase
- RMAN恢復 執行重要檔案RMAN恢復
- rman恢復 使用switch映像副本進行恢復
- 恢復之非歸檔模式下的恢復模式
- 備份與恢復(Parameter 檔案恢復篇)
- SeSparse資料恢復方案研究及恢復方法演示資料恢復
- 【備份恢復】 恢復重做日誌組成員
- 【恢復】Redo日誌檔案丟失的恢復
- 資料恢復-電腦管家檔案恢復工具資料恢復
- 【備份恢復】從備份恢復資料庫資料庫
- rman恢復資料檔案 恢復表空間
- 【管理篇備份恢復】備份恢復基礎
- oracle實驗記錄 (恢復-不完全恢復)Oracle
- 控制檔案恢復—從trace檔案中恢復
- NBU恢復oracleOracle