加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

新SAN迁移VM硬盘丢失及diskpat

(2012-04-20 23:53:31)
标签:

it

分类: 工作
    新的SAN(EMC VMAXe)到位,所有的数据全部得(旧的SAN:EMC Symatrix DMX)迁移过去。总的来讲,迁移还是顺利的。以下是几个小问题我们遇到的:

一、微软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              : No
Hidden                 : No
No Default Drive Letter: No
Shadow Copy            : No
If you see Read-only set to yes, run the next command

attrib vol clear readonly
新SAN迁移VM硬盘丢失及diskpat

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

    如果这个不能修复,那就只好把硬盘的ID该回成原来的。如果再不成,呵呵,可能只好用备份了。当然,XCOPY有时还是很好用的。

注意:在做所有的迁移之前,请不要忘记备份你的数据,同时用diskpart记录下所有要迁移一盘的ID!!

http://support.microsoft.com/kb/300415

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有