Operating System - HP-UX
1753846 Members
8452 Online
108807 Solutions
New Discussion юеВ

pvcreate reports invalid argument

 
Lucinda Taylor
Advisor

pvcreate reports invalid argument

I am trying to configure a new MSA1000 LUN to my rp7420 server. When I run the command
pvcreate -f /dev/rdsk/c31t0d1 I get the
pvcreate: writing LVM record: Invalid argument
error.

I get the same error when I try to configure the disk through SAM.

When I run ioscan -fnC disk I can see
disk 264 0/0/10/1/0.201.3.255.0.0.1 sdisk CLAIMED DEVICE COMPAQ MSA1000 VOLUME /dev/dsk/c31t0d1 /dev/rdsk/c31t0d1

I have not been able to find a resolution to this problem within any message forums. Any help would be appreciated.
11 REPLIES 11
melvyn burnard
Honored Contributor

Re: pvcreate reports invalid argument

can you write to this device?
try:
dd if=/stand/vmunix of=/dev/rdsk/c31t0d1 bs=1024k

If that fails, you have a problem with writing to the LUN, probably a config issue on the MSA.

You could also try:
diskinfo -v /dev/rdsk/c31t0d1
and post the resultant output
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Lucinda Taylor
Advisor

Re: pvcreate reports invalid argument

Here is the result from the dd command.
I/O error
1+0 records in
0+1 records out

I actually don't perform the configuration of the MSA, a storage group does that. Is there something I can suggest to them?

Thanks
Christian Tremblay
Trusted Contributor

Re: pvcreate reports invalid argument

Ask them to give you another LUN on the array, this one seems to be bad.

I have seen this problem on LUNs that were previously assigned to windows boxes and reassigned to UNIX servers.
melvyn burnard
Honored Contributor

Re: pvcreate reports invalid argument

This showas the LUN is not useable. Get the people who did this to come and fix it or rebuild the array so you can write to it, and don't let them go until you prove it works :-]
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Torsten.
Acclaimed Contributor

Re: pvcreate reports invalid argument

IS "SSP" (Selective Storage Presentation - some like WWN zoning on switches) enabled and configured? Is this your first LUN from the MSA or do you have some already?

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!   
Lucinda Taylor
Advisor

Re: pvcreate reports invalid argument

This is my first LUN from this array. They sent me a MSA1000 with 7 drives and created one LUN. It is very likely it was used in a different configuration before trying to attach to my HP server.
Michael Steele_2
Honored Contributor

Re: pvcreate reports invalid argument

See if you can read it with 'dd'

#diskinfo /dev/rdsk/c1t10d #pvcreate -
#dd if=/dev/rdsk/cxtxdx of=/dev/null bs=1024K

Attach logtool report

STM > TOOLS > UTILITY > RUN > LOGTOOL > FILE > RAW SUMMARY
Support Fatherhood - Stop Family Law
Torsten.
Acclaimed Contributor

Re: pvcreate reports invalid argument

Ask your storage group if they are aware of the configuration for HP-UX, it is "slightly" different from configurations for other operation systems.

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!   
Lucinda Taylor
Advisor

Re: pvcreate reports invalid argument

Thanks, I talked to the storage group about the specific config for HP-UX and they are working on it.