- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvmerge giving an error
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
05-29-2005 11:09 PM
05-29-2005 11:09 PM
lvmerge giving an error
I am trying to merge 2 LVs after lvsplit using lvmerge.It throws an error:
"The logival volumes /dev/vg01/lvol1b and /dev/vg01/lvol1 are different sizes" .Pls help me in merging these two LVs.
Rgds,
Raghavendra.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 11:16 PM
05-29-2005 11:16 PM
Re: lvmerge giving an error
Does lvdisplay shows same size for both the logical volumes??
Please post the lvdisplay -v output for both the logical volumes.
Regards,
--Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 11:50 PM
05-29-2005 11:50 PM
Re: lvmerge giving an error
How do i merge it if its different size.
--- Logical volumes ---
LV Name /dev/vg01/lvol1
VG Name /dev/vg01
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery NOMWC
Schedule parallel
LV Size (Mbytes) 15000
Current LE 3750
Allocated PE 3750
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation PVG-strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c3t0d0 2400 2400
/dev/dsk/c3t1d0 1350 1350
--- Logical volumes ---
LV Name /dev/vg01/lvol1b
VG Name /dev/vg01
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery NOMWC
Schedule parallel
LV Size (Mbytes) 23000
Current LE 5750
Allocated PE 5750
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation PVG-strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c4t5d0 2400 2400
/dev/dsk/c4t6d0 3350 3350
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2005 12:56 AM
05-30-2005 12:56 AM
Re: lvmerge giving an error
How come you got two different size of LV?
May be after spiliting you did lvextend of one LV?
I don't think you can merge two LV of differnt sizes.
Remove the the backup (off line) LV and re-establish the mirror.
lvremove and lvextend.
That's the only workaround I see!
Regds
TT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2005 04:50 AM
05-30-2005 04:50 AM
Re: lvmerge giving an error
Yes, the output of lvdisplay shows different sizes on both lvols. Possibally second copy was extended after split. Anyway you are going to merge it back having remove the data the best way would be to remove lvol and recreate mirror.
#lvremove /dev/vg01/lvol1b
Then recreate mirror
#lvextend -m 1 /dev/vg01/lvol1b
This is the simpleast way to achive this.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2005 03:39 PM
05-30-2005 03:39 PM
Re: lvmerge giving an error
Hello Raghavendra,
There are two choice are available Either you take the backup of lvol1b and remove the lvol1b
using
#lvremove /dev/vg01/lvol1b
and extend the logical volume lvol1
#lvextend -L xxx /dev/vg01/lvol1b
or
Reduce the lvol1b and try to merge it , Ensure the backup of ur data
#lvreduce -l 3750 /dev/vg01/lvol1
and try to merge using the lvmerge
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2005 04:18 PM
05-30-2005 04:18 PM
Re: lvmerge giving an error
Thanx a lot, i got it after lvremove and extablishing the mirror using lvextend.
Rgds,
Raghavendra.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 12:28 AM
05-31-2005 12:28 AM
Re: lvmerge giving an error
http://forums1.itrc.hp.com/service/forums/helptips.do?admit=716493758+1085211538437+28353475#33
Thanks,