1834052 Members
2148 Online
110063 Solutions
New Discussion

Unable extend VG

 
Abhijeet_3
Frequent Advisor

Unable extend VG

I am able to create a PV on a disk.

But when I tried extend VG using this PV . I received a error message vgextend: Couldn't open physical volume "/dev/dsk/c0t10d0":
I/O error.

Is it Hard disk issue ? or some other reason ?

Looking for your reply.

8 REPLIES 8
Steven E. Protter
Exalted Contributor

Re: Unable extend VG

More than likely you have bad disk.

You can test this with cstm, try the command to excersize the disk and if you don't get a good reply its dead.

You can run dmesg or check /var/adm/syslog/syslog.log

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Abhijeet_3
Frequent Advisor

Re: Unable extend VG

Thanks SEP for your prompt reply.

I am able to see details about this disk using "ioscan -funC disk " It is ok.

When I checked diskinfo -v /dev/rdsk/c0t10d0 , it shows size = 0 Kbytes. Will it be useful to run "mediainit"
Steven E. Protter
Exalted Contributor

Re: Unable extend VG

It there is nothing on the disk, mediainit can't hurt.

I use mediainit to help get data structures off a disk that has structures on it that are interfering with reassigning or re-using the disk.

If the disk is bad, mediainit should fail.

If the disk is bad, nothing is going to make it good.

You could try vgexport and vgimport of the whole volume group. If the problem is not disk related export/import or mediainit might help.

Some admins even at HP don't like mediainit. I use it sparingly.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Patrick Wallek
Honored Contributor

Re: Unable extend VG

If the disk is showing 0 bytes for the size then it is almost definitely bad. Place a hardware call with HP and get it replaced.
Michael Tully
Honored Contributor

Re: Unable extend VG

Your disk is disk, get it replaced. Usually when a diskinfo reports 0 bytes, the disk is stuffed. If it was a connection problem, you would get reported from ioscan a NO_HW message.
Anyone for a Mutiny ?
Sridhar Bhaskarla
Honored Contributor

Re: Unable extend VG

Hi,

If this disk is a SAN disk then make sure it is not a place holder (Ghost device) LUN. Check with your Storage Admins. If so, you cannot use it.

If not, then the disk may be bad.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Sanjiv Sharma_1
Honored Contributor

Re: Unable extend VG

Hi Abhijeet,

If you have added a new disk, then it seems to be defective as it shows 0 KB with diskinfo. Replace it.

If it is a disk in a SAN, then as rightly said it is a dummy disk with 0 KB space and cannot be used.

Thanks,
Everything is possible
Abhijeet_3
Frequent Advisor

Re: Unable extend VG

Thanks everyone.

My issue get resolved.

I have performed "mediainit" on suspect disk. It has taken very long time to complete. No error message during this process.

Now diskinfo shows correct size of this disk. Able to extends VG with this disk.