- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvplit 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
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
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
тАО01-28-2007 11:18 PM
тАО01-28-2007 11:18 PM
HI,
While i am trying to do a lvspit of a LV it gives error was follows:
lvsplit: Logical Volume is not wholly contained by the specified Physical Volumes.
It was not having problems since it was extended on last Friday.
Can any one suggest and help me out
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2007 11:30 PM
тАО01-28-2007 11:30 PM
Re: lvplit error!
and the "lvsplit" command that you are attempting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2007 12:07 AM
тАО01-29-2007 12:07 AM
Re: lvplit error!
Please find details below
lvdisplay -v /dev/vgp_lus_d1/lvol_db01 | pg
--- Logical volumes ---
LV Name /dev/vgp_lus_d1/lvol_db01
VG Name /dev/vgp_lus_d1
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 5028
Current LE 1257
Allocated PE 1257
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation PVG-strict/distributed
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c4t0d2 67 67
/dev/dsk/c4t0d3 67 67
/dev/dsk/c4t0d4 67 67
/dev/dsk/c4t0d5 67 67
/dev/dsk/c4t0d6 67 67
/dev/dsk/c4t0d7 67 67
/dev/dsk/c4t1d0 67 67
/dev/dsk/c9t1d1 99 99
/dev/dsk/c9t1d2 99 99
/dev/dsk/c9t1d3 99 99
/dev/dsk/c9t1d4 99 99
/dev/dsk/c9t1d5 98 98
/dev/dsk/c9t1d6 98 98
/dev/dsk/c9t1d7 98 98
/dev/dsk/c9t2d0 98 98
--- Logical extents ---
LE PV1 PE1 Status 1
00000 /dev/dsk/c4t0d2 00000 current
00001 /dev/dsk/c4t0d3 00000 current
00002 /dev/dsk/c4t0d4 00000 current
00003 /dev/dsk/c4t0d5 00000 current
00004 /dev/dsk/c4t0d6 00000 current
00005 /dev/dsk/c4t0d7 00000 current
lvdisplay -v /dev/vgp_lus_d1/lvol_db01b | pg
--- Logical volumes ---
LV Name /dev/vgp_lus_d1/lvol_db01b
VG Name /dev/vgp_lus_d1
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 5028
Current LE 1257
Allocated PE 1257
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation PVG-strict/distributed
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c4t2d1 67 67
/dev/dsk/c4t2d2 67 67
/dev/dsk/c4t2d3 67 67
/dev/dsk/c4t2d4 67 67
/dev/dsk/c4t2d5 67 67
/dev/dsk/c4t2d6 67 67
/dev/dsk/c4t2d7 67 67
/dev/dsk/c4t3d0 67 67
/dev/dsk/c9t1d1 32 32
/dev/dsk/c9t1d2 32 32
/dev/dsk/c9t1d3 32 32
/dev/dsk/c9t1d4 32 32
/dev/dsk/c9t1d5 32 32
/dev/dsk/c9t1d6 32 32
/dev/dsk/c9t1d7 32 32
/dev/dsk/c9t2d0 32 32
/dev/dsk/c9t3d1 67 67
/dev/dsk/c9t3d2 67 67
/dev/dsk/c9t3d3 67 67
/dev/dsk/c9t3d4 66 66
/dev/dsk/c9t3d5 66 66
/dev/dsk/c9t3d6 66 66
/dev/dsk/c9t3d7 66 66
:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2007 02:42 AM
тАО01-29-2007 02:42 AM
Re: lvplit error!
Just to be clear...
1) You previously succesfuly used lvsplit on this lv.
2) That LV was always allocated over mutlple physical devices
3) an lvextend was successfuly issued on Friday and the lvsplit has failed since.
Anything else done to the volume Friday?
I notice this warning in the lvsplit man page:
"and there must be enough unused logical volumes remaining in the volume group to hold the newly split logical volumes."
A vgdisplay would show whether you have space left to define/name the cloned volumes.
Some exact commands on the lvsplit and/or lxentend might be needed.
fwiw,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2007 02:00 PM
тАО01-29-2007 02:00 PM
Re: lvplit error!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2007 02:53 PM
тАО01-29-2007 02:53 PM
SolutionWhenever a mirrored logical volume is split into two logical volumes, a bit map is stored that keeps track of all writes to either logical volume in the split pair. When the two logical volumes are subsequently merged using lvmerge, the bit map is used to decide which areas of the logical volumes need to be resynchronized (see lvmerge(1M)). This bit map remains in existence until one of the following conditions occurs:
+ The merge is completed.
+ One of the logical volumes is extended, reduced, or split again.
+ The volume group is cross-activated to shared mode (see vgchange(1M)).
+ The system is rebooted.
WARNINGS : After a two-way mirrored logical volume has been split once, it cannot be split again without merging the logical volumes using the lvmerge command (see lvmerge(1M)).
Refered the man pages of lvmerge, it clearly says "The lvmerge command merges two logical volumes of the same size." So now it won't be possible to merge the lv's back since you extended the LV after lvsplit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2007 03:26 PM
тАО01-29-2007 03:26 PM
Re: lvplit error!
Sounds like LV A had mirror.
This was split into A and Ab
At this point the sstem maintains a bitmap for a minimerge
Now A was extended into AA
This drops the bitmap.
Than a merge is attempted, but Ab is the wrong size.
So now you need to grow Ab to become AAb
Then do a full merge.
Per lvmerge manpage:
"If there is no bit map available, the entire logical volume is resynchronized."
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2007 07:59 PM
тАО01-29-2007 07:59 PM
Re: lvplit error!
When it was in split state it was in split state. We had extended the Lv and LV-B to equal size.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2007 12:37 PM
тАО01-30-2007 12:37 PM