Sie sind auf Seite 1von 3

Virtual Provisioning (commonly known as thin provisioning) allows for storage to

be
allocated and accessed on demand from a pool of storage servicing one or many
applications.
The Virtual Provisioning feature involves these concepts: thin devices (TDEV), D
ATA
devices (DATADEV), and thin pools (THIN).
1. Create TDAT's (Data Devices)
create dev count=5, size=100 GB, emulation=FBA, config=2-way-mir, attribu
te=datadev, disk_group=4;
create dev count=5, size=100 GB, emulation=FBA, config=RAID-5,data_member
_count=3, attribute=datadev,disk_group=4;

Value for data_member_count Protection Type
3 RAID5 (3+1)
7 RAID5 (7+1)
6 RAID6 (6+2)
14 RAID6 (14+2)
# symdev -sid xx list -datadev
2. Create ThinPool and Add TDATs to ThinPool
<create_pool.txt>

create pool Thin_FC_R1, type=thin, max_subs_percent=100;
symconfigure -sid xx -f create_pool.txt preview -nop
symconfigure -sid xx -f create_pool.txt commit -nop
or
symconfigure -sid xx -cmd "create pool Thin_FC_R1, type=thin, max_subs_p
ercent=100;" commit -nop


To add TDATs to ThinPool
------------------------
symconfigure -sid 34 -cmd "add dev 10E4:10E5 to pool Thin_FC_R1 type=thin, mem
ber_state=ENABLE;" preview -nop
Create and Add at same time:
---------------------------
symconfigure -sid xxx -cmd "create dev count=5, config=2-Way-Mir, attribute=dat
adev, emulation=FBA, size=78450 Cyl, in pool Thin_FC_R1, member_state=ENABLE;" c
ommit -nop
3. To List ThinPools
----------------
symcfg list -pools -thin -sid xxx
symcfg show -pool Thin_FC_R1 -thin -detail -all -sid xxx
symcfg list -pool -all -sid xxx
4. Create TDEV's
symconfigure -sid xxx -cmd "create dev count=8, size=23334 cyl, emulation=fba
, config=TDEV;" commit -nop
5. Bind TDEV's to ThinPool
symconfigure -sid xxx -cmd "bind tdev 0AB1:0AC0 to pool Thin_FC_R1;" commit -n
op
To List All Tdev's
-----------------
symdev list -sid xxx -tdev
symcfg -sid xxx list -tdev -detail
6. 5Adding additional data devices to a pool
----------------------------------------
symconfigure -sid xxx -cmd "add dev 12B1:12C0 to pool Thin_FC_R1 type=thin;" com
mit -nop
symconfigure -sid xxx -cmd "enable dev 12B1:12C0 in pool Thin_FC_R1 type=thin;"
commit -nop
7. Start and Stop Pool Rebalancig:
-----------------------------
symconfigure -sid xxx -cmd "start balancing on pool Thin_FC_R1;" preview -nop
symcfg show -sid xxx -pool Thin_FC_R1 -thin
symconfigure -sid xxx -cmd "Stopping pool rebalancing;" preview -nop
symcfg show -sid xxx -pool Thin_FC_R1 -thin
Note: The start balancing operation is only supported on an enabled thin pool.
8. Disabling Data Devices in a Thin Pool
----------------------------------------
symconfigure -sid xxx -cmd "disable dev 10EB in pool Thin_FC_R1, type=thin;"
commit -nop
Note: Disabling a data device changes its state from Enabled to Draining
or
symconfigure -sid xxx -cmd "deactivate dev 12B1:12C0 in pool Thin_FC_R1 type=
thin;" preview -nop
The deactivate command disables the DATA device without starting a drain. Thi
s operation puts the DATA device in either of following two states:
Deactivated If the DATA device has any used tracks. ** Devices in Deactivate s
tate will not allocate new tracks on them
Disabled If the DATA device has zero used tracks.
Now Start Pool Rebalancing:
---------------------------
symconfigure -sid xxx -cmd "start balancing on pool Thin_FC_R1;" preview -nop
symcfg show -sid xxx -pool Thin_FC_R1 -thin
symconfigure -sid xxx -cmd "Stopping pool rebalancing;" preview -nop
symcfg show -sid xxx -pool Thin_FC_R1 -thin

Das könnte Ihnen auch gefallen