Search This Blog

Sunday, April 6, 2014

Deporting of a disk group

Deporting of a disk group

What is a deported disk group?
  • The disk group and its volumes are unavailable.
  • The disk cannot be removed
  • The disk group cannot be accessed until it is imported

Before deporting a disk group:
  • Unmount file systems
  • Stop Volumes

When you deport a disk group, you can specify:
  • A new host
  • A new disk group name

vxdiskadm:

“Remove access to (deport) a disk group”

CLI:

vxdg deport

Syntax: #vxdg deport <dg_name>

Before Deporting:
# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
IBM_VSCSI0_1 auto:LVM        -            -            LVM
TagmaStore-USP0_1 auto:cdsdisk    disk01       markdg       online
TagmaStore-USP1_0 auto:cdsdisk    disk03       markdg       online

# vxdg deport markdg

After the Deport:
# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
IBM_VSCSI0_1 auto:LVM        -            -            LVM
TagmaStore-USP0_1 auto:cdsdisk    -            -            online
TagmaStore-USP1_0 auto:cdsdisk    -            -            online

To deport and rename a disk group:

Syntax: vxdg –n new_name deport old_name

# vxdg –n newerdg deport newdg

To deport disk-group to a specific hostname:

Disks are locked to a host and not usable after deport
Syntax: #vxdg –h hostname deport <dg_name>


# vxdg –h server1 deport newdg

No comments:

Post a Comment