1748139 Members
3739 Online
108758 Solutions
New Discussion юеВ

vgextend io error

 
Chad Brindley
Regular Advisor

vgextend io error

Hi,

We have an old HP VA, Surestore 7410 I believe the model is.

A long time ago we had some LUNS created for us by a 3rd party and presented to one of our Servers. The LUNS are 0% used and the disks show as Unused when looking at disk devices in SAM.

I tried to run a vgextend yesterday and it returned an io error on physical device.

I ran an ioscan and the device files are present in /dev/dsk and /dev/rdsk but as stated when running a vgextend that pv to volume group it returns an io error on physical device.

I went into SAM and tried to extend the volume group in there when I receive the following warning;

At least one of the disks you have chosen is larger than the disk size allowed by volume group vgdbDBW (102396 Mbytes). These disks can still be used, but any capacity beyond the volume group limit will be wasted.

Do you want to use these disks anyway?.


-----------------

I cancelled the operation by selection No.

I am not overly confident on HPUX and my skillset is limited so any help or advice would be appreciated. I have got this far without assistance and other than a vgextend I dont think there is much more for me to do.

I didnt want to run the vgextend forcibly just incase my workings out were incorrect on the LUN front even though the pv shows as Unused.

Chad
32 REPLIES 32
ani007
Super Advisor

Re: vgextend io error

which file system you want to extend?pls let us know the o/p of #vgdisplay

Regards,
Ani
Chad Brindley
Regular Advisor

Re: vgextend io error

Hi,

Please see attached output from vgdisplay of the volume I want to extend.

Chad
ani007
Super Advisor

Re: vgextend io error

Hi,
Please check whether online JFS is installed or not. #swlist -l product | grep -i jfs.
If you have online JFS then you can extend the file system online(without unmount the file system).
PE Size (Mbytes) 4
Total PE 25596
Alloc PE 20500
Free PE 5096

you have(5096*4)=19.90GB free space.so how much space you want to extend.which file system you want to extend.please put the o/p of #bdf .If you want to extend more then 19GB then you need to assign lun.For that pls tell me know the lun cXtXdX no.

regards,
Ani
Chad Brindley
Regular Advisor

Re: vgextend io error

Hi,

Yes it has onlineJFS installed but I want to extend the Volume Group in readiness for future data growth. I have done an lvextend before and it works fine.

The issue I have is when I run a vgextend (as below) it returns an IO error on physical device.

vgextend /dev/vgdbDBW /dev/dsk/c4t2d5

I worked out that device is LUN number 21 using SAM > Disk Devices, it shows that device as being Unused and not part of LVM.

ioscan displays for that device:

disk 5 0/3/1/0.1.4.0.0.2.5 sdisk CLAIMED DEVICE HP A6218A
/dev/dsk/c4t2d5 /dev/rdsk/c4t2d5

If I try to extend via SAM it pops up with this;

At least one of the disks you have chosen is larger than the disk size allowed by volume group vgdbDBW (102396 Mbytes). These disks can still be used, but any capacity beyond the volume group limit will be wasted.

So I clicked No to cancel the operation.

Basically;
-I need to confirm that this pv is definately Unused?

-If unused how do I extend the Volume Group without error. Have I missed a step as the pv looks to have been created in /dev/dsk and /dev/rdsk.

Regards,

Chad
Manix
Honored Contributor

Re: vgextend io error

Hello Guys ,

This is pretty simple i guess

Max PE per PV 25599
VGDA 2
PE Size (Mbytes) 4

=103 Gigs ( 25999 *4 )

You have defined maximum PE/PV (-e) & PE size (-s ) while VG creation so this is the max size of PV that VG can capture.

You can bypass the warning.

Or you need vgcfgmodify to change max PE/PV
for that OS needs to be 11.31 or 11.23 ( with patching.

You need to deactivate the VG to run "vgcfgmodify"

Other wise just bypass if the disk is not much larger then 103 Gigs.

Hope this helps.

Thanks

Manix
HP-UX been always lovable - Mani Kalra
Chad Brindley
Regular Advisor

Re: vgextend io error

Thanks Manix, that makes sense. I'd only lose a small amount then.

I really don't have enough time on HPUX or any flavours of unix to understand it. That makes sense now, pretty simple.

Do you have any thought's on the other issues I described in the thread?

The vgextend io error being one and determining that the PV is definately Unused?

As always, thanks again for the help thus far.

Chad
Torsten.
Acclaimed Contributor

Re: vgextend io error

>> I tried to run a vgextend yesterday and it returned an io error on physical device.



Nobody knows what command you run exactly and if the command was wrong or not...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Chad Brindley
Regular Advisor

Re: vgextend io error

Torsten,

It was in one of my later reponses, this is the command I had run.

vgextend /dev/vgdbDBW /dev/dsk/c4t2d5

Chad

Torsten.
Acclaimed Contributor

Re: vgextend io error

OK, you cannot vgextend it if pvcreate was not run.


Any more questions?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!