An attached disk is not recognized in a Windows virtual machine
Solution
-
Try the following steps:
-
Open Disk Management and bring the attached disk online.
-
Initialize the disk, then format and partition it. The disk is recognized successfully.
-
Open a DOS prompt in the virtual machine and run the following commands in sequence to configure the disk offline prevention policy:
DOS> DISKPART DISKPART> san DISKPART> san policy=onlineall DISKPART> exit