Reconfigure/Convert tdev to full preallocated tdev
Hi, I need to reconfigure/convert an existing not preallocated tdev (already bound to a tpool) to a preallocated tdev in the same tpool and without any data lost. Is it possible?
The procedure should be online without any interruption of service.
there are multiple ways of doing the allocate however the symconfigure way is being depreciated in the latest version 8.0.1, If you're new to this then the habit is easy to break, for the rest of us need to adapt .
Unisphere will let you do it by simply right clicking the device once located in the UI and select begin allocate or start allocation.
thank you for hint on Unisphere, I foud it on my interface! But even here there are no info about the data integrity, so I relay on the same question as per Mohammed.
Is data preserved? Or, I loss something along these ways?
Data is preserved with the allocate, we are simply grabbing the rest of the tracks promised to the device and reserving them for future use. Likewise you can do a reclaim later too only tracks that are unwritten or contain all zero are reclaimed to the system this too preserves data.
Disruptive commands that will destroy data will insist the device be made not ready before hand.. But it's best to check if you're not sure.
M_Salem
213 Posts
2129
1
Posted January 7th, 2015 14:00
Hi Max,
Welcome to EMC Community...
You can fully preallocate a tdev,/tdev range by running this command:
symconfigure -sid xxx -cmd " start allocate on tdev xx:yy start_cyl=0 end_cyl=last_cyl;" -nop commit
The complete command syntax can be found in SE command reference guide page 126 (SE v7.6)
Starting allocation on thin devices:
start allocate on tdev < [: ] |
in DG | in SG >
start_cyl =
|
size = MB | GB | CYL>,
[allocate_type = persistent];
Hope this helps
Mohammed Salem