1830899 Members
1832 Online
110017 Solutions
New Discussion

Re: pvcreate error

 
BrianDoyle
Trusted Contributor

pvcreate error

Hi all,
Getting the error:

# pvcreate /dev/rdsk/c26t8d5
pvcreate: Couldn't open physical volume "/dev/rdsk/c26t8d5":
Invalid argument

vgexported 3 VG's and deleted the 3 vdisks from our system.
Trying to create 3 new VG's and 3 new vdisks now.

Creating the vdisks went without a hitch, all presented and ioscan 'ed, insf.
Created the first 2 VG's with no trouble.
Sequence was:
(pvcreate, mkdir, mknod, vgcreate, vgextend x 3, lvcreate,newfs)

Beginning the final VG. I receive the forementioned error.
I dont wanna loose any data.
If I were to rmsf -H HW_PATH, would I lose any data?

Tried vgexporting the finished VG's and doing the whole operation again but same result. It seems strange that the other two VG's were created but the final one gives the problem.

# diskinfo /dev/rdsk/c26t8d5
diskinfo: can't open /dev/rdsk/c20t8d5: Invalid argument
I have no problem with diskinfo on any other disk.
An ioscan shows :
disk 401 1/0/6/1/0/4/0.201.60.0.0.8.5 sdisk NO_HW DEVICE HP HSV200
/dev/dsk/c26t8d5 /dev/rdsk/c26t8d5


Any ideas?
Would any data be lost ifI did rmsf -H HW_PATH?
5 REPLIES 5
James R. Ferguson
Acclaimed Contributor

Re: pvcreate error

Hi:

The 'ioscan' tells the tale -- "NO_HW" which means that the device is not responding. This is a dead disk or a disconnected cable or failed controller.

Regards!

...JRF...
Coolmar
Esteemed Contributor

Re: pvcreate error

Your ioscan "NO-HW" is telling you that you have a bad disk it looks like.
Calandrello
Trusted Contributor

Re: pvcreate error

Friend
the record this as IN _HW this means that this disponivel in the S.O therefore this not occurring this error. you must verify because this record not this more disponivel and what she occurred to appear as IN _HW
Ameet_HP
Frequent Advisor

Re: pvcreate error

Yes, you need to use rmsf & run insf -eC disk & ioscan again. Check Hardware Status, it should show CLAIMED. Don't run any LVM commands till Disk status is shown CLAMIED. Thereafter it will work.
BrianDoyle
Trusted Contributor

Re: pvcreate error

vdisks not corresponding to correct vg's on the server.recreated new ones and no problems. thanks to all who provided the advice