Saturday, May 11, 2013
VMAX virtual provisioning
Step: 1 Thin device creation
create dev count=8, size=1150, config=TDEV, emulation=FBA;
Place the following in a command file "device" and use the following syntax to commit
symconfigure -sid 1234 -file device commit -nop
Display above created thin device, you will find it in NR state until bound
symdev list -tdev -unbound -sid 1234;
Step: 2 Data device creation
create dev count=8, size=1150, config=2-Way-Mir, emulation=FBA, attribute=datadev;
Place the following in a command file "datadevice" and use the following syntax to commit
symconfigure -sid 1234 -file datadevice commit -nop
Display above created data device
symdev list -datadev
Step: 3 Thin pool creation
symconfigure -sid 1234 -cmd "create pool P1 type=thin;" commit -nop
Step: 4 Add data devices to pool
Data device should be enabled before being used
symconfigure -sid 1234 -cmd "add dev 1A1:1A5 to pool P1 type=thin, member_state=ENABLE;" commit -nop
Display thin pool
symcfg list -pool -thin -sid 1234
symcfg show -pool -thin -sid 1234
Step: 5 Bind thin devices to thin pool
symconfigure -sid 1234 -cmd "bind tdev 1A1:1A5 to pool P1;" commit -nop
Step: 6 Map and Mask can be done by adding these devices to a storage group
symaccess -sid 1234 -name SG -type storage add devs 1A1:1A5 ;
Done!
Step: 7 Oh wait! What if I want to pre-allocate space?
May be done during the binding step or afterwards, lets preallocate 200MB for first two TDEV's in pool
start allocate on tdev 1A1:1A2 start_cyl=0 size=200 MB;
Place the following in a command file "prealloc" and use the following syntax to commit
symconfigure -sid 1234 -f prealloc commit -op
Display detailed info of the above creation
symcfg show -pool P1 -thin -detail -sid 1234
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment