cancel
Showing results for 
Search instead for 
Did you mean: 

LVMREC errors

 
SOLVED
Go to solution
rocke robertson
Frequent Advisor

LVMREC errors


# pvcreate -f -B /dev/rdsk/c3t0d0s2
pvcreate: Error: Couldn't read LVMREC for the physical volume "/dev/rdsk/c3t0d0s2".
[Error: -1]

Itanium, 11.31, VSE_OE 0809 release.

Hellllllpp.
8 REPLIES
Torsten.
Acclaimed Contributor

Re: LVMREC errors

What steps did you take before? Did you run idisk?

Please refer to

http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf

and see appendix.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
rocke robertson
Frequent Advisor

Re: LVMREC errors

cat /tmp/x
2
EFI 100MB
HPUX %100

idisk -fw /tmp/x /dev/rdisk/disk10
.....

all good. Then the pvcreate goes south.
Torsten.
Acclaimed Contributor

Re: LVMREC errors

Looks like a very old version of the procedure ... the default is

3
EFI 500MB
HPUX 100%
HPSP 400MB

Please refer to the manual I posted.

Appendix D: Procedures

Chapter

Mirroring the Root Volume on Integrity Servers


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
rocke robertson
Frequent Advisor

Re: LVMREC errors

When I did the original install off of the ignite server, it defaulted to:

diskinfo -b /dev/rdisk/disk10_p1
102368


Which is a 100 MB EFI partition..Not sure how it is supposed to go to a larger size when the default installation makes it 100 MB.
rocke robertson
Frequent Advisor

Re: LVMREC errors

Sorry, I used the wrong device. disk10 is the drive I want to mirror to disk6. I did a diskinfo -b on it, and you are correct it is a 500 MB EFI partition.

I will redo the partition. Didn't know we needed 3 partitions.

3
EFI 500MB
HPUX 100%
HPSP 400MB

What is the HPSP partition for?
rocke robertson
Frequent Advisor

Re: LVMREC errors

Sorry, one more question. I have tried to re-create the partitions using the format you have suggested. I am now getting:

idisk -wf /tmp/x /dev/rdisk/disk10
idisk version: 1.44
********************** WARNING ***********************
If you continue you may destroy all data on this disk.
Do you wish to continue(yes/no)? yes
idisk: Partition table entry 1 does not appear valid
Entry was: "

I tried an idisk -R, and still cant seem to clean it up. Any suggestions?
Torsten.
Acclaimed Contributor
Solution

Re: LVMREC errors

What is the HPSP partition for?

HP service partition, used for diagnostics and (offline) firmware updates and configuration.


Regarding idisk:

Check the input file for bad characters.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
rocke robertson
Frequent Advisor

Re: LVMREC errors

Torsten was correct. I recreated my EFI partition definition file and idisk took it happily. Now that I'm using the 500MB EFI partition, my pvcreate doesn't complain anymore about a LVMREC error.

All is good.

Thank you Torsten. If youre ever in town, I'll buy you a good old Canadian beer ;')