- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Recover old Volume Group
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
Discussions
Discussions
Forums
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
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
тАО11-27-2008 05:10 AM
тАО11-27-2008 05:10 AM
2 disks in my system. One volume group, one in each disk. I reinstalled OS using only the disk 1.
How can I recover my old volume group (with its logical volumes) still existing in the disk 2?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2008 05:18 AM
тАО11-27-2008 05:18 AM
Re: Recover old Volume Group
Hi Tonatiuh,
I thing this is not possible,becuase if u r going to add a new disk,it will be automatically formated,
so you are not able to recover the VG.
Regards,
Unixguy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2008 05:21 AM
тАО11-27-2008 05:21 AM
Re: Recover old Volume Group
And even if you recover your VG, you will need a backup to restore the data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2008 05:22 AM
тАО11-27-2008 05:22 AM
Re: Recover old Volume Group
You have 2 options, import the vg with the names of the lvols or with the default name lvols
with name of lvols:
Do you still have a map from the vg?
or a cfg2html, somewhere where you can look at the names of the lvols?
if you have you can import with:
vgimport -m vgmapfile /dev/vgname /dev/dsk/disk
if not you have to import:
vgimport /dev/vgname /dev/dsk/disk
and the names of the lvols will be lvol1,lvol2,etc
Just mount them to guess what where their names, and change then with a mv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2008 05:24 AM
тАО11-27-2008 05:24 AM
Re: Recover old Volume Group
2 disks in my system. One volume group, one in each disk. I reinstalled OS using only the disk 1.
It means you had to independent VG's, 1 in each disk, then it is posible to get your data from the disk that doesn't have the os
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2008 05:27 AM
тАО11-27-2008 05:27 AM
Re: Recover old Volume Group
Hi,
yes Orange adm is correct,
if u have a map file for that VG,
it will be going recover it.
use the below mentioned commands
#vgimport -s -p -m /tmp/vg01.map /dev/vg01
the above mentioned commands is going to recover a VG.
but if u don't have it's not possible to do it.
Regards,
Unixguy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2008 05:28 AM
тАО11-27-2008 05:28 AM
Re: Recover old Volume Group
You can recover the volume group with the help of vgimport command
Just issue the below commands.
#mkdir /dev/vgnew
#mknod /dev/vgnew/group c 64 0x030000
#vgimport /dev/vgnew
#vgimport /dev/vgnew /dev/dsk/c0t5d0
#vgchange -a y /dev/vgnew
#vgdisplay -v /dev/vgnew
It will list the available logical volumes
Mount the logical volumes and access the data.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2008 05:32 AM
тАО11-27-2008 05:32 AM
Re: Recover old Volume Group
Yes you can recover it using the map files, if exists.
After exporting/importing.
go for vgscan command.
there is possibilities to get the configurations back.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2008 06:58 AM
тАО11-27-2008 06:58 AM
Re: Recover old Volume Group
Any other idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2008 07:08 AM
тАО11-27-2008 07:08 AM
Re: Recover old Volume Group
Post the error you received when you try to import. That will help us to provide more solutions..
Other than vgimport, I don't think anyway you can import the data.
Ganesh.