您的位置:首页 > 理论基础

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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐