1834459 Members
2596 Online
110067 Solutions
New Discussion

pvcreate not working.

 
SOLVED
Go to solution
stevegray
Frequent Advisor

pvcreate not working.

I did a cold install of HP-UX11.31 on my rx8640-16 Integrity system.

vg00 is not mirrored. I am following appendix A in the "when good disks go bad".

When I did the pvcreate -B /dev/rdsk/c6t6d0s2 command it gave the follwing error:


pvcreate: Unable to query the I/O interface: System call error.

What does this mean??

Thanks
Steve
12 REPLIES 12
Torsten.
Acclaimed Contributor

Re: pvcreate not working.

Hi,

to be consequently you should use the new devicenames, e.g.

/dev/disk/disk6_p2

for your operation.
Look it up:

ioscan -m dsf

Is the disk CLAIMED in ioscan?

Also check the the status with:

$ ioscan -P health -C disk

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!   
stevegray
Frequent Advisor

Re: pvcreate not working.

ioscan -m dsf shown my disk /dev/rdsk/disk5.

ioscan shows it is claimed.

The health shows:

Class I H/W Path health
===============================
disk 3 64000/0xfa00/0x0 online
disk 4 64000/0xfa00/0x1 online
disk 5 64000/0xfa00/0x4 online


Steve
Torsten.
Acclaimed Contributor

Re: pvcreate not working.

Please post

ioscan -fnCdisk

ioscan -fnNCdisk

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!   
Mridul Shrivastava
Honored Contributor

Re: pvcreate not working.

I hope that you have created partition file then used idisk to create partition followed by insf -e.
If you have not executed insf -e then these device files won't get created.
Time has a wonderful way of weeding out the trivial
stevegray
Frequent Advisor

Re: pvcreate not working.

ioscan -fnCdisk

Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 0 0/0/0/2/0.6.0 sdisk CLAIMED DEVICE HP 73.4GMAX3073NC
/dev/dsk/c0t6d0 /dev/dsk/c0t6d0s2 /dev/rdsk/c0t6d0 /dev/rdsk/c0t6d0s2
/dev/dsk/c0t6d0s1 /dev/dsk/c0t6d0s3 /dev/rdsk/c0t6d0s1 /dev/rdsk/c0t6d0s3
disk 1 0/0/0/2/1.2.0 sdisk CLAIMED DEVICE Optiarc DVD RW AD-5170A
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 2 1/0/0/2/0.6.0 sdisk CLAIMED DEVICE HP 73.4GMAX3073NC
/dev/dsk/c6t6d0 /dev/dsk/c6t6d0s2 /dev/rdsk/c6t6d0 /dev/rdsk/c6t6d0s2
/dev/dsk/c6t6d0s1 /dev/dsk/c6t6d0s3 /dev/rdsk/c6t6d0s1 /dev/rdsk/c6t6d0s3



ioscan -fnNCdisk
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
disk 3 64000/0xfa00/0x0 esdisk CLAIMED DEVICE HP 73.4GMAX3073NC
/dev/disk/disk3 /dev/disk/disk3_p2 /dev/rdisk/disk3 /dev/rdisk/disk3_p2
/dev/disk/disk3_p1 /dev/disk/disk3_p3 /dev/rdisk/disk3_p1 /dev/rdisk/disk3_p3
disk 4 64000/0xfa00/0x1 esdisk CLAIMED DEVICE Optiarc DVD RW AD-5170A
/dev/disk/disk4 /dev/rdisk/disk4
disk 5 64000/0xfa00/0x4 esdisk CLAIMED DEVICE HP 73.4GMAX3073NC
/dev/disk/disk5 /dev/rdisk/disk5


Hope this helps.

Torsten.
Acclaimed Contributor

Re: pvcreate not working.

I agree with Mridul, you should exactly follow the procedures, but I would use the new device names, like

/dev/disk/disk5
and
/dev/disk/disk5_p2

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!   
stevegray
Frequent Advisor

Re: pvcreate not working.

The command I used was

insf -e -H 1/0/0/2/0.6.0

The next command was the pvcreate.
Torsten.
Acclaimed Contributor
Solution

Re: pvcreate not working.

You probably missed the step

insf -eCdisk

because the devie files

/dev/disk/disk5_p1 _p2 and _p3 are missing

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!   
stevegray
Frequent Advisor

Re: pvcreate not working.

Is the number in the partition file the number of partitions on vg00?

The example said 3. I have 8 partitions.
Mridul Shrivastava
Honored Contributor

Re: pvcreate not working.

Partition file will look like following:
3
EFI 500MB
HPUX 100%
HPSP 400MB

so the first one for EFI , second one for OS and the third one for some maintenance utilities.

the 8 file ssytems u r talking about are part of OS.... which is different from the partitions we are talking about.
Time has a wonderful way of weeding out the trivial
stevegray
Frequent Advisor

Re: pvcreate not working.

Torsten was correct.

I did not run insf -Cdisk.

I did not see it in my directions.

I can now proceed.

Thanks for the help.

Steve
stevegray
Frequent Advisor

Re: pvcreate not working.

Torsten was right.

I did nit see the insf -eCdisk command.

I ran it and now able to proceed.

Thanks
Steve