cancel
Showing results for 
Search instead for 
Did you mean: 

Extending EVA Vdisk.

 
SOLVED
Go to solution
Highlighted
Super Advisor

Extending EVA Vdisk.

Hi All,

i Increase the size of a Vdisk at the EVA SAN level from 350GB to 450GB. (disk already live and being used)

but when i rescan disck on unix (iosca -fnC disk) i don't see any new disk. but i can see the new size (450GB) when check the disk size by diskinfo command.
# diskinfo /dev/rdsk/c16t0d1
SCSI describe of /dev/rdsk/c16t0d1:
vendor: HP
product id: HSV210
type: direct access
size: 471859200 Kbytes
bytes per sector: 512

but there is no free PE on vg01 to extend the lvol's

# vgdisplay -v vg01
--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 7
Open LV 7
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 1375
VGDA 2
PE Size (Mbytes) 256
Total PE 1375
Alloc PE 1375
Free PE 0
Total PVG 1
Total Spare PVs 0
Total Spare PVs in use 0

How i can solving this problem ?

Thanks
16 REPLIES 16
Highlighted
Acclaimed Contributor
Solution

Re: Extending EVA Vdisk.

You hopefully run 11.23 or 11.31.

In this case you need to use "vgmodify" to adjust the LVM structure.

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!   
Highlighted
Honored Contributor

Re: Extending EVA Vdisk.

Of course, you can't see new disk as you extended the same disk at SAN.

If you are using HP-UX 11.23, need to install vgmodify to do this.

If you are running HP-UX 11.31, vgmodify is available and you can do that.
Regards
Shibin
Highlighted
Super Advisor

Re: Extending EVA Vdisk.

Hi,
i using 11.23 version.

and Can you explain more how to use vgmodify command?

/dev/vg01/lvol1 /u01
/dev/vg01/lvol2 /u02
/dev/vg01/lvol3 /u03
/dev/vg01/lvol4 /u04
/dev/vg01/lvol5 /u05
/dev/vg01/lvol6 /u06
/dev/vg01/lvol7 /u07

thanks
Highlighted
Acclaimed Contributor

Re: Extending EVA Vdisk.

Refer to

http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01920387/c01920387.pdf

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!   
Highlighted
Super Advisor

Re: Extending EVA Vdisk.

Hi,

# vgmodify -r -v /dev/vg01
# vgchange -a n /dev/vg01
# vgchange -a n /dev/vg01
# vgmodify -v /dev/vg01
# vgmodify -v /dev/vg01
# vgchange -a y -l -p -s /dev/vg01
# vgchange -a y /dev/vg01
# vgdisplay -v /dev/vg01
# vgmodify -tv /dev/vg01
# vgmodify -v -r -e 2000 -p 30 /dev/vg01
# vgmodify -v -e 2000 -p 30 /dev/vg01
# vgchange -a n /dev/vg01
# vgmodify -v -e 2000 -p 30 /dev/vg01
# vgchange -a y -l -p -s /dev/vg01
# vgchange -a y /dev/vg01
# vgdisplay -v /dev/vg01

This a correct steps.

Thanks

Highlighted
Acclaimed Contributor

Re: Extending EVA Vdisk.

Just refer to the chapter

"Performing an offline DLE"



detailed steps depend on your current configuration.

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!   
Highlighted
Super Advisor

Re: Extending EVA Vdisk.

Hi,

i facing this message

"
# vgmodify -t -v -n vg01
Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf

Current Volume Group settings:
Max LV 255
Max PV 16
Max PE per PV 1375
PE Size (Mbytes) 256
VGRA Size (Kbytes) 240

VGRA space (Kbytes) on Physical Volumes with extents in use:
PV current -n
/dev/rdsk/c8t0d1 896 262144
Summary 896 262144
Physical Extent zero is not free on all PVs. You will not achieve these
values until the first extent is made free (see pvmove(1M)) on all the
following disks:
/dev/rdsk/c8t0d1
"

Thanks
Highlighted
Acclaimed Contributor

Re: Extending EVA Vdisk.

So you need to free up the first PE using pvmove, see chapter "Physical extent renumbering (-n option) and pvmove enhancement"

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!   
Highlighted
Super Advisor

Re: Extending EVA Vdisk.

Hi,

but i also facing this error "

# pvmove -n /dev/vg01/lvol7 /dev/dsk/c8t0d1
pvmove: Not enough free physical extents available.
Logical volume "/dev/vg01/lvol7" could not be extended.
pvmove: Cannot find a free physical extent for logical extent 0
of logical volume "/dev/vg01/lvol7".
"

Thanks