ADVERTISEMENT

symdg commands

The symdg command performs various operations on Symmetrix Device Group like creation, deletion and importing.

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

  • symdg -g MyDg -sid 1234 addall -devs AAA,BBB,CCC,DDD:DDF

    Add devices AAA,BBB,CCC,DDD:DDF to devicegroup MyDg
    Copied
  • symdg -g MyDg -sid 1234 rmall -devs AAA,BBB,CCC,DDD:DDF

    Remove devices AAA,BBB,CCC,DDD:DDF from devicegroup MyDg
    Copied
  • symdg -g MyDg remove ld DEV002

    Remove logical device DEV002 from device group MyDG.
    Copied
  • symdg -sid 1234 -g mydg move DEV002 yourdg

    Move the device DEV003 from mydg to yourdg( both DGs must be in same RDFG.
    Copied
  • symdg -sid 1234 -g mydg moveall yourdg

    Move all the devices from mydg to yourdg( both DGs must be in same RDFG.
    Copied
  • symdg -sid 1234 export mydg -f mydgfile.txt

    Export mydg to file mydgfile.txt.
    Copied
  • symdg -sid 1234 exportall -f mydgfile.txt

    Export all device groups created in array 1234 to file mydgfile.txt.
    Copied
  • symdg -sid 1234 import mydg -f mydgfile.txt

    Create mydg from the file mydgfile.txt which created earlier using export option.
    Copied
  • symdg -sid 1234 importall -f mydgfile.txt

    Create all device groups from the file mydgfile.txt which created earlier using exportall option.
    Copied
  • symdg -sid 1234 list

    List device groups which include the devices from array 1234.
    Copied
  • symdg -sid 1234 list -v

    This will list all the devicegroups belongs to 1234 , and also the devices in it. This is equal to "show" each device groups in the array.
    Copied
  • symdg create mydg -type rdf1

    Create device group mydg of rdf1 type .
    Copied
  • symdg delete mydg -force

    Delete device group mydg.
    Copied
  • symdg rename mydg yourdg

    Renames the mydg to yourdg.
    Copied
  • symdg show mydg

    Shows members/details of mydg.
    Copied

[ view all commands ]