1753450 Members
6244 Online
108794 Solutions
New Discussion юеВ

Increasing LUN size

 
Luke Morgan
Frequent Advisor

Increasing LUN size

I have an AutoRaid 12H.
All the LUNs have been allocated and two more discs have just been added.
I need to allocate the extra space.
LUN2 is only 3.5Gb in two logical volumes of informix raw space.
Informix accesses the raw space through soft links so I can move the
data and change the links and Informix wont mind. (I've done this before).
The 2lvols from vg03 will be moved to vg04.
I have the following procedure mapped.
Would you mind checking it and advising me if I've missed anything?
Thanks.

Luke

#vgcfgbackup /dev/vg03
#vgcfgbackup /dev/vg04
#vgdisplay /dev/vg04 (verify there is enough free extents to create the logical volumes required.)
#lvcreate -L 2048 /dev/vg04
#lvcreate -L 1024 /dev/vg04

#dd if=/dev/vg03/rlvol1 of=/dev/vg04/rlvol1 bs=512k
#dd if=/dev/vg03/rlvol2 of=/dev/vg04/rlvol11 bs=512k

Deactivate and remove volume group 3
#vgchange -a n /dev/vg03
#vgexport -v /dev/vg03

Delete LUN 2 (vg03)
#arraycfg -L 2 -d 0000000F4859
Create LUN 2 again, this time 40Gb
#arraycfg -L 2 -a 40G 0000000F4859

Create volume group
#mkdir /dev/vg03
#cd /dev/vg03
#mknod group c 64 0x030000
#vgcreate /dev/vg03 /dev/dsk/c1t0d2

Add logical volumes as required...
2 REPLIES 2
Geoff Wild
Honored Contributor

Re: Increasing LUN size

You may have to specify the PE size when doing the vgcreate as you are presenting a 40GB LUN:

vgcreate -s 16 -p 128 /dev/vg03 /dev/dsk/c1t0d2

Rgds....Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Luke Morgan
Frequent Advisor

Re: Increasing LUN size

Thanks Geoff.

Can I ask why you've suggested 128 as the max physical volumes argument?

Luke