1825780 Members
2361 Online
109687 Solutions
New Discussion

pvcreate failure

 
JOHN TURNER_2
Frequent Advisor

pvcreate failure

g'day

we are having a problem with a new disk that we have installed on a lclass server, we can see the disk via ioscan and diskinfo returns the correct information, however when we run the pvcreate -f /dev/rdsk//c1t0d0 we get the following error message

LIVE!--ssdopro1[/] pvcreate -f /dev/rdsk/c1t0d0
pvcreate: writing LVM record: Interrupted system call

can anyone shed any light on the situation

cheers in advance

john
GUI's are for wimps!
5 REPLIES 5
James R. Ferguson
Acclaimed Contributor

Re: pvcreate failure

Hi John:

I'd be interested to see if the 'syslog' has any other messages.

Regards!

...JRF...
Peter Godron
Honored Contributor

Re: pvcreate failure

John,
have you tried (faulty disk?):
dd if=/dev/rdsk/cxtydz of=/dev/null bs=1024k
to check that the disk is actually ok.
Is/was there a mediainit running against the disk ?
Double check your device path.
Piergiacomo Perini
Trusted Contributor

Re: pvcreate failure

Hi John,

and if you try with command "mediainit" ?

hth
pg
John Guster
Trusted Contributor

Re: pvcreate failure

A. Clay Stephenson
Acclaimed Contributor

Re: pvcreate failure

I would not run mediainit; it is a destructive command and I have literally not used mediainit since HP-UX 9.

This test should more than suffice:

dd if=/dev/rdsk/c1t0d0 of=/dev/null bs=256k
If it ain't broke, I can fix that.