VPSMATE

  • HOME
  • NEWS
  • VPS
  • DEDICATED
  • ARCHIVES
  • GoDaddy
  • SCRIPT
  • TOOLS
    • Traceroute
    • Benchmark
    • Useful Sites
  • Themes
  • GFW
VPSMATE
VPS COUPON & PROMOS | VPS & DEDICATED SERVERS OFFERS | VPS REVIEWS
  1. Main page
  2. Tips
  3. Main content

[VMware]Unable to initialize a second virtual disk within Windows 2008 / Windows 2008 R2 / Windows 2012

04/07/2014 7933hotness 0likes 0comments

vmware_san_disk_offline1

Unable to initialize a second virtual disk within Windows 2008 or Windows 2008 R2 (2000767)

Symptoms

  • After adding virtual disk on Windows 2008 and Windows 2008 R2, you cannot make disk online
  • Windows 2008 and Windows 2008 R2 virtual machine is configured with Virtual Hardware version 7
  • You see this error within Windows under Disk Management:The disk is offline because of policy set by an administrator

Resolution

To resolve this issue:
  1. Open a command prompt from within the virtual machine.
  2. To run the Diskpart utility, run the command:diskpart.exe 
  3. To display the SAN policy, run the command:diskpart> sanSAN Policy: Offline Shared
  4. Change the SAN policy to be online with the command:diskpart> san policy=OnlineAllDiskpart successfully changed the SAN policy for the current operating system.
  5. To get a summary information about each disk, run the command:diskpart>list diskDisk Status Size Free Dyn Gpt
    --------------- ------------------ ----------- ----------

    Disk 0 Online 40 GB 0 B
    *Disk 1 Offline 60 GB 1024 KB

  6. Select Disk 1 (currently offline disk) with the command:diskpart>select disk 1Disk 1 is now the selected disk

    Note: From this point, all diskpart commands apply to this disk.

  7. Clear the read-only attribute for the Disk 1 with the command:diskpart>attributes disk clear readonlydisk attributes cleared successfully

    To check that the read-only attribute has been cleared, run the command:

    diskpart>attributes disk

    current read-only state: no
    boot disk: no
    pagefile disk: no
    hibernation file disk: no
    crashdump disk: no
    clustered disk: no

  8. Bring Disk 1 online with the command:diskpart>online diskdiskpart successfully onlined the selected disk

    The disk should now be able to be assigned a drive letter and be mounted.

Related

Tag: Nothing
Last updated:04/07/2014

kyaky

This person is a lazy dog and has left nothing

Like
< Last article
Next article >

Comments

Cancel

This site uses Akismet to reduce spam. Learn how your comment data is processed.

COPYRIGHT © 2021 vpsmate.net. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang