- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- pvlinks status after importing/exporting VG
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
02-21-2003 12:08 PM
02-21-2003 12:08 PM
#vgexport ???v -s ???m /tmp/vg03_map /dev/vg03
reboot
#vgimport ???v -s ???m /tmp/vg03_map /dev/vg03
Pvlinks?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2003 12:17 PM
02-21-2003 12:17 PM
SolutionWhen you used -s option, it will find out all the devices including PVlinks and import them into the volume group.
A suggestion however. Above will work just fine. But if you have many disks, then -s may take much longer. You might want to consider using -f option and grab the disks into a file.
vgexport -v -m /tmp/vg03.map -f /tmp/vg03.disks vg03
After the re-arragements, only the controller numbers will change. So edit vg03.disks file and globally replace the c# with the new ones. For ex., if c3 becamse c5 later, you can simply do :%s/c3/c5/g' in vi session. Once it is done, use import using -f option again.
vgimport -v -m /tmp/vg03.map -f /tmp/vg03.disks vg03.
I assume you would create the directory+group file etc.,
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2003 12:17 PM
02-21-2003 12:17 PM
Re: pvlinks status after importing/exporting VG
See man vgimport :
Since the -s option causes a search on the system for each disks with
the same vg_id. When vgimport reconstruct the newly imported volume
group entry in /etc/lvmtab file, the order of disks could be different
than it was before. And the following will happen:
The designated primary and alternate link might not be the same
as it was configured before.
Alternate links will be added to the importing volume group even
if they might not be configured in the volume group initially.
If the original primary path of a disks become an alternate path after
the newly imported volume group entry is created in /etc/lvmtab, the
order can be easily reverted by using vgreduce to remove the primary
path and then use vgextend to add the path back again.
So your pvlinks will be created, only the order in which the disks will be added to your VG might not be the order you like, therefore you can then re-arrange them using vgreduce and vgextend to your likings.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2003 12:20 PM
02-21-2003 12:20 PM
Re: pvlinks status after importing/exporting VG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2003 12:21 PM
02-21-2003 12:21 PM
Re: pvlinks status after importing/exporting VG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2003 12:30 PM
02-21-2003 12:30 PM
Re: pvlinks status after importing/exporting VG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2003 10:31 PM
02-23-2003 10:31 PM
Re: pvlinks status after importing/exporting VG
if you are using the -s option, you can have problems if you have BCV, or BC Luns on the storage. Then at the vgimport command, he will find double disks having the same pvid, and stop importing. Then you have to find out the disk devicefiles manualy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2003 10:33 PM
02-23-2003 10:33 PM
Re: pvlinks status after importing/exporting VG
if you are using the -s option, you can have problems if you have BCV, or BC Luns on the storage. Then at the vgimport command, he will find double disks having the same pvid, and stop importing. Then you have to find out the disk devicefiles manualy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2003 10:35 PM
02-23-2003 10:35 PM
Re: pvlinks status after importing/exporting VG
if you are using the -s option, you can have problems if you have BCV, or BC Luns on the storage. Then at the vgimport command, he will find double disks having the same pvid, and stop importing. Then you have to find out the disk devicefiles manualy