beautypg.com

Unbinding a lun, Changing lun ownership, Unbinding a lun changing lun ownership – HP Surestore Disk Array 12h and FC60 User Manual

Page 293

background image

Managing the Disk Array Using Array Manager 60 293

M

a

na
ging

the

Di
sk
Array

on HP-UX

Unbinding a LUN

Unbinding a LUN makes its capacity available for the creation of a new LUN. All disks
assigned to the LUN are returned to the Unassigned disk group when the LUN is unbound.

C

AUTION

All data on a LUN is lost when it is unbound. Make sure you backup any
important data on the LUN before unbinding it.

Unbinding a LUN will have the same impact on the host as removing a disk.

Before unbinding a LUN, check your operating system documentation for
any additional information or steps that may be required after unbinding a
LUN.

To unbind a LUN, type:

amcfg -D [-force]

LUN - number assigned to the LUN you want to unbind

The

-force option is required to delete LUN 0. LUN 0 may only be deleted if a UTM LUN

has been enabled via NVSRAM setting. If UTM is disabled, LUN 0 is required for the
SCSI command path. The UTM LUN itself may not be deleted using this command.

Command Example

The following example unbinds LUN 5 on disk array rack_1.

amcfg -D 5 rack_1

Changing LUN Ownership

When binding a LUN, one of the disk array controllers is identified as the owner of the
LUN. It is possible to change the ownership of a bound LUN dynamically - that is, without
unbinding and rebinding the LUN. You may want to change the ownership of a LUN if you
notice an imbalance of I/O loading between controllers. Controller ownership will change
automatically if a failure occurs in the primary I/O path to the LUN.