server2008磁盘管理(由于管理员设置的策略 脱机)
2014-07-06 23:30
253 查看
DISKPART.exe
DISKPART> san
SAN Policy : Offline Shared
Once you checked the applied policy you can set the disk online, as follow:
DISKPART> san policy=onlineall
Diskpart successfully changed the SAN policy for the current operating system
DISKPART>list disk
Disk ### Status Size Free Dyn Gpt
Disk 0 Online 30 GB
Disk 1 Offline 50 GB
Disk 2 Offline 80 GB
Disk 3 Offline 250 GB
Disk 4 Offline 50 GB
In my case, disk 1 till 4 was offline so I had to repeat the following steps several times.
Select a offline disk
DISKPART> select disk 1
Disk 1 is now the selected disk
DISKPART>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 this:
Current Read-only State : No
Read-only : No
Boot Disk : No
Pagefile Disk : No
Hibernation File Disk : No
Crashdump Disk : No
Clustered Disk : No
Now type “online disk” to bring the disk online.
If Clustered disk is set to YES. You have to stop the nodes. After that you are allowed to do the action above.
DISKPART> san
SAN Policy : Offline Shared
Once you checked the applied policy you can set the disk online, as follow:
DISKPART> san policy=onlineall
Diskpart successfully changed the SAN policy for the current operating system
DISKPART>list disk
Disk ### Status Size Free Dyn Gpt
Disk 0 Online 30 GB
Disk 1 Offline 50 GB
Disk 2 Offline 80 GB
Disk 3 Offline 250 GB
Disk 4 Offline 50 GB
In my case, disk 1 till 4 was offline so I had to repeat the following steps several times.
Select a offline disk
DISKPART> select disk 1
Disk 1 is now the selected disk
DISKPART>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 this:
Current Read-only State : No
Read-only : No
Boot Disk : No
Pagefile Disk : No
Hibernation File Disk : No
Crashdump Disk : No
Clustered Disk : No
Now type “online disk” to bring the disk online.
If Clustered disk is set to YES. You have to stop the nodes. After that you are allowed to do the action above.
相关文章推荐
- Win 2008 R2远程安装之后,硬盘变成脱机状态(由于管理员设置的策略,该磁盘处于脱机状态)
- 问题及解决方案:Win 2008 R2——由于管理员设置的策略,该磁盘处于脱机状态
- Windows 2008 - 由于管理员设置的策略,该磁盘处于脱机状态
- 由于管理员设置的策略,该磁盘处于脱机状态-Win 2008 R2
- windows2008新增硬盘无法创建分区,提示“由于管理员设置的策略 该磁盘处于脱机状态”
- 由于管理员设置的策略,该磁盘处于脱机状态
- 远程安装之后,硬盘变成脱机状态(由于管理员设置的策略,该磁盘处于脱机状态)[2014 06 12 16:19:00]
- 虚拟机添加硬盘后,提示由于管理员设置的策略,该磁盘属于脱机状态解决方案
- 由于达到了总登录时间限制,远程回话被结束。这个限制是服务器管理员或网络策略设置的。
- win server 2008 R2“由于没有远程桌面授权服务器可以提供许可证,远程会话被中断。请跟服务器管理员联系。”
- server2008设置安全策略->使用简单密码
- Windows Server 2008 R2组策略设置计算机配置和用户配置
- 安装VmwareServer遇到“系统管理员设置了系统策略 禁止进行此安装”的解决办法
- Windows 2008 密码设置策略
- server2008 UAC设置问题
- office2003安装提示 “系统管理员设置了系统策略禁止安装”
- vista/win7/server 2008 启动项的设置(For Windbg)
- 安装office2003的时候提示(系统管理员设置了系统策略,禁止进行此安装)的解决办法
- 取消Windows Server 2008管理员密码&设置自动登录(转至csdn)
- 安装或更新Office2003时提示“系统管理员设置了系统策略禁止进行此安装”