Unable to Read the Disk - Error Code 5 - Access Denied
Issue
- Unable to add together Laissez passer-through Deejay in failover console to make Virtual Machine's(two VM's) High Available with Pass-Through Disk.
- Multiple VM's had pass-through deejay'due south and no upshot with any other.
- Event occurred afterward ane of my team fellow member removed pass-through disk post VM shutdown
- Able to add pass-through deejay without adding in to HA
Initial Troubleshooting
- 1 of my team fellow member removed laissez passer-through deejay and shutdown every bit part of planned maintenance activity – Post VM start , Disk went into Read-Simply mode in guest O.S.
- Due to less time, without VM shutdown I tried to remove laissez passer-through disk from VM ->Disk changing to Read-Only Mode
- As deejay changing to read-merely manner, assumed that disk need to continue in offline at Host level ->Therefore, I had only option to modify Disk to Turn-on Maintenance mode in failover console
- In Failover console-> Kept Disk into Maintenance Mode -> Added laissez passer-through deejay to VM in Failover Console -> Worked fine, Disk is in normal mode in Invitee O.South.
Keeping the Deejay into maintenance will not bear upon whatsoever functionality. Enabling of this way volition merely disables few Disk checks like File/Device System Check's , Is Alive, Look Alive etc. which performed by cluster service
Maintenance mode will remain on until one of the following occurs:
- You turn it off.
- The node on which the resource is running restarts or loses advice with other nodes (which causes failover of all resources on that node).
I have taken downtime every bit I need to Turnoff Disk Maintenance and resolve issue permanently
Side by side Troubleshooting:
- Removed VM & Disk from High Availability and Re-added to Failover Console -> No Luck
- Moved VM to different Host server's and tested the aforementioned steps to isolate issue from Host level ->No Luck
- Created Examination VM and executed like to isolate issue from VM level ->No Luck
- Tested by assigning Cluster disk'due south with different servers to isolate upshot from Deejay buying -> No luck
- Tried Pass-through Disk by keeping in Disk Maintenance mode ( Previous state) -> No Luck
- Removed VM & Disk from HA and added only in Hyper-5 Manager -> It is working without High Availability
Next Observations:
- Earlier adding to cluster , when making Disk online -> Disk automatically coming with drive alphabetic character by appearing in windows Explorer -> Bulldoze letter of the alphabet appearing every bit laissez passer-through deejay is not new(fresh), information technology is already using in production with drive letter of the alphabet then directly mounting.
- When adding Cluster Deejay in Failover panel (let's say in HOST1) -> Disk ownership changing to HOST2 afterwards adding to cluster -> This is the main difference which nosotros made with current and other VM'due south
- Received Error while adding Pass -through Disk to VM in Failover Console -> Mistake "An mistake occurred while updating the virtual machine configuration settings, Fault code:0x8007100c, Not Supported"
Involved Microsoft support to bank check this typical issue, below are root cause & solution for the subjected consequence
- The UI(Failover Console) was trying to check the permission due to which nosotros received an error on the deejay which nosotros are presenting as pass through as they are presented from SAN.
- When we add the disk as pass through to the VM it gets added with the MPIO path of the disk. Due to which when nosotros add it from the failover cluster manager to the VM information technology fails to update that path on the VM configuration file every bit it needs certain permissions, which information technology cannot come across equally we cannot add permission on the path \\?\mpio#deejay&ven_dgc&prod_raid_5&rev_0532#ane&7f6ac24}
Error:
'Virtual Auto "DBL' failed to start.
'DBL' failed to start. (Virtual machine ID XXXXXXXXXX)
'DBL' Synthetic SCSI Controller (Example ID XXXXXXX): Failed to Power on with Error 'General access denied fault' (0x80070005). (Virtual machine ID XXXXXXX)
'DBL': Hyper-5 Virtual Machine Management service Account does not have permission to open attachment '\\?\mpio#deejay&ven_dgc&prod_raid_5&rev_0532#i&}'. Mistake: 'Full general access denied error' (0x80070005). (Virtual machine ID XXXXXXX)
The highlighted is the path of the disk on which we cannot add the permission.
To forcefulness that path to get updated on the VM configuration file we have to run the PowerShell control.
update-clustervirtualmachineconfiguration -vmid XXXXXX-XXXX-XXXX
Above command updated the path succesfully in VM configuration, VM booted successfully
Error Screenshots
References:
How to add a Pass-through disk to a Highly Bachelor Virtual Automobile running on a Windows Server 2012 R2 Failover Cluster
Read-merely pass-through disk later you add together the disk to a highly available VM in a Windows Server 2008 R2 SP1 failover cluster
Source: http://ramprasadtech.com/pass-through-disk-addition-issue-in-cluster-disk-read-only-issue-after-adding-pass-through-disk/
0 Response to "Unable to Read the Disk - Error Code 5 - Access Denied"
Post a Comment