- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgimport without vgexport
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
тАО03-09-2004 01:12 PM
тАО03-09-2004 01:12 PM
vgimport without vgexport
Recently I upgraded my system from hpux 11i 32 bit to 64bit with cold installation. After cold installation I tried to import the Volume groups of my disk arry . I can't import it .
Please suggest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2004 01:20 PM
тАО03-09-2004 01:20 PM
Re: vgimport without vgexport
these need to be created before the command is executed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2004 01:21 PM
тАО03-09-2004 01:21 PM
Re: vgimport without vgexport
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2004 01:29 PM
тАО03-09-2004 01:29 PM
Re: vgimport without vgexport
I re-created /dev/vg03 and group file , when i tried to import or vgcfgrestore it gives the error /etc/lvmconf/vg03.conf not found
From SAM its not recognising the volume group.
Please suggest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2004 01:38 PM
тАО03-09-2004 01:38 PM
Re: vgimport without vgexport
Have you created the map file and kept a backup of the same.
With previous OS
# vgexport -m /tmp/vg03.txt /dev/vg03
If yes then you can use this map file "vg03.txt" for the vgimport.
Else, you need to create the vg03/group with the same minor number as earlier one then run the vgimport.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2004 01:58 PM
тАО03-09-2004 01:58 PM
Re: vgimport without vgexport
I didn't created any map file . I don't have the backup of /dev/vg03/group file . Is there a way to solve this ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2004 02:59 PM
тАО03-09-2004 02:59 PM
Re: vgimport without vgexport
I did the following steps to restore my old VG's.
Create a directory /dev/vgxx and a group file.
then did vgimport -v /dev/vgxx /dev/dsk/cxtxdx /dev/dsk/cytydy
it worked fine.
Then i did a vgcfgbackup for this vg.
If u hv changed the LV names then u will not get that.
regards
Radhakrishnan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2004 04:05 PM
тАО03-09-2004 04:05 PM
Re: vgimport without vgexport
Hi Radha Krishnan
I am getting the following out put
# vgimport -v /dev/vg03 /dev/dsk/c1t0d1 /dev/dsk/c4t1d1
Beginning the import process on Volume Group "/dev/vg03".
Volume group "/dev/vg03" is still active.
# vgcfgbackup /dev/vg03
vgcfgbackup: Couldn't access the list of physical volumes for volume group "/dev
/vg03".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2004 04:40 PM
тАО03-09-2004 04:40 PM
Re: vgimport without vgexport
Try this.
First create group file with unique vg-id.
Then run
vgimport -v /dev/vgxx /dev/dsk/cxtydz /dev/dsk/cxtydz
From your last post: If you get VG is still
active run.
vgchange -a n /dev/vgxx
vgimport -v /dev/vgxx /dev/dsk... ......
vgchnage -a y /dev/vgyy
You can also run vgscan to find out unconfigured
LVM disks in the system. Move the /etc/lvmtab to /etc/lvmtab.old then run
vgscan.
If you don't have map file you loose only
custom lv names (If it was there already).
TT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2004 05:05 PM
тАО03-09-2004 05:05 PM
Re: vgimport without vgexport
I am getting following information for vgscan
# vgscan -v
vgscan: The physical volume "/dev/dsk/c0t5d0" is already recorded in the "/etc/l
vmtab" file.
vgscan: The physical volume "/dev/dsk/c0t9d0" is already recorded in the "/etc/l
vmtab" file.
vgscan: The physical volume "/dev/dsk/c1t0d0" is already recorded in the "/etc/l
vmtab" file.
vgscan: The physical volume "/dev/dsk/c4t1d0" is already recorded in the "/etc/l
vmtab" file.
Current path "/dev/dsk/c4t1d0" is an alternate link, skip.
Physical Volume "/dev/dsk/c1t0d1" contains no LVM information
Physical Volume "/dev/dsk/c2t2d0" contains no LVM information
Physical Volume "/dev/dsk/c4t1d1" contains no LVM information
/dev/vg00
/dev/dsk/c0t5d0
/dev/dsk/c0t9d0
/dev/vgoracle
/dev/dsk/c1t0d0
/dev/dsk/c4t1d0
Scan of Physical Volumes Complete.
# vgchange -a n /dev/vg03
vgchange: Volume group "/dev/vg03" does not exist in the "/etc/lvmtab" file.