ADVERTISEMENT

symsg commands

The symsg command can be used to create, list, show, export and copy Storage Groups (SG) in a Symmetrix array.

Below list contains some of the most useful symsg command examples.

  • symsg -sid 1234 -sg MyStorageGroup add dev AAAA

    Add a single device to MyStorageGroup
    Copied
  • symsg -sid 1234 -sg MyStorageGroup add sg ChildSG1,ChildSG2,ChildSG3

    Add child Storage Groups to the parent SG MyStorageGroup.
    Copied
  • symsg -sid 1234 -sg MyStorageGroup add sg ChildStorageGroup1

    add ChildStorageGroup1 to the parent SG MyStorageGroup
    Copied
  • symsg -sid 1234 -sg MyStorageGroup addall -devs AAAA:AAAF,BBBB

    Add more than one devices to MyStorageGroup.
    Copied
  • symsg -sid 1234 -sg MyStorageGroup compress

    Start data compression on thin devices in MyStorageGroup
    Copied
  • symsg -sid 1234 -sg MyStorageGroup compress -stop

    Stop data compression on thin devices in MyStorageGroup
    Copied
  • symsg -sid 1234 -sg MyStorageGroup not_ready

    Change the status of all the devices in SG 'MyStorageGroup' from READY to NOT READY.
    Copied
  • symsg -sid 1234 -sg MyStorageGroup ready

    Set the status of all devices in SG 'MyStorageGroup' to READY.
    Copied
  • symsg -sid 1234 -sg MyStorageGroup remove dev AAAA

    Remove a single device from MyStorageGroup
    Copied
  • symsg -sid 1234 -sg MyStorageGroup remove sg ChildSG1,ChildSG2,ChildSG3

    Remove child Storage Groups from the parent SG MyStorageGroup.
    Copied
  • symsg -sid 1234 -sg MyStorageGroup remove sg ChildStorageGroup1

    remove ChildStorageGroup1 from the parent SG MyStorageGroup
    Copied
  • symsg -sid 1234 -sg MyStorageGroup rmall -devs AAAA:AAAF,BBBB

    Remove more than one devices from MyStorageGroup.
    Copied
  • symsg -sid 1234 -sg MyStorageGroup rw_enable

    Write enable all the devices in SG 'MyStorageGroup'
    Copied
  • symsg -sid 1234 -sg MyStorageGroup set -bw_max 500

    Set the maximum HOST I/O limit in MB per second to maximum 500MB/s for MyStorageGroup .( can be set from from 1 to 100000 MB/s )
    Copied
  • symsg -sid 1234 -sg MyStorageGroup set -bw_max NOLIMIT

    Set the maximum HOST I/O limit in MB per second to UNLIMITED MB/s for MyStorageGroup .
    Copied
  • symsg -sid 1234 -sg MyStorageGroup set -iops_max 1000

    Set the maximum HOST I/O limit in I/O per second to maximum 1000 IO/second for MyStorageGroup .( can be set from 100 to 100000 IO/sec )
    Copied
  • symsg -sid 1234 -sg MyStorageGroup set -iops_max NOLIMIT

    Set the maximum HOST I/O limit in I/O per second to UNLIMITED IO/second for MyStorageGroup .
    Copied
  • symsg -sid 1234 -sg MyStorageGroup set -nosrp

    Unset the SRP attached to the Storage Group
    Copied
  • symsg -sid 1234 -sg MyStorageGroup set -srp SRP_1

    set SRP_1 on MYStorageGroup
    Copied
  • symsg -sid 1234 -sg MyStorageGroup write_disable

    Write Disable all the devices in SG 'MyStorageGroup'
    Copied
  • symsg -sid 1234 -sg OldSG move AAAA NewSG

    Move a devices from Storage Group "OldSG" to another Storage Group called "NewSG" . We have to use "-force" , if "OldSG" part of any Masking View.
    Copied
  • symsg -sid 1234 -sg OldSG move AAAA NewSG -force

    Move the device 'AAAA' from OldSG to NewSG. OldSG is a part of masking view. This will not remove the mapping from the ports associated with Masking view part of OldSG.
    Copied
  • symsg -sid 1234 -sg SG_Server bind -pool MyThinPool

    Bind all the thin devices in SG_Server to the MyThinPool.
    Copied
  • symsg -sid 1234 -sg SG_Server rebind -pool MyThinPool

    Rebind all the thin devices in SG_Server from the binded pool to the MyThinPool.
    Copied
  • symsg -sid 1234 -sg SG_Server unbind

    Unbind all the devices in SG_Server from its bounded pools.
    Copied
  • symsg -sid 1234 -sg SG_Server1 set -noslo

    Remove the assigned SLO for a SG_server1.
    Copied
  • symsg -sid 1234 -sg SG_Server1 set -slo Gold

    Set the Service Level Objective( SLO) for SG_Server1 to Gold.
    Copied
  • symsg -sid 1234 -sg SG_Server1 set -slo Gold -wl OLTP

    Set the SLO for storage group to Gold and Workload type as OLTP.
    Copied
  • symsg -sid 1234 -sg SG_Server_GOLD -devs AAAA:AAAF,BBBB moveall SG_Server_BRONZE

    Move mutiple devices from storage group "SG_Server_GOLD" to another storage group "SG_Server_BRONZE".We have to use "-force" if "SG_Server_GOLD" part of any other masking view.
    Copied
  • symsg -sid 1234 create MyStorageGroup

    Create a new SG,'MySrorageGroup' in Vmax Array 1234
    Copied
  • symsg -sid 1234 delete MySrorageGroup -force

    Deletes the SG 'MySrorageGroup' which contains devices but not associated with any Masking View.
    Copied
  • symsg -sid 1234 delete MyStorageGroup

    Deletes the empty SG 'MySrorageGroup' from 1234.The SG should not be associated with any Masking View.
    Copied
  • symsg -sid 1234 export MyStorageGroup -file mystoragegroup.txt

    Export the device information from SG to the text file.
    Copied
  • symsg -sid 1234 exportall -storagegroups.txt

    exports the device information from all the SGs from 1234 array to the text file storagegroups.txt
    Copied
  • symsg -sid 1234 import MyStorageGroup -file MystorageGroup.txt

    Create SG 'MyStorageGroup' from the earlier exported file MystorageGroup.txt.
    Copied
  • symsg -sid 1234 importall -file MystorageGroups.txt

    Create storage groups from the earlier exported file MystorageGroup.txt.Storage Group names will be created according to the names in text file.
    Copied
  • symsg -sid 1234 list

    List all the storage groups in Vmax array 1234 along with informations like whether the SG a member of Masking View and is a part of FAST Policy.
    Copied
  • symsg -sid 1234 list -by_SLO -detail

    List all the Storage Groups in VMAX3 1234 sorted with associated SLO and underlying SRP.
    Copied
  • symsg -sid 1234 list -by_SRP -detail

    List all the Storage Groups in VMAX3 1234 sorted with underlying SRP and associated SLO.
    Copied
  • symsg -sid 1234 list -v

    the -v options displays the member devices of Storage Groups along with other details given by list.
    Copied
  • symsg -sid 1234 rename MyStorageGroup MyNewStorageGroup

    Rename SG MyStorageGroup to MyNewStorageGroup
    Copied
  • symsg -sid 1234 sg2dg MyStorageGroup MyDg -R1

    Create a new device group MyDg which contains all the RDF1 devices from Storage Group MyStorageGroup.
    Copied
  • symsg -sid 1234 show MyStorageGroup

    Shows the devices in a Storage Group along with its Masking View and FAST Policy association status.
    Copied

[ view all commands ]