码迷,mamicode.com
首页 > 其他好文 > 详细

server2008磁盘管理(由于管理员设置的策略 脱机)

时间:2014-07-08 12:24:15      阅读:158      评论:0      收藏:0      [点我收藏+]

标签:计算机技术

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.

server2008磁盘管理(由于管理员设置的策略 脱机),布布扣,bubuko.com

server2008磁盘管理(由于管理员设置的策略 脱机)

标签:计算机技术

原文地址:http://4881301.blog.51cto.com/4871301/1435132

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!