
Dell Compellent Confidential HP-UX Best Practices 11i v2 and 11i v1
Page|21
Dynamic LUN Expansion (DLE) and Dynamic LUN Contraction
(DLC)
This section builds upon the example used in the previous sections. Please also familiarize yourself with
the HP documentation about the new “‘vgmodify” command before attempting this procedure on any
production system.
Using the vgmodify command to perform LVM Volume Group DLE and DLC
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01920387/c01920387.pdf
With HP-UX 11i v2, the vgmodify command is available with the application of patch PHCO_35524 or
later. Please reference your respective support channels via the HP Support Center to determine the
latest stable patch which may have superseded PHCO_35524. In addition, the vgmodify command on
HP-UX 11i v2 DOES NOT support the –C parameter (i.e. it lacks the ability to perform DLC).
Expanding the LUN
As you see below, we once again that the 30GB LUN as presented in previous examples.
Class I H/W Path Driver S/W State H/W Type Description
===============================================================================
disk 4 0/0/2/0.6.0 sdisk CLAIMED DEVICE SEAGATE ST318404LC
/dev/dsk/c1t6d0 /dev/rdsk/c1t6d0
<snip>
disk 6 1/4/0/0.206.2.255.0.0.0 sdisk CLAIMED DEVICE COMPELNTCompellent Vol
/dev/dsk/c27t0d0 /dev/rdsk/c27t0d0
disk 28 1/4/0/0.206.3.255.0.0.0 sdisk CLAIMED DEVICE COMPELNTCompellent Vol
/dev/dsk/c28t0d0 /dev/rdsk/c28t0d0
disk 29 1/4/0/0.206.4.255.0.0.0 sdisk CLAIMED DEVICE COMPELNTCompellent Vol
/dev/dsk/c29t0d0 /dev/rdsk/c29t0d0
disk 30 1/4/0/0.206.5.255.0.0.0 sdisk CLAIMED DEVICE COMPELNTCompellent Vol
/dev/dsk/c30t0d0 /dev/rdsk/c30t0d0
On the OS, the geometry of this LUN is shown below with the command.
Type: /etc/vx/diag.d/vxscsi –g /dev/rdsk/c27t0d0
geometry of /dev/rdsk/c27t0d0: nhead=8 nsect=158 ncyl=49774 sectsz=512 rpm=15000 cap=62914560
(where 62914560 x 512KB ~ 30GB LUN)
We are now going to attempt to expand this 30GB LUN to 50GB in size. On the Dell Compellent Storage
Center, locate the LUN in the “Storage -> Volumes” tree. We will the right-Click on the LUN and choose
the “Expand Volume” option. We will then define the new size for the LUN (in this case 50GB) then
left-Click on the “Expand Volume Now” button.
Running the “vxscsi” command once more, you will notice that the OS has detected the geometry
change of the LUN immediately, as shown in RED below.
Type: /etc/vx/diag.d/vxscsi –g /dev/rdsk/c27t0d0
Komentáře k této Příručce