Managed OpenStack
Latest
Frequently Asked Questions
Solution
How To
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Windows Disks go Offline After Reboot
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
Volumes attached to a running Windows guest becomes offline after reboot. The following warning is observed in the Windows disk management utility.
xxxxxxxxxx"The disk is offline because of policy set by an administrator"Environment
- Platform9 Managed OpenStack - All versions.
- Nova
Cause
SAN policy has been introduced in Windows to protect shared disks accessed by multiple servers. By default, Windows machines will have the SAN policy set to be " Offline Shared", thus irrespective of the libvirt/ qemu or hardware version you may see this issue.
Resolution
- Open a command prompt from within the virtual machine.
- Run the diskpart utility by running the command:
xxxxxxxxxxdiskpart.exe- To display the SAN policy, run the command:
xxxxxxxxxxdiskpart> sanSAN Policy: Offline Shared- Change the SAN policy to be online with the command:
xxxxxxxxxxdiskpart> san policy=OnlineAllDiskpart successfully changed the SAN policy for the current operating system.- To get 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- Select Disk 1 (currently offline disk) with the command:
xxxxxxxxxxdiskpart>select disk 1Disk 1 is now the selected disk- Clear the read-only attribute for Disk 1 with the command:
diskpart>attributes disk clear readonlydisk attributes cleared successfullydiskpart>attributes diskcurrent read-only state: noboot disk: nopagefile disk: nohibernation file disk: nocrashdump disk: noclustered disk: no- Bring Disk 1 online with the command:
xxxxxxxxxxdiskpart>online diskdiskpart successfully onlined the selected diskVariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message