Operating System - HP-UX
1748165 Members
4085 Online
108758 Solutions
New Discussion юеВ

Re: lvsplit: There aren't enough mirros to make a split copy

 
SOLVED
Go to solution
Sharon Jing
New Member

lvsplit: There aren't enough mirros to make a split copy

We are running HP10.20. And we use Omniback to do the backup every night. Our backup procedure is as follows:
1) Run a pre-script. The pre-script uses lvsplit on logical volumes that are mirrored and have to stay up, which will lvolxb. Then the script mount lvolxb under temporary points.
2) Start backup from OMNIBACk which will pick up mounted lvolxb.
3) Run a post-script to unmount the temporary mount points, and use lvmerge to start the mirroring.

This procedure has been working well until we got an error message recently while running the pre-script. The error message is like "lvsplit: There aren't enough mirros to make a split copy: /dev/vg01/lvol8". We have mirrored logical volumes from /u01 to /u08. lvsplit only failed on the last one, which is /u08.

Any suggestions?

Thank you very much in advance.

Sharon
4 REPLIES 4
Alan Riggs
Honored Contributor
Solution

Re: lvsplit: There aren't enough mirros to make a split copy

It sounds like the initial failure was actually on the merge of your last volume after the previous night's backup. Do an lvdisplay on the volume in question and see what it says under mirror copies. (Or do a vgdisplay on teh volume group and see whether you have an extra lvol).
Manju Kampli
Trusted Contributor

Re: lvsplit: There aren't enough mirros to make a split copy

Sharon,
it looks to me like the mirror disk has failed OR some thing wrong with the LVM mirroring. check lvdisplay -v /dev/vgxx/lvolx and see whether you can all the physical extents of the LV are in sync. try spliting the mirror manually and see how it goes.
If the lvdisplay shows "stale" PEs, then check for the mirror disk and see it is working normal by doing pvdisplay and diskinfo commands.

hope this helps you ..
Never stop "LEARNING"
Devbinder Singh Marway
Valued Contributor

Re: lvsplit: There aren't enough mirros to make a split copy

This sounds like /u08 is already split . check /dev directory and see if there is a "b" file realting to /u08b . If there is then what it could be is the merge failed for this logical volume.
When doing an lvdisplay for that logical volume does it show 0 as mirrored copies , which means it is already split. So remerge it back and try again.

you can check the failed logical volume, check for errors in syslog / try doing a dd of logical volume to /dev/null see if o.k

HTH
Seek and you shall find
Sharon Jing
New Member

Re: lvsplit: There aren't enough mirros to make a split copy

Thank you very much for all your help.

Sharon