- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgexport and vgimport with different device name
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
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
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
тАО09-13-2004 06:50 AM
тАО09-13-2004 06:50 AM
vgexport and vgimport with different device name
We have common storage which eva3000 and using secure path. And there is only one lun defined. Since there is secure path, the rp5470 recognized the single luns from eva3000 as /dev/dsk/c5t1d0 while L2000 as /dev/dsk/c10t1d0. Could we successfully vgexport the rp5470 to L2000 even recognized it with different device name?if yes how could we do it?
Thanks in advance.
Adriatico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2004 06:54 AM
тАО09-13-2004 06:54 AM
Re: vgexport and vgimport with different device name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2004 07:04 AM
тАО09-13-2004 07:04 AM
Re: vgexport and vgimport with different device name
But since this is only one LUN, you can as well mention it in the command line
in rp5XXX
# vgexport -p -s -m /root/mapfile /dev/vgname
in L2000
# mkdir /dev/vgname
# mknod /dev/vgname/group c 64 0xYY0000
# vgimport -v -s -m /root/mapfile /dev/vgname
or
# vgimport -v -m /root/mapfile /dev/vgname /dev/dsk/c10t1d0
-- Sundar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2004 07:05 AM
тАО09-13-2004 07:05 AM
Re: vgexport and vgimport with different device name
I didnt get the question properly.
There is a vgchgid command which changes the VGID on given phyisal device disk. Then you can do a vgimport onto a different volume group the same physical disk device.
But do backup your data before doing the vgexport.
vgexport -s -p -m -v vg02.mymap /dev/vgXX -f /path/outfile
vgexport like above is in preview mode, you can take this created mapfile to other host and do a vgimport to create defination of your exisitng VG on other host.
Or
you can omit -p option and do a vgexport on existing volume group, change the VGID on Physical volume. and do a vgimport onto a different VG.
Let us know what exactly you want to do.
Thanks
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2004 07:14 AM
тАО09-13-2004 07:14 AM
Re: vgexport and vgimport with different device name
Adriatico: You can successfully vgimport (refer my post above) even if the device files are different.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2004 07:19 AM
тАО09-13-2004 07:19 AM
Re: vgexport and vgimport with different device name
Tom is correct as is Sundar.
IF You include the -s option in both your vgexport from the original box, and vgimport on the new box.
You dont need the disk device defined on import. The VGID of the disk will be read during the vgimport -s command, and the new host will "Find" the disk based on the mapfile you cp'd over to the new host.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2004 07:49 AM
тАО09-13-2004 07:49 AM
Re: vgexport and vgimport with different device name
Cheers
Rgdz
Prashant