HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mirrioring problem of LV in Cluster aware VG.
Operating System - HP-UX
1829913
Members
3069
Online
109993
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
Go to solution
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
07-23-2006 10:52 PM
07-23-2006 10:52 PM
I am not able to mirror lv. lvextend -m 1 because strict allocation policy. my vg contains 2 pv . Out of 2 pv one pv is having sufficient PE while other pv having 0 pE.this vg is under cluster enviorment.
Now my plan is
1)create LUN & do vgextend
2)down the package
3)do vgexport on 1 st node & vgimport it on second node (After vgexport of that vg on second node)
4)start the package
Now for mirroring LV my vg contains 3 PV.(out of which 2 PV having sufficient PE while other having 0 PE.).
now my plan is
lvextend -m 1 or using only lvextend -m 1 it will automatically take that new device path.
pl. confirm whether my procedure is ok or not.
thanks in advance.
Now my plan is
1)create LUN & do vgextend
2)down the package
3)do vgexport on 1 st node & vgimport it on second node (After vgexport of that vg on second node)
4)start the package
Now for mirroring LV my vg contains 3 PV.(out of which 2 PV having sufficient PE while other having 0 PE.).
now my plan is
lvextend -m 1
pl. confirm whether my procedure is ok or not.
thanks in advance.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2006 11:45 PM
07-23-2006 11:45 PM
Solution
your plan looks reasonable, ensure you specify the destination device for the mirror otherwise it can go anywhere.
One thing I would look at, is how your data is organised. Is it all bunched up on the 1st PV, because you've always mirrored without specifying the 2nd PV?
I would run a lvdisplay -v on the LVs that are already mirrored and see which ones are mirrored onto the same disc.
Then I'd remove the mirrored copies and reapply them (specifying PV2).
Also look at "pvmove"ing any LVs that are clogging up PV1 and put them on PV2.
It should help to spread the load between the two discs.
One thing I would look at, is how your data is organised. Is it all bunched up on the 1st PV, because you've always mirrored without specifying the 2nd PV?
I would run a lvdisplay -v on the LVs that are already mirrored and see which ones are mirrored onto the same disc.
Then I'd remove the mirrored copies and reapply them (specifying PV2).
Also look at "pvmove"ing any LVs that are clogging up PV1 and put them on PV2.
It should help to spread the load between the two discs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2006 12:12 AM
07-24-2006 12:12 AM
Re: Mirrioring problem of LV in Cluster aware VG.
Shalom,
Procedure looks good.
vgdisplay -v vgname
Use a real vg name.
You may need to do a pvdisplay -v on the phyiscal volumes to get a clear picture. You may also need to do a lvdisplay -v lv_name to see where things are laid out.
It is important to understand that mirroring does you no good if a logical volume is mirrored on the same disk. It is ideal to make a mirror copy on another disk controller to provide full redundancy.
Note however, if you have LUN's assigned to your machine there is little need to do anything. Talk to the person that assigned the LUN and see, this LUN may already be mirrored on the disk array or perhaps it can be set to raid 1 by the LUN/SAN/Array admin.
SEP
Procedure looks good.
vgdisplay -v vgname
Use a real vg name.
You may need to do a pvdisplay -v on the phyiscal volumes to get a clear picture. You may also need to do a lvdisplay -v lv_name to see where things are laid out.
It is important to understand that mirroring does you no good if a logical volume is mirrored on the same disk. It is ideal to make a mirror copy on another disk controller to provide full redundancy.
Note however, if you have LUN's assigned to your machine there is little need to do anything. Talk to the person that assigned the LUN and see, this LUN may already be mirrored on the disk array or perhaps it can be set to raid 1 by the LUN/SAN/Array admin.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2006 09:29 PM
07-26-2006 09:29 PM
Re: Mirrioring problem of LV in Cluster aware VG.
thanks for ur information.
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