Operating System - HP-UX
1752802 Members
5021 Online
108789 Solutions
New Discussion

Re: unable to activate VG

 
SoorajCleris
Honored Contributor

Re: unable to activate VG

you have run a wrong command

vgcfgrestore -n /dev/vg00 /dev/rdsk/c2t1d0

===> WRONGGGGGGGGGGGG


vgcfgrestore -n /dev/vg08 /dev/rdsk/c2t1d0

CORRECT VG NAMW
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
Rohit Bakale
New Member

Re: unable to activate VG

# pvdisplay /dev/dsk/c2t1d0
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t1d0":
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/vg08".
pvdisplay: Cannot display physical volume "/dev/dsk/c2t1d0".
# vgcfgrestore -n /dev/vg08 -l
Volume Group Configuration information in "/etc/lvmconf/vg08.conf"
VG Name /dev/vg08
---- Physical volumes : 1 ----
/dev/rdsk/c2t1d0 (Non-bootable)
# vgcfgrestore -n /dev/vg08 /dev/rdsk/c2t1d0
vgcfgrestore: "/dev/vg08/group": not a character device.
Volume Group configuration has been restored to /dev/rdsk/c2t1d0