新SAN迁移VM硬盘丢失及diskpat

标签:
it |
分类: 工作 |
一、微软SQL数据库Cluster环境, 数据迁移后,每台机器必须要启动两次才能看到原来的硬盘。
二、VMware上的有些虚拟机硬盘,迁移过后变成了只读属性。服务起不来,以下是快速修复的步骤。
Right Click on the volume and Change Drive Letter and Paths
Click and assign drive letter
Open Command line (CMD)
diskpart
list vol
find your volume by drive letter
select vol # (replace # with Volume number)
attrib vol
Read-only
Hidden
No Default Drive Letter: No
Shadow Copy
If you see Read-only set to yes, run the next command
attrib vol clear readonly

list disk
select disk X
attrib disk
You should see some results like below
Current Read-only State : No
Read-only : No
Boot Disk : Yes
Pagefile Disk : Yes
Hibernation File Disk : No
Crashdump Disk : Yes
Clustered Disk : No
if the disk is set to ready only use the similar command for volume on your disk.
attrib disk clear readonly
Go back to disk management and right click on the volume and Change Drive Letter and Paths
Click Remove on the drive letter and Click OK
right click on the volume and Change Drive Letter and Paths
Click Add and add your drive letter again
Disk should be have write access
注意:在做所有的迁移之前,请不要忘记备份你的数据,同时用diskpart记录下所有要迁移一盘的ID!!
http://support.microsoft.com/kb/300415
前一篇:iis7配置授权和远程管理