HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- lvm on Linux is driving me nuts (vgexport/vgimport...
Operating System - Linux
1831703
Members
2562
Online
110029
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-11-2008 06:26 AM
11-11-2008 06:26 AM
lvm on Linux is driving me nuts (vgexport/vgimport issue)
Good day,
Currently I am certifying Continuous Access scenario with LUNs from 2 sites on XP24000 raid arrays.
Node A is on site A and Node B on site B
LUNs from XP tour on site A is visible to Node A and B as for the LUNs from XP tour on site B is visible only for Node B.
+--------------+ +-----------------+
| Node A | | Node B |
| |<--CA--->| |
| A: 00:01 | | A: 00:01 |
| | | B: 01:01 |
+--------------+ +-----------------+
Where A represents Site A Tour and B, Site B Tour.
We use this type of configuration in case of disaster (loosing Site A) and all of our horcm instances runs on Node B (which controls the CA).
LUNs are mirrored.
I noticed on Linux that the vg is visible on node B even if it's local to Node A.
I noticed also that lvm on Linux is quite mininal with just a few options (HP-UX in that matters offers much more flexibility).
On Node A, the device is /dev/dm-8 and the mirrored LUN on Node B is /dev/dm-12
We are using multipath.
vgexport -p -m vgNAME.map vgNAME (Node A)
vgimport -m vgNAME.map /dev/dm-12 (Node B)
-m and -p (and many other nice options are not part of lvm under Linux).
vgchange --deltag NodeA
vgchange -a n NodeA
vgexport vgNAME
Just vgexport vgNAME on node A seems to work
So, of course, I cannot import the vg on node B
vgimport vgNAME on Node B fails.... of course
ltsap11:/hq/systprod_nfs/rds/scripts/data # vgimport vgTEST
WARNING: Ignoring duplicate config node: activation (seeking activation)
WARNING: Ignoring duplicate config node: activation (seeking activation/reserved_stack)
WARNING: Ignoring duplicate config node: activation (seeking activation/reserved_memory)
WARNING: Ignoring duplicate config node: activation (seeking activation/process_priority)
Found duplicate PV oJQv95YG5sGle9SnW1wSsaDiZ2QEsmpn: using /dev/dm-8 not /dev/dm-12
Volume group "vgTEST" is exported
What I am trying to do is it possible to do it under Linux ????
What would be the workarounds ?
Thanks in advance for your help
Regards,
Currently I am certifying Continuous Access scenario with LUNs from 2 sites on XP24000 raid arrays.
Node A is on site A and Node B on site B
LUNs from XP tour on site A is visible to Node A and B as for the LUNs from XP tour on site B is visible only for Node B.
+--------------+ +-----------------+
| Node A | | Node B |
| |<--CA--->| |
| A: 00:01 | | A: 00:01 |
| | | B: 01:01 |
+--------------+ +-----------------+
Where A represents Site A Tour and B, Site B Tour.
We use this type of configuration in case of disaster (loosing Site A) and all of our horcm instances runs on Node B (which controls the CA).
LUNs are mirrored.
I noticed on Linux that the vg is visible on node B even if it's local to Node A.
I noticed also that lvm on Linux is quite mininal with just a few options (HP-UX in that matters offers much more flexibility).
On Node A, the device is /dev/dm-8 and the mirrored LUN on Node B is /dev/dm-12
We are using multipath.
vgexport -p -m vgNAME.map vgNAME (Node A)
vgimport -m vgNAME.map /dev/dm-12 (Node B)
-m and -p (and many other nice options are not part of lvm under Linux).
vgchange --deltag NodeA
vgchange -a n NodeA
vgexport vgNAME
Just vgexport vgNAME on node A seems to work
So, of course, I cannot import the vg on node B
vgimport vgNAME on Node B fails.... of course
ltsap11:/hq/systprod_nfs/rds/scripts/data # vgimport vgTEST
WARNING: Ignoring duplicate config node: activation (seeking activation)
WARNING: Ignoring duplicate config node: activation (seeking activation/reserved_stack)
WARNING: Ignoring duplicate config node: activation (seeking activation/reserved_memory)
WARNING: Ignoring duplicate config node: activation (seeking activation/process_priority)
Found duplicate PV oJQv95YG5sGle9SnW1wSsaDiZ2QEsmpn: using /dev/dm-8 not /dev/dm-12
Volume group "vgTEST" is exported
What I am trying to do is it possible to do it under Linux ????
What would be the workarounds ?
Thanks in advance for your help
Regards,
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2008 10:19 AM
11-11-2008 10:19 AM
Re: lvm on Linux is driving me nuts (vgexport/vgimport issue)
There are some things that I don't understand in your description.
>>> LUNs are mirrored
Normally, every LUN mapped from an XP storage belogs to a raid group. ¿Is this what are you talking about? ¿That the LDEV is a mirror?
>>> LUNs from XP tour on site A is visible to Node A and B as for the LUNs from XP tour on site B is visible only for Node B.
>>> all of our horcm instances runs on Node B
¿How can your control your horcm instances if all instances runs on Node B and Node B only sees LUNs from site B.?
>>> I noticed on Linux that the vg is visible on node B even if it's local to Node A.
In a correct configuration, that should not be possible.
>>> LUNs are mirrored
Normally, every LUN mapped from an XP storage belogs to a raid group. ¿Is this what are you talking about? ¿That the LDEV is a mirror?
>>> LUNs from XP tour on site A is visible to Node A and B as for the LUNs from XP tour on site B is visible only for Node B.
>>> all of our horcm instances runs on Node B
¿How can your control your horcm instances if all instances runs on Node B and Node B only sees LUNs from site B.?
>>> I noticed on Linux that the vg is visible on node B even if it's local to Node A.
In a correct configuration, that should not be possible.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2008 05:12 PM
11-11-2008 05:12 PM
Re: lvm on Linux is driving me nuts (vgexport/vgimport issue)
I'm no expert on CA over 24k's...as we just got one 3 weeks ago...but I have been doing scenario's so here's my shot at it:
1. HORCM is not meant to run both instances on the same node. Several features appear to not work correctly when done like this, takeover's, pairsplits with -swaps, etc. You should be running an instance of horcm on each node to meet recommendations.
2. The error you are getting from LVM is because, even though you are changing the VGname, keep in mind that the underlying PV is still, block by block, the same (aka a mirror). There are commands to modify the PV label, last I remember.
My main suggestion is to revisit what you are doing, because to me, it seems like you are trying way to hard to accomplish site failure ability.
Why are you mirroring between sites if you are using CA?
Why are you making it so Host B can see both sets of CA LDEV's?
I'd love to lend my "expertise" in what I have learned, but need a bit more information.
1. HORCM is not meant to run both instances on the same node. Several features appear to not work correctly when done like this, takeover's, pairsplits with -swaps, etc. You should be running an instance of horcm on each node to meet recommendations.
2. The error you are getting from LVM is because, even though you are changing the VGname, keep in mind that the underlying PV is still, block by block, the same (aka a mirror). There are commands to modify the PV label, last I remember.
My main suggestion is to revisit what you are doing, because to me, it seems like you are trying way to hard to accomplish site failure ability.
Why are you mirroring between sites if you are using CA?
Why are you making it so Host B can see both sets of CA LDEV's?
I'd love to lend my "expertise" in what I have learned, but need a bit more information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2008 06:45 PM
11-12-2008 06:45 PM
Re: lvm on Linux is driving me nuts (vgexport/vgimport issue)
"I noticed on Linux that the vg is visible on node B even if it's local to Node A"
it may show up in vgdisplay; But there wont be any "Open LV"..
it may show up in vgdisplay; But there wont be any "Open LV"..
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP