1752790 Members
5979 Online
108789 Solutions
New Discussion юеВ

I/O erroer when pvcreate

 
Salm
Frequent Advisor

I/O erroer when pvcreate

Hello Every body

In my D calss server I want to make new vg. Initially pv create and Mknod comman worked well, but next VGcreate command did not go through. the msg is "vgcreate: Couldn't open physical volume "/dev/dsk/c0t8d0":
I/O error.

in my first command MEDIAINIT I got msg I/O error too. Ioscan command shows HD claimed.


5 REPLIES 5
James R. Ferguson
Acclaimed Contributor

Re: I/O erroer when pvcreate

Hi:

# dd if=/dev/rdsk/c0t8d0 of=/dev/null bs=1024k

This will test your disk.

# diskinfo /dev/rdsk/c0t8d0

This is another way to verify the viability of your disk.

Regards!

...JRF...
Salm
Frequent Advisor

Re: I/O erroer when pvcreate

Hi james

I just run command and get following output

# dd if=/dev/rdsk/c0t8d0 of=/dev/null bs=1024k
dd read error: Invalid argument
0+0 records in
0+0 records out


diskinfo command shows following output

iskinfo /dev/rdsk/c0t8d0
SCSI describe of /dev/rdsk/c0t8d0:
vendor: SEAGATE
product id: ST34572WC
type: direct access
size: 0 Kbytes
bytes per sector: 0

Prashanth.D.S
Honored Contributor

Re: I/O erroer when pvcreate

Hi Salm,

I think the disk is gone bad..as you can see the diskinfo command is not able to see the size of the disk. I would recommend you to have it replaced.

Best Regards,
Prashanth
Salm
Frequent Advisor

Re: I/O erroer when pvcreate

yes, you right. I replaced new disk and its working.

Thanks for your help
Salm
Frequent Advisor

Re: I/O erroer when pvcreate

now I 'm closing this issue