HPE GreenLake Administration
Operating System - HP-UX
1834841
Members
1762
Online
110070
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
05-28-2010 01:00 PM
05-28-2010 01:00 PM
lvmerge
Hi Admins,
We had a fc driver upgradation activity and before rebooting we had splitted the root LVs using lvsplit.After rebooting we found some issue with primary disk kernel and booted the server with secondary disk.NOw i have to merge the LVs using lvmerge.
As per the lvmerge concept new lv name obtained during lvsplit be given first with lvmerge
lvmerge /dev/vg00/lvol1b /dev/vg00/lvol1
As per my understanding /dev/vg00/lvol1b belongs to secondary disk and what lvmerge does is merging secondary LVs with primary.
Please correct me if i am wrong..
As said earlier my server runnning with secondary disk kernel since issue with primary disk.Sec disk having new data and primary disk has old data after rebooting.
In this case how i can execute lvmerge command..?
We had a fc driver upgradation activity and before rebooting we had splitted the root LVs using lvsplit.After rebooting we found some issue with primary disk kernel and booted the server with secondary disk.NOw i have to merge the LVs using lvmerge.
As per the lvmerge concept new lv name obtained during lvsplit be given first with lvmerge
lvmerge /dev/vg00/lvol1b /dev/vg00/lvol1
As per my understanding /dev/vg00/lvol1b belongs to secondary disk and what lvmerge does is merging secondary LVs with primary.
Please correct me if i am wrong..
As said earlier my server runnning with secondary disk kernel since issue with primary disk.Sec disk having new data and primary disk has old data after rebooting.
In this case how i can execute lvmerge command..?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2010 05:04 PM
05-28-2010 05:04 PM
Re: lvmerge
from man page:
/etc/lvmerge backup_lv_path master_lv_path
Data previously contained in the backup_lv_path is resynchronized
using the data in the master_lv_path. All new data on the
backup_lv_path is lost.
If I understood well you are using secondary disk because you had issues with primary, you can check that with a bdf, so now the backup_lv is your master_lv then the command should be:
lvmerge /dev/vg00/lvol1 /dev/vg00/lvol1b
regards,
/etc/lvmerge backup_lv_path master_lv_path
Data previously contained in the backup_lv_path is resynchronized
using the data in the master_lv_path. All new data on the
backup_lv_path is lost.
If I understood well you are using secondary disk because you had issues with primary, you can check that with a bdf, so now the backup_lv is your master_lv then the command should be:
lvmerge /dev/vg00/lvol1 /dev/vg00/lvol1b
regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2010 10:21 PM
05-30-2010 10:21 PM
Re: lvmerge
Hi Himacs,
Check the below link:
http://docs.hp.com/en/B2355-90681/lvmerge.1M.html
Rgds-Kranti
Check the below link:
http://docs.hp.com/en/B2355-90681/lvmerge.1M.html
Rgds-Kranti
Dont look BACK as U will miss something INFRONT!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2010 12:39 AM
06-02-2010 12:39 AM
Re: lvmerge
Hi himacs,
Good day to you !
As per 'lvmerge' manual, you can see the example of how to use 'lvmerge' command :
Merge /dev/vg00/lvol1b with /dev/vg00/lvol1.
Data in /dev/vg00/lvol1b will be overwritten by /dev/vg00/lvol1 and /dev/vg00/lvol1b will be removed.
# lvmerge /dev/vg00/lvol1b /dev/vg00/lvol1
For your case, since you would like to obtain the secondary LVs (/dev/vg00/lvol1b), so the command is like below :
# lvmerge /dev/vg00/lvol1 /dev/vg00/lvol1b
And to solve the problem on the old data on primary disk, please do the backup before merge the LVs.
Hope this information can help.
Regards,
Adi.
Good day to you !
As per 'lvmerge' manual, you can see the example of how to use 'lvmerge' command :
Merge /dev/vg00/lvol1b with /dev/vg00/lvol1.
Data in /dev/vg00/lvol1b will be overwritten by /dev/vg00/lvol1 and /dev/vg00/lvol1b will be removed.
# lvmerge /dev/vg00/lvol1b /dev/vg00/lvol1
For your case, since you would like to obtain the secondary LVs (/dev/vg00/lvol1b), so the command is like below :
# lvmerge /dev/vg00/lvol1 /dev/vg00/lvol1b
And to solve the problem on the old data on primary disk, please do the backup before merge the LVs.
Hope this information can help.
Regards,
Adi.
now working, next not working ... that's unix
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