This post is more than 5 years old
211 Posts
0
1255
Can I reassign mapped but not masked devices?
I used the following command and found there are quite some devices being mapped but not masked:
symaccess -sid 123 list no_assignment
Can I reassign these devices, meaning unmap them and remap them to other ports, and mask them to hosts? are there anything else to check before I reassign them?
Thank you!
dynamox
2 Intern
2 Intern
•
20.4K Posts
0
December 31st, 2013 10:00
yep, create a device group
symdg create reclaimdg
then add devices to it
symld -g reclaimdg add dev # -sid 123
and then simply run "symstat -g reclaimdg -i 5" and watch for I/O column ..should be all 0s.
Happy New Year to you as well !
dynamox
2 Intern
2 Intern
•
20.4K Posts
0
December 27th, 2013 15:00
when i reclaim devices i like to make sure there is no I/O going to them. I would add these devices to a device group and run symstat for a while to make sure you don't see a single I/O.
Ekaki
40 Posts
0
December 28th, 2013 07:00
I agree with dynamox that you need to make sure there is no I/O transfer on that host, and that device dosent contain any old data.
From ECC also you can do those action.like assign unassigned,map vol, unmap vol;mask and unmasked volume.or device.
to do your requirement just first unmap those device.(right click on those device and click on unmap ) Now you select those device which you need to unmap,and right click on unmap.It may take little bit time.after that u can assign those device to other FA ports.but make sure zoning has done .
emcmagic
211 Posts
0
December 31st, 2013 10:00
Thank you!
To make sure all 0's for I/O column, what is the difference between running symstat on the device group, and on an individual device?
emcmagic
211 Posts
0
December 31st, 2013 10:00
I can think of is to run the following command:
symstat-type REQUEST -sid 123 -i 60 -c 100
Then check out I/O/SEC or KB/SEC, they all should be 0 on the device. Is this a way to make sure there are no I/O's on a device?
Could you please explore it more on your idea of adding devices to a device group, and then run symstat?
Happy New Year!
dynamox
2 Intern
2 Intern
•
20.4K Posts
1
December 31st, 2013 11:00
convenience, instead of running 3 symstat command for 3 individual devices ..just group them and run symstat against device group.