景安快云服务器管理平台创建备份后有时可能导致硬盘脱机,这个要如何处理呢?几行命令就可以搞定!使用DISKPART.exe命令 解除策略
1.运行:cmd
2.输入:DISKPART.exe
3.DISKPART> san
4.DISKPART> san policy=onlineall
5.DISKPART>list disk
6.DISKPART> select disk 1
7.DISKPART>attributes disk clear readonly
8.DISKPART>online disk
附解决方案英文描述:
open a command prompt and type “diskpart.exe”.
You will now receive a diskpart-prompt:
Diskpart>
Now type “san”.
This will provide you with the current configured SAN policy:
SAN Policy : Offline Shared
In the diskpart-prompt, type “san policy=OnlineAll”.
This will result in the following message:
Diskpart successfully changed the SAN policy for the current operating system.
Now type “list disk”,
which will give this message:
Disk ### Status Size Free Dyn Gpt
Disk 0 Online 30 GB 0 B
Disk 1 Offline 50 GB 1024 KB
In my case, disk 1 was offline so I typed “select
disk 1” which provided:
Disk 1 is now the selected disk
Now type “attributes disk clear readonly”.
Disk attributes cleared successfully.
And to check if all the settings are now correct, type “attributes
disk”.
This will give an output something like:
Current Read-only State : No
Read-only : No
Boot Disk : No
Pagefile Disk : No
Hibernation File Disk : No
Crashdump Disk : No
Clustered Disk : No
After the last check has been successful, type “online
disk” to bring the disk online.
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。