1834459 Members
2632 Online
110067 Solutions
New Discussion

LVMREC

 
Robert Hunke
Occasional Advisor

LVMREC

Using the lvcreate command, I was able to successfully create and extend my logical volumes, however I get an error
vgcfgbackup: Invalid LVMREC on Physical volume /dev/rdsk/c7t5d0. I have used all the suggestions in the tech docs. This seems to create a problem when I am exporting to another node. I have patched to be current with hp as of today. help!!!
7 REPLIES 7
Robert Thorneycroft
Valued Contributor

Re: LVMREC

Did you pvcreate the disk before attempting to add it into your volume group?
James R. Ferguson
Acclaimed Contributor

Re: LVMREC

Hi:

You note that you have used "all suggestions in tech docs". Would you please be more specific? For instance, if this was a new disk (at least as far as the volume group is concerned), did you do a 'pvcreate' on it first? Does a 'dd' of the raw device produce errors?

Regards!

...JRF...
Robert Hunke
Occasional Advisor

Re: LVMREC

Yes, I did do a pvcreate on this disk. dd produces no errors on the raw device. There are a few entries in the tecnical documents when I search for LVMREC. The suggestion was to do a dd on the disk. vgreduce the volume group, and use pvcreate to re-create it. The thinking was that the header may be bad. I did follow these steps.
MANOJ SRIVASTAVA
Honored Contributor

Re: LVMREC

Well to check the header you may like to look at the following :


http://us-support3.external.hp.com/iv/data/documents/DE_SW_UX_swrec_EN_01_E/LVM.pdf

may be when u are imporint it on the secomd node u are using exclusive etc mode ?


Manoj Srivastava
Mladen Despic
Honored Contributor

Re: LVMREC

Robert,

What does the command

diskinfo -v /dev/rdsk/c7t5d0

return?
Robert Hunke
Occasional Advisor

Re: LVMREC

Hi,

when I do a diskinfo on /dev/rdsk/c7t5d0 I get:

SCSI describe of /dev/rdsk/c7t5d0
vendor HP
type direct access
51840 KB
512 bytes per second
rev level 0116
blocks per disk 103680
iso version 0
ecma version 0
ansi version 2
removable media no
response format 2.

Thanks
Bob
vaman
Frequent Advisor

Re: LVMREC

hi
why dont u try
mediainit /dev/rdsk/c7t5d0
and the try pvcreate, lvcreate etc.
Vaman
vaman kulkarni