Hey guys,
I am currently working on a powershell module which would kinda give the same functionality that snapdrive would give us for lun management. (snapcenter would be a better option but this is not something which we have in place anyway).
Now, I have run into a problem where at a certain point i just want to disconnect a lun by using the powershell toolkit . I am using remove-nclunmap for this but this ofcourse has the effect that my host suddenly looses its connection to that particular disk.
And well, the host is not that happy about it as it seems that no diskrelated diskcommando's are possible untill the host validates the suprise removal of the disk.
I have also made sure that the volume is first dismounted from the system before removing the lunmap, but he keeps giving me a delay of 1-2 minutes before i can actually procceed with doing anything diskrelated.
Do you guys have an idea how to actually solve this problem?
Thanks in advance