1748034 Members
4665 Online
108757 Solutions
New Discussion юеВ

Re: VG creation

 
SOLVED
Go to solution
V.P
Frequent Advisor

VG creation

Dear Admins,
Our requirement is unused disk (PV) from the VG: vguat1 should be moved and added to the VG: vgoradata, since the space is less in VG: vgoradata.
I could see that /dev/dsk/c3t4d0 is not used. Enclosed is the file for your reference. Please revert for any more details.
Server: HP-UX B.11.23 U ia64
Could any one help me to I accomplish this task?
Thanks in advance.
Regards,
V.P
16 REPLIES 16
V.P
Frequent Advisor

Re: VG creation

VG : vgoradata deatils enclosed
smatador
Honored Contributor

Re: VG creation

Hi,
If c3t4d0 is not used, you could detach it with vgreduce vguat1 /dev/dsk/c3t4d0.
After that you could vgextend vgoradata /dev/dsk/c3t4d0 with it.
HTH
James R. Ferguson
Acclaimed Contributor

Re: VG creation

Hi:

Since '/dev/dsk/c3t4d0' is unused, 'vgreduce' it from the volume group, 'vguat1'. To add it to the 'vgoradata' volume group, you would use 'vgextend'.

The problem that you have, however, is that the maximum number of physical extents for any physical volume in 'vgoradata' is 1618 (Max PE per PV). The physical volume you want to add can hold 4374 extents.

Thus, if you merely 'vgextend' c3t4d0 into the 'vgoradata' volume group, you are only going to gain 1618 extents of usable space.

You should 'vgmodify' the 'vgoradata' volume group to increase the maximum number of physical extents that can be allocated from any of the physical volumes in the volume group.

See the manpages for 'vgreduce', 'vgextend' and 'vgmodify' for more information.

Regards!

...JRF...
Robert Salter
Respected Contributor

Re: VG creation

How big is the c3t4d0 disk? In your vguat1 vol grp the biggest disk can be 140 gb, in the vgoradata the biggest disk can only be 25 Gb.

check your Max_PE_per_PV settings in the vol grps. If the disk is truly 140 Gb, then you'd be wasting a lot of disk space by putting it in vgoradata.
Time to smoke and joke
V.P
Frequent Advisor

Re: VG creation

Dear JRF/Robert,

Can you please provide some details.

Thanks again
V.P
Frequent Advisor

Re: VG creation

Dear Robert,

HOSTNAME /paradmin >diskinfo /dev/rdsk/c3t4d0
SCSI describe of /dev/rdsk/c3t4d0:
vendor: HP
product id: DG0146FAMWL
type: direct access
size: 143374744 Kbytes
bytes per sector: 512
James R. Ferguson
Acclaimed Contributor

Re: VG creation

Hi (again):

> Can you please provide some details.

The manpages include some good examples. I urge you to read them.

Regards!

...JRF...
Robert Salter
Respected Contributor
Solution

Re: VG creation

It's just as James said, the number of available extents on the disk are greater than the number of extents allowed that the vgoradata vol grp is set up to use. The disk has 4374 extents, the vgoradata vol grp will only use 1618 of them wasting 2756 extents of space.

You will have to modify the number of Max_Pe_per_PV setting in vgoradata. You can use vgmodify, the man pages will help. You are using 11.23 so you may have to download a patch to install 'vgmodify', PHCO_35524. here's a link to a pdf og vgmodify.

http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01920387/c01920387.pdf (BSC link updated by admin)
Time to smoke and joke
V.P
Frequent Advisor

Re: VG creation

Thanks a lot :)