Operating System - HP-UX
1837661 Members
9850 Online
110117 Solutions
New Discussion

create new vg00 with other manufactory disk

 
lb_z
Occasional Contributor

create new vg00 with other manufactory disk

"ioerror on physical volume device /dev/rdsk/c0t1d0:ioerror" when i do "vgcreate vg02 dev/dsk/c0t1d0 ",what's the problem ,how can i do?

THANS
3014405
9 REPLIES 9
Stefan Farrelly
Honored Contributor

Re: create new vg00 with other manufactory disk


pvcreate -f it first;

pvcreate -f /dev/rdsk/c0t1d0
Im from Palmerston North, New Zealand, but somehow ended up in London...
V. V. Ravi Kumar_1
Respected Contributor

Re: create new vg00 with other manufactory disk

hi,

have u run pvcreate
pvcreate -f

regds
Never Say No
lb_z
Occasional Contributor

Re: create new vg00 with other manufactory disk

yes ,i have done it and sucessfully firstly,but the same error appear when doing "vgcfgbackup /dev/vg02"
is it the disk itself?
3014405
Sanjay_6
Honored Contributor

Re: create new vg00 with other manufactory disk

Hi,

First do a pvcreate and then run vgcreate,

pvcreate -f /dev/rdsk/c0t1d0

If this is a new VG, first create the vg control file,

mkdir /dev/vg02
mknod /dev/vg02/group c 64 0x020000
vgcreate /dev/vg02 /dev/dsk/c0t1d0

If this is an existing vg, do a vgextend,

vgextend /dev/vg02 /dev/dsk/c0t1d0

Hope this helps.

Regds
Stefan Farrelly
Honored Contributor

Re: create new vg00 with other manufactory disk


It certainly sounds like something may be wrong with this disk. Pvcreate and vgcreate only access the first few blocks so may not detect any errors until you try other commands.

Lets do a read test on the entire disk to test its readable;

dd if=/dev/rdsk/c0t1d0 of=/dev/null bs=1024k

Let that run, and either it will return with xxx blocks in+out or it will return an I/O error indicating there is a problem with the disk.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Stefan Farrelly
Honored Contributor

Re: create new vg00 with other manufactory disk

Are you sure the group file you created for this vg is unique ?

cd /dev
ll v*/group

And check that all group files shown are unique.
Im from Palmerston North, New Zealand, but somehow ended up in London...
James R. Ferguson
Acclaimed Contributor

Re: create new vg00 with other manufactory disk

Hi:

In addition to using 'dd' as suggested, it would be useful to see what (if anything) 'diskinfo' returns:

# diskinfo -v /dev/rdsk/c0t1d0

Can 'diskinfo' access the disk? Do you get a non-zero size returned? Does the command take more than a couple of seconds to respond, or does it hang?

Regards!

...JRF...
lb_z
Occasional Contributor

Re: create new vg00 with other manufactory disk

the problem have been solved ,it is the hardware error,now i repalce it with new on,anything is ok!
thanks anyone
3014405
Stefan Farrelly
Honored Contributor

Re: create new vg00 with other manufactory disk

Dont forget to assign points to those who took the time to help you.
Im from Palmerston North, New Zealand, but somehow ended up in London...