Thursday, January 15, 2015

How to expand strip meta in vmax

1) Create devices to add to the meta -
symconfigure -sid 000 -cmd "create dev count=2, size=64gb cyl, emulation=FBA, config=TDEV;" prepare / commit
Consider AAAA and BBBB are newley created devices

2) Create devices to use for the BCV -
symconfigure -sid 000 -cmd "create dev count=2, size=64gb cyl, config=BCV+TDEV, emulation=FBA;" prepare / commit
Consider XXXX and YYYY are newley created devices
      
3) Form a meta from the BCV devices -
symconfigure -sid 000 -cmd "form meta from dev XXXX, config=striped, stripe_size=1920; add dev YYYY to meta XXXX;" prepare / commit

4) Bind this meta to a pool -
symconfigure -sid 000 -cmd "bind tdev XXXX to Pool <Pool_Name> preallocate size=ALL allocate_type = persistent;" prepare / commit

5) Expand the meta -
symconfigure -sid 000 -cmd "add dev AAAA:BBBB to meta ZZZZ, protect_data=TRUE, bcv_meta_head=XXXX;" prepare / commit

How to add device to existing srdf 

Here is what you do:
- SRDF/A remains active at all times.
- Create an RDF group for the purposes of initial synch up.
- Do the create pair to the synch-up RDF group.
- Synch the device in Adaptive copy mode.
- suspend the device with the -cons_exempt option
- perform a symrdf MOVEPAIR to move the new device into the SRDF/A group
- <set mode async> on the new device (not sure if this step is required from memory)
- symrdf resume the device
- The consistency exempt flag will go away automatically once the device is in srdf/a mode with no invalid tracks (in lock step with all other devices)
- now you can add the device into the device group.