Thursday, February 4, 2010

DiskPart - Removing ReadOnly Flag from Volume

This is the process I use to add Replay/Clone of SAN disk for recovery. This is only works if the SAN allows writing to your Replay/Clone.

  1. Right click on computer and goto Disk Management
  2. Right Click on Disk Management and Rescan Disks
  3. Right click on the Disk and goto propertiesimage
  4. Find Disk by LUN and Target IDimage
  5. Right Click on the volume and Change Drive Letter and Paths
  6. Click and assign drive letter
  7. Open Command line (CMD)
  8. type 'diskpart'
  9. type 'list vol'
  10. find your volume by drive letter
  11. image
  12. type 'select vol #' (replace # with Volume number)
  13. type 'attrib vol clear readonly' (Allows disk to)
  14. image
  15. Go back to disk management and right click on the volume and Change Drive Letter and Paths
  16. Click Remove on the drive letter and Click OK
  17. right click on the volume and Change Drive Letter and Paths
  18. Click Add and add your drive letter again
  19. Disk should be have write access

 

image

Error: The operation did not complete

Answer: Most likely ISCSI mappings or Disk must be removed and added again.

0 comments: