- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to import a cloned LUN
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
04-01-2008 09:09 PM
04-01-2008 09:09 PM
how to import a cloned LUN
in EVA3000, i created a LUN1 and presented to server1 (HPUX 11.23), created vg01 and have file system on it.
clone LUN1 to LUN2 and presented it to server2 (HPUX 11.23).
Question: is there any procedure to import LUN2 to server2 with vg01
Regards,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2008 11:15 PM
04-01-2008 11:15 PM
Re: how to import a cloned LUN
How do you clone LUN1 to LUN2?
You could try this steps to export a mapfile of vg01 on the server1 to server 2:
on server1:
# vgexport -s -p -v -m vg01.mapfile
copy the file vg01.mapfile to server2, and then on the server2 run this:
# mkdir /dev/vg01
# mknod /dev/vg01 c 64 0x010000
# vgimport -s -v -m vg01.mapfile vg01
Regards,
Sandy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2008 11:49 PM
04-01-2008 11:49 PM
Re: how to import a cloned LUN
i clone it from EVA3000
when import the device file will be different.
what you going to do about it?
Thanks-Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2008 11:59 PM
04-01-2008 11:59 PM
Re: how to import a cloned LUN
I assume you are using CA or BCV. As long as the LVM header didn't change, the device changes wouldn't be an issue.
Regards,
Sandy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2008 01:20 AM
04-02-2008 01:20 AM
Re: how to import a cloned LUN
In a vgimport operation the fact that the device file is not the same as original one has no side effect : the -s option of the vgimport will track the VGID written in the mapfile on all visible LUNs.
But due to the fact that you have cloned the VG, it is a better pratice to change this VGID. For example you could have a cluster in the future and it does not support different VG having same VGID.
If you change VGID, the vgimport with -s option will not work. You should work as follow on server2, assuming your cloned LUN is seen as cXtYdZ :
# vgchgid /dev/rdsk/cXtYdZ
# mkdir /dev/vg01
# mknod /dev/vg01 c 64 0x010000
# vgimport -v -m vg01.mapfile vg01 /dev/dsk/cXtYdZ
# vgchange -a y vg01
Note : if you have several LUNs in one VG, vgchgid and vgimport commands must be executed on all LUNs in a single pass. For exemple :
# vgchgid /dev/rdsk/cXtYdZ /dev/rdsk/cAtBdC ...
# vgimport -v -m vg01.mapfile vg01 /dev/dsk/cXtYdZ /dev/dsk/cAtBdC ...
Regards
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2008 05:02 AM
04-02-2008 05:02 AM
Re: how to import a cloned LUN
my 2 cents:
"vg01" is just a name while you import this VG. You can even call it myfavouritevg or whatever, but it is a good practice to call them vg01 vg02 and so on and create a corresponding device number for it, e.g.
# mknod /dev/vg01 c 64 0x010000
# mknod /dev/vg02 c 64 0x020000
# mknod /dev/vg03 c 64 0x030000
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
