Changing the characteristics of a LUN from the array side

Some arrays provide a way to change the properties of LUNs. For example, the EMC symmetrix array allows write-protected (Read-only), and read-write enabled LUNs. Before changing the properties of a LUN, you must remove the device from Veritas Volume Manager (VxVM) control.

To change the properties of a LUN

  1. If the device is part of a disk group, move the disk out of the disk group.
    # vxdg -g dgname rmdisk daname
  2. Remove the disk from the vxdisk list.

    In a cluster, perform this step from all of the nodes.

    # vxdisk rm da-name

    For example:

    # vxdisk rm eva4k6k0_0
  3. Change the device characteristics.
  4. Use SFCFSHA to perform a device scan. In a cluster, perform this command on all the nodes.
    # vxdisk scandisks
  5. Add the device back to the disk group.
    # vxdg -g dgname adddisk daname