- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cannot activate vg after recover from make recover...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2004 09:49 PM
06-14-2004 09:49 PM
I just recovered a system using a make recovery tape. The make recovery tape was quite old.
Upon boot up the volume group vg01 and vg02 could not be activated
I tried to activate vg01 using sam and the error message is
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c1t5d0":
Cross-device link
vgchange: Warning: couldn't query physical volume "/dev/dsk/c1t5d0": The specified path does not correspond to physical volume attached to this volume group
vgchange: Couldn't query the list of physical volumes.
vgchange: Couldn't activate volume group "vg01":
Quorum not present, or some physical volume(s) are missing.
Some addition info about my system
# ioscan -funCdisk
Class I H/W Path Driver S/W State H/W Type Description
===========================================================================
disk 0 8/0/1/0.5.0 sdisk CLAIMED DEVICE SEAGATE ST39175LW
/dev/dsk/c0t5d0 /dev/rdsk/c0t5d0
disk 2 8/16/5.5.0 sdisk CLAIMED DEVICE QUANTUM FIREBALL-ST2
/dev/dsk/c1t5d0 /dev/rdsk/c1t5d0
disk 3 8/16/5.6.0 sdisk CLAIMED DEVICE SEAGATE ST32151N
/dev/dsk/c1t6d0 /dev/rdsk/c1t6d0
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2004 10:10 PM
06-14-2004 10:10 PM
Re: Cannot activate vg after recover from make recovery
may be that /etc/lvmtab is old and it doesn't correspond with the current configuration.
Try to launch:
# mv /etc/lvmtab /etc/lvmtab.old
# vgscan -v
HTH.
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2004 10:47 PM
06-14-2004 10:47 PM
Re: Cannot activate vg after recover from make recovery
By default ignite takes only VG00 backup.So you need to import the the other VGs by running a vgscan as fabio told.
try the following
#mv /etc/lvmtab /etc/lvmtab.old
#vgscan -av
This will give you an ouput telling which disks are having LVM tructures in that
#mkdir /dev/vg01
#cd /dev/vg01
#mknod group c 64 0x010000
#vgimport /dev/vg01 /dev/dsk/c*t*d*
HTH
Siju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2004 11:17 PM
06-14-2004 11:17 PM
Re: Cannot activate vg after recover from make recovery
#strings /etc/lvmtab
and see if your vg01 and vg02 are in there with the proper disk devices .
If the disk devices are different than what you see in ioscan then , you need to rebuidl your lvmtab as explained above.
If the VG's are not listed at all , then you need to import them and can be easily done through sam again .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2004 11:34 PM
06-14-2004 11:34 PM
Re: Cannot activate vg after recover from make recovery
by default make_tape_recovery copies only vg00, have you included vg01 and vg02?
if so check the disk c1t5d0(physiacl connections, diskinfo and dd commands).
If you have included in vg01 and vg02 in recovery tape and if the disk is fine then you can import the vg01 and vg02
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2004 11:39 PM
06-14-2004 11:39 PM
Re: Cannot activate vg after recover from make recovery
I already have the directory vg01 and vg02, should I delete them first?
# mv lvmtab lvmtab.old
# vgscan -av
Creating "/etc/lvmtab".
/dev/vg00
/dev/dsk/c1t6d0
The Volume Group /dev/vg01/group was not matched with any Physical Volumes.
The Volume Group /dev/vg02/group was not matched with any Physical Volumes.
Scan of Physical Volumes Complete.
# ls /dev/vg*
/dev/vg00:
group lvol2 lvol4 lvol6 lvol8 rlvol2 rlvol4 rlvol6 rlvol8
lvol1 lvol3 lvol5 lvol7 rlvol1 rlvol3 rlvol5 rlvol7
/dev/vg01:
group lvol1 rlvol1
/dev/vg02:
group lvol1 rlvol1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 12:09 AM
06-15-2004 12:09 AM
Re: Cannot activate vg after recover from make recovery
just follow these steps to recover the missing Volume Groups:
1) Import missing VG's:
# vgimport -v /dev/vg## /dev/dsk/disk /dev/dsk/disk
2) Activate the VG's:
# vgchange -a y /dev/vg##
to avoid this from happening in the future:
1) Install the latest verion of Ignite UX. The make_recovery command
has been enhanced and now backs up the Volume Groups configuration depending on
a vgdisplay. Thus more recent versions will backup Volume Group
configurations even if the logical volumes do not contain any filesystems.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 12:24 AM
06-15-2004 12:24 AM
Re: Cannot activate vg after recover from make recovery
Doesn't seem to work. Please see the pvdisplay at the bottom, I think it is abnormal. I have performed a dd comand on the disk and there is no problem.
# vgimport -v /dev/vg01 /dev/dsk/c1t5d0
Creating "/etc/lvmtab".
Beginning the import process on Volume Group "/dev/vg01".
vgimport: Warning: Volume Group contains "0" PVs, "1" specified. Continuing.
vgimport: Quorum not present, or some physical volume(s) are missing.
Volume group "/dev/vg01" has been successfully created.
Warning: A backup of this volume group may not exist on this machine.
Please remember to take a backup using the vgcfgbackup command after activating the volume group.
# vgchange -a y dev/vg01
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c1t5d0":
Cross-device link
vgchange: Warning: couldn't query physical volume "/dev/dsk/c1t5d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query all of the physical volumes.
vgchange: Couldn't activate volume group "dev/vg01":
Quorum not present, or some physical volume(s) are missing.
# pvdisplay /dev/dsk/c1t5d0
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c1t5d0":
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/vg01".
pvdisplay: Cannot display physical volume "/dev/dsk/c1t5d0".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 12:36 AM
06-15-2004 12:36 AM
Solutionif u read the following Technical KB:
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000070865398
check under /etc/lvmconf/ if vg01.conf and vg02.conf r still available, then
# vgcfgrestore -n /dev/vg01 /dev/rdsk/c#t#d#
if this fails, pray that u have a backup data somewhere to restore your vg01 and vg02 back.
by the way, u should ready upgrade Ignite-UX and use make_tape_recovery command, the following download at:
http://www.software.hp.com/products/IUX/download.html
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 12:54 AM
06-15-2004 12:54 AM
Re: Cannot activate vg after recover from make recovery
problem solved
I guess I should just use vgcfgrestore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 12:51 PM
06-15-2004 12:51 PM
Re: Cannot activate vg after recover from make recovery
hope that your vg01 and vg02 is mounted and running. please remember to use make_tape_recovery command from the latest Ignite UX download.
regards.
(p.s. glad to help a fellow Singaporean in time of his/her needs.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 01:44 PM
06-15-2004 01:44 PM
Re: Cannot activate vg after recover from make recovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2004 01:04 AM
06-16-2004 01:04 AM
Re: Cannot activate vg after recover from make recovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2004 12:26 PM
06-16-2004 12:26 PM
Re: Cannot activate vg after recover from make recovery
How should we use the map files to prevent a similiar situation (eg different disk setup when doing a recovery when compared to the setup done during make_recovery)