加载的Iscsi虚拟盘显示由于管理员设置的策略脱机的解决方案

cmd下面运行

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.

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值